-
-
Notifications
You must be signed in to change notification settings - Fork 33
Expand file tree
/
Copy pathxmake.lua
More file actions
48 lines (38 loc) · 1.12 KB
/
xmake.lua
File metadata and controls
48 lines (38 loc) · 1.12 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
set_project("stfc-community-mod")
set_languages("c++23")
set_runtimes("MT") -- Set the default build to multi-threaded static
add_requires("eastl")
add_requires("spdlog")
add_requires("toml++")
add_requires("nlohmann_json")
add_requires("cpr")
add_requireconfs("cpr.libcurl", { configs = { zlib = true } })
add_requires("protobuf 32.1")
if is_plat("windows") then
includes("win-proxy-dll")
add_links('rpcrt4')
add_links('runtimeobject')
end
if is_plat("macosx") then
add_requires("inifile-cpp")
add_requires("librsync")
add_requires("PLzmaSDK")
includes("macos-dylib")
includes("macos-loader")
includes("macos-launcher")
end
add_rules("mode.debug")
add_rules("mode.release")
add_rules("mode.releasedbg")
package("libil2cpp")
on_fetch(function(package, opt)
return { includedirs = path.join(os.scriptdir(), "third_party/libil2cpp") }
end)
package_end()
add_requires("spud v0.2.0-2")
add_requires("libil2cpp")
add_requires("simdutf", { system = false })
-- includes("launcher")
includes("mods")
-- add_repositories("local-repo build")
add_repositories("stfc-community-mod-repo xmake-packages")