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

target('zenutil')
    set_kind("static")
    set_group("libs")
    add_headerfiles("**.h")
    add_files("**.cpp")
    add_includedirs("include", {public=true})
    add_deps("zencore", "zenhttp", "spdlog")
    add_deps("cxxopts")
    add_deps("robin-map")

    if is_plat("linux") then
        add_includedirs("$(projectdir)/thirdparty/systemd/include")
        add_linkdirs("$(projectdir)/thirdparty/systemd/lib")
        add_links("systemd")
        add_links("cap")
    end