-
Notifications
You must be signed in to change notification settings - Fork 420
Expand file tree
/
Copy pathxmake.lua
More file actions
35 lines (29 loc) · 1.11 KB
/
xmake.lua
File metadata and controls
35 lines (29 loc) · 1.11 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
set_project("Dumper-7")
add_rules("mode.debug", "mode.release")
set_languages("c++latest", "clatest")
target("Dumper-7")
set_kind("shared")
add_files("Dumper/**.cpp")
add_files("Dumper/**.c")
add_includedirs("Dumper", {public = true})
add_includedirs("Dumper/Utils", {public = true})
add_includedirs("Dumper/Engine/Public", {public = true})
add_includedirs("Dumper/Generator/Public", {public = true})
add_includedirs("Dumper/Platform/Public", {public = true})
add_cxflags("/wd4244", "/wd4267", "/wd4369", "/wd4715")
add_links(
"kernel32", "user32", "gdi32", "winspool", "comdlg32",
"advapi32", "shell32", "ole32", "oleaut32", "uuid",
"odbc32", "odbccp32", "ntdll"
)
if is_mode("release") then
set_runtimes("MD")
set_targetdir("Bin/Release/")
set_objectdir("Bin/Intermediates/Release/.objs")
set_dependir("Bin/Intermediates/Release/.deps")
else
set_runtimes("MDd")
set_targetdir("Bin/Debug/")
set_objectdir("Bin/Intermediates/Debug/.objs")
set_dependir("Bin/Intermediates/Debug/.deps")
end