-
-
Notifications
You must be signed in to change notification settings - Fork 52
Expand file tree
/
Copy pathxmake.lua
More file actions
24 lines (20 loc) · 620 Bytes
/
xmake.lua
File metadata and controls
24 lines (20 loc) · 620 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
set_xmakever("2.9.9")
add_rules("mode.debug", "mode.release")
add_requires("libxmake", "lief 0.11.5")
if is_plat("windows") then
if is_mode("release") then
add_cxflags("-MT")
elseif is_mode("debug") then
add_cxflags("-MTd")
end
add_cxxflags("-EHsc", "-FIiso646.h")
add_ldflags("-nodefaultlib:msvcrt.lib")
end
target("luject")
add_rules("xmake.cli")
add_files("src/lni/*.cpp")
add_files("src/lua/*.lua", {rootdir = "src"})
set_languages("c++14")
add_packages("libxmake", "lief")
add_installfiles("res/*", {prefixdir = "share/luject/res"})
includes("tests")