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
|
local lm = require 'luamake'
lm:lua_library 'lni' {
sources = '3rd/lni/src/*.cpp'
}
lm:lua_library 'lpeglabel' {
sources = '3rd/lpeglabel/*.c'
}
lm:executable 'rcedit' {
sources = '3rd/rcedit/src/*.cc',
defines = {
'_SILENCE_CXX17_CODECVT_HEADER_DEPRECATION_WARNING'
},
flags = {
'/wd4477',
'/wd4244',
'/wd4267',
}
}
lm:build 'bee' {
'$luamake', '-C', '3rd/bee.lua',
pool = 'console'
}
lm:build 'install' {
'$luamake', 'lua', 'make/install.lua',
deps = {
'lni',
'lpeglabel',
'bee',
'rcedit'
}
}
|