aboutsummaryrefslogtreecommitdiff
path: root/src/zen-test/xmake.lua
diff options
context:
space:
mode:
Diffstat (limited to 'src/zen-test/xmake.lua')
-rw-r--r--src/zen-test/xmake.lua19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/zen-test/xmake.lua b/src/zen-test/xmake.lua
new file mode 100644
index 000000000..e3a3757a2
--- /dev/null
+++ b/src/zen-test/xmake.lua
@@ -0,0 +1,19 @@
+-- Copyright Epic Games, Inc. All Rights Reserved.
+
+target("zen-test")
+ set_kind("binary")
+ set_group("tests")
+ add_headerfiles("**.h")
+ add_files("*.cpp")
+ add_files("zen-test.cpp", {unity_ignored = true })
+ add_deps("zencore", "zenhttp", "zenutil")
+ add_deps("zen", {inherit=false})
+ add_deps("zenserver", {inherit=false})
+ add_deps("zentest-appstub", {inherit=false})
+ add_packages("llhttp")
+
+ if is_plat("macosx") then
+ add_ldflags("-framework CoreFoundation")
+ add_ldflags("-framework Security")
+ add_ldflags("-framework SystemConfiguration")
+ end