-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild.lua
More file actions
89 lines (89 loc) · 1.8 KB
/
build.lua
File metadata and controls
89 lines (89 loc) · 1.8 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
module 'util' {
lib {
src {
'src/*.cpp',
pch_src 'src/pch.cpp'
},
src {
'src/native/*.cpp',
'src/native/$(toolchain)/*.cpp'
},
define 'BE_UTIL_IMPL',
link_project 'core',
},
lib '-compression' {
src {
'src-compression/*.cpp',
pch_src 'src-compression/pch.cpp'
},
define 'BE_UTIL_COMPRESSION_IMPL',
link_project 'core'
},
lib '-prng' {
src {
'src-prng/*.cpp',
pch_src 'src-prng/pch.cpp'
},
define 'BE_UTIL_PRNG_IMPL',
link_project 'core'
},
lib '-string' {
src {
'src-string/*.cpp',
pch_src 'src-string/pch.cpp'
},
src {
'src-string/native/*.cpp',
'src-string/native/$(toolchain)/*.cpp'
},
define 'BE_UTIL_STRING_IMPL',
link_project 'core'
},
lib '-fs' {
src {
'src-fs/*.cpp',
pch_src 'src-fs/pch.cpp'
},
src {
'src-fs/native/*.cpp',
'src-fs/native/$(toolchain)/*.cpp'
},
define 'BE_UTIL_FS_IMPL',
link_project {
'util-compression',
'util-prng'
}
},
lib '-lua' {
src 'src-lua/*.cpp',
define 'BE_UTIL_LUA_IMPL',
link_project {
'belua',
'util'
}
},
app '-test' {
icon 'icon/bengine-test-perf.ico',
link_project {
'testing',
'util',
'util-compression',
'util-prng',
'util-string',
'util-fs',
'util-lua'
}
},
app '-perf' {
icon 'icon/bengine-test-perf.ico',
link_project {
'testing',
'util',
'util-compression',
'util-prng',
'util-string',
'util-fs',
'util-lua'
}
}
}