aboutsummaryrefslogtreecommitdiff
path: root/src/zenhttp/xmake.lua
blob: 78876d21b0e29247fad319823d123e9629659763 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
-- Copyright Epic Games, Inc. All Rights Reserved.

target('zenhttp')
    set_kind("static")
    set_group("libs")
    add_headerfiles("**.h")
    add_files("**.cpp")
    add_files("servers/httpsys.cpp", {unity_ignored=true})
    add_includedirs("include", {public=true})
    add_deps("zencore", "zentelemetry", "transport-sdk", "asio", "cpr")
    add_packages("http_parser", "json11")
    add_options("httpsys")

    if is_plat("linux") then
        add_syslinks("dl") -- TODO: is libdl needed?
    end