-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.lua
More file actions
51 lines (51 loc) · 1.14 KB
/
build.lua
File metadata and controls
51 lines (51 loc) · 1.14 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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
module 'core' {
lib {
src {
'src/*.cpp',
exclude 'src/id.cpp',
exclude 'src/namespaced_id.cpp',
pch_src 'src/pch.cpp'
},
src {
'src/native/*.cpp',
'src/native/$(toolchain)/*.cpp'
},
define 'BE_CORE_IMPL',
link_project 'zlib-static',
toolchain 'vc_win' {
link 'Dbghelp.lib'
}
},
lib '-id' {
src { 'src/id.cpp', 'src/namespaced_id.cpp' },
define 'BE_CORE_ID_IMPL',
define 'BE_CORE_IMPL',
link_project 'core'
},
lib '-id-with-names' {
src { 'src/id.cpp', 'src/namespaced_id.cpp' },
define {
'BE_CORE_ID_IMPL',
'BE_CORE_IMPL',
'BE_ID_NAMES_ENABLED'
},
export_define 'BE_ID_NAMES_ENABLED',
link_project 'core'
},
lib '-lua' {
src 'src-lua/*.cpp',
define 'BE_CORE_LUA_IMPL',
link_project 'core',
link_project 'belua'
},
app '-test' {
icon 'icon/bengine-test-perf.ico',
link_project 'testing'
},
app '-perf' {
icon 'icon/bengine-test-perf.ico',
link_project {
'testing', 'perf'
}
}
}