Repository navigation
Expand file tree
/
Copy pathxmake.lua
More file actions
77 lines (66 loc) · 2.03 KB
/
Copy pathxmake.lua
File metadata and controls
77 lines (66 loc) · 2.03 KB
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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
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")
target("il2cpp-checked-tests")
set_kind("binary")
set_default(false)
add_files("tests/il2cpp_checked.cc")
add_includedirs("mods/src")
add_packages("libil2cpp", "eastl")
set_exceptions("cxx")
if is_plat("windows") then
add_linkdirs("mods/src/il2cpp")
end
target("il2cpp-runtime-tests")
set_kind("binary")
set_default(false)
add_files("tests/il2cpp_runtime.cc")
add_includedirs("mods/src")
add_packages("libil2cpp", "eastl")
set_exceptions("cxx")
if is_plat("windows") then
add_linkdirs("mods/src/il2cpp")
end
target("il2cpp-class-lookup-tests")
set_kind("binary")
set_default(false)
add_files("tests/il2cpp_class_lookup.cc")
add_includedirs("mods/src")
add_packages("libil2cpp", "eastl")
set_exceptions("cxx")
if is_plat("windows") then
add_linkdirs("mods/src/il2cpp")
end
-- 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
-- Pure startup gate regression tests; no game process required.
target("chat-startup-tests")
set_kind("binary")
set_default(false)
add_files("tests/chat_startup.cc")
add_includedirs("mods/src")