diff options
| author | Stefan Boberg <[email protected]> | 2025-08-26 13:45:54 +0200 |
|---|---|---|
| committer | Stefan Boberg <[email protected]> | 2025-08-26 13:45:54 +0200 |
| commit | f4c029e6accbf8df3496e28ba9e07eed4cbde851 (patch) | |
| tree | ee3329f981e3c0b9609c90cfef4b610ffd2c4223 /src/zenmaster/xmake.lua | |
| parent | Merge pull request #139 from ue-foundation/de/zen-service-command (diff) | |
| download | zen-f4c029e6accbf8df3496e28ba9e07eed4cbde851.tar.xz zen-f4c029e6accbf8df3496e28ba9e07eed4cbde851.zip | |
zenmaster + zenmaster-test skeletons
Diffstat (limited to 'src/zenmaster/xmake.lua')
| -rw-r--r-- | src/zenmaster/xmake.lua | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/src/zenmaster/xmake.lua b/src/zenmaster/xmake.lua new file mode 100644 index 000000000..52385a490 --- /dev/null +++ b/src/zenmaster/xmake.lua @@ -0,0 +1,31 @@ +-- Copyright Epic Games, Inc. All Rights Reserved. + +target("zenmaster") + set_kind("binary") + add_headerfiles("**.h") + add_files("**.cpp") + add_files("zenmaster.cpp", {unity_ignored = true }) + add_deps("zencore", "zenhttp", "zenstore", "zenutil") + add_includedirs(".") + set_symbols("debug") + + if is_mode("release") then + set_optimize("fastest") + end + + if is_plat("windows") then + add_files("zenmaster.rc") + add_ldflags("/subsystem:console,5.02") + add_ldflags("/LTCG") + add_links("crypt32", "wldap32", "Ws2_32", "Shlwapi") + add_links("dbghelp", "winhttp", "version") -- for Sentry + end + + if is_plat("macosx") then + add_ldflags("-framework CoreFoundation") + add_ldflags("-framework Foundation") + add_ldflags("-framework Security") + add_ldflags("-framework SystemConfiguration") + end + + add_packages("vcpkg::cpr", "vcpkg::cxxopts", "vcpkg::mimalloc", "vcpkg::fmt") |