-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathxmake.lua
More file actions
41 lines (38 loc) · 832 Bytes
/
xmake.lua
File metadata and controls
41 lines (38 loc) · 832 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
38
39
40
41
add_rules("mode.release", "mode.debug")
add_repositories("levimc-repo https://github.com/LiteLDev/xmake-repo.git")
add_requires(
"pfr 2.1.1",
"fmt 10.2.1",
"magic_enum v0.9.7",
"nlohmann_json v3.11.3"
)
target("Reflection")
add_cxflags(
"/utf-8",
"/permissive-",
"/EHa",
"/W4",
"/w44265",
"/w44289",
"/w44296",
"/w45263",
"/w44738"
)
set_kind("binary")
set_languages("cxx20")
set_symbols("debug")
add_files("src-test/**.cpp")
add_includedirs("src", "src-test")
add_headerfiles("src/(ll/api/**.h)")
add_packages(
"pfr",
"fmt",
"magic_enum",
"nlohmann_json"
)
add_defines(
"NOMINMAX",
"UNICODE",
"_HAS_CXX23=1"
)
set_exceptions("none")