-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild.lua
More file actions
43 lines (41 loc) · 758 Bytes
/
build.lua
File metadata and controls
43 lines (41 loc) · 758 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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
module 'gfx' {
lib '-tex' {
limp_src {
'src-tex/*.hpp',
'src-tex/*.inl'
},
src {
'src-tex/*.cpp',
pch_src 'src-tex/pch.cpp'
},
src {
'src-tex/*.c',
},
define 'BE_GFX_TEX_IMPL',
link_project {
'core',
'util-compression',
'util-fs',
'gfx'
}
},
lib {
src {
'src/*.cpp',
pch_src 'src/pch.cpp'
},
define 'BE_GFX_IMPL',
link_project {
'core',
'util',
'glfw'
},
toolchain 'vc_win' {
link 'opengl32'
}
},
app '-test' {
icon 'icon/bengine-test-perf.ico',
link_project { 'testing', 'gfx', 'gfx-tex' }
}
}