-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathxmake.lua
More file actions
24 lines (20 loc) · 776 Bytes
/
xmake.lua
File metadata and controls
24 lines (20 loc) · 776 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
add_rules("mode.debug", "mode.release")
add_repositories("levimc-repo https://github.com/LiteLDev/xmake-repo.git")
add_requires("levilamina", {configs = {target_type = "client"}})
add_requires("levibuildscript")
if not has_config("vs_runtime") then
set_runtimes("MD")
end
target("custom-version-text")
add_rules("@levibuildscript/linkrule")
add_rules("@levibuildscript/modpacker")
add_cxflags("/EHa", "/utf-8", "/W4", "/w44265", "/w44289", "/w44296", "/w45263", "/w44738", "/w45204")
add_defines("NOMINMAX", "UNICODE", "LL_PLAT_C")
add_packages("levilamina")
set_exceptions("none")
set_kind("shared")
set_languages("c++20")
set_symbols("debug")
add_headerfiles("src/**.h")
add_files("src/**.cpp")
add_includedirs("src")