-
-
Notifications
You must be signed in to change notification settings - Fork 41
Expand file tree
/
Copy pathxmake.lua
More file actions
37 lines (30 loc) · 972 Bytes
/
Copy pathxmake.lua
File metadata and controls
37 lines (30 loc) · 972 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
set_project("stfc-community-mod")
includes("xmake/options.lua")
includes("xmake/dependencies/common.lua")
set_languages("c++23")
set_runtimes("MT")
includes("xmake/rules/stfc_identity.lua")
if is_plat("windows") then
includes("xmake/dependencies/windows.lua")
includes("win-proxy-dll")
add_links("rpcrt4", "runtimeobject")
elseif is_plat("macosx") then
includes("xmake/dependencies/macos.lua")
includes("macos-dylib")
includes("macos-loader")
includes("macos-launcher")
end
add_rules("mode.debug")
add_rules("mode.release")
add_rules("mode.releasedbg")
includes("xmake/rules/protobuf_sccache.lua")
includes("xmake/rules/cxx_sccache.lua")
includes("mods")
-- Native regression fixture for the x64 trampoline used by the object tracker.
if is_arch("x64", "x86_64") then
target("spud-relocation-tests")
set_kind("binary")
set_default(false)
add_files("tests/spud_relocation.cc")
add_packages("spud")
end