aboutsummaryrefslogtreecommitdiff
path: root/src/zenhorde/xmake.lua
diff options
context:
space:
mode:
Diffstat (limited to 'src/zenhorde/xmake.lua')
-rw-r--r--src/zenhorde/xmake.lua22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/zenhorde/xmake.lua b/src/zenhorde/xmake.lua
new file mode 100644
index 000000000..48d028e86
--- /dev/null
+++ b/src/zenhorde/xmake.lua
@@ -0,0 +1,22 @@
+-- Copyright Epic Games, Inc. All Rights Reserved.
+
+target('zenhorde')
+ set_kind("static")
+ set_group("libs")
+ add_headerfiles("**.h")
+ add_files("**.cpp")
+ add_includedirs("include", {public=true})
+ add_deps("zencore", "zenhttp", "zencompute", "zenutil")
+ add_packages("asio", "json11")
+
+ if is_plat("windows") then
+ add_syslinks("Ws2_32", "Bcrypt")
+ end
+
+ if is_plat("linux") or is_plat("macosx") then
+ add_packages("openssl")
+ end
+
+ if is_os("macosx") then
+ add_cxxflags("-Wno-deprecated-declarations")
+ end