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

target("zentest-appstub")
    set_kind("binary")
    set_group("tests")
    add_headerfiles("**.h")
    add_files("*.cpp")
    add_deps("zencore")
    add_packages("vcpkg::gsl-lite") -- this should ideally be propagated by the zencore dependency
    add_packages("vcpkg::mimalloc")

    if is_os("linux") then
        add_syslinks("pthread")
    end

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