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

target("zenserver-test")
    set_kind("binary")
    set_group("tests")
    add_headerfiles("**.h")
    add_files("*.cpp")
    add_files("zenserver-test.cpp", {unity_ignored  = true })
    add_deps("zencore", "zenremotestore", "zenhttp", "zencompute", "zenstore")
    add_deps("zenserver", {inherit=false})
    add_deps("zentest-appstub", {inherit=false})
    add_packages("http_parser")

    if has_config("zennomad") then
        add_deps("zennomad")
    end

    if is_plat("macosx") then
        add_ldflags("-framework CoreFoundation")
        add_ldflags("-framework Security")
        add_ldflags("-framework SystemConfiguration")
    end