-
Notifications
You must be signed in to change notification settings - Fork 1
/
meson.build
74 lines (71 loc) · 1.58 KB
/
meson.build
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
project(
'cubewar',
'cpp'
)
compiler = meson.get_compiler('cpp')
enet = compiler.find_library('enet')
fmt = compiler.find_library('fmt')
imgui = compiler.find_library('imgui')
freetype = compiler.find_library('freetype')
sdl2 = compiler.find_library('sdl2')
glew = compiler.find_library('glew')
opengl32 = compiler.find_library('opengl32')
winmm = compiler.find_library('winmm')
version = compiler.find_library('version')
setupapi = compiler.find_library('setupapi')
gdi32 = compiler.find_library('gdi32')
imm32 = compiler.find_library('imm32')
ole32 = compiler.find_library('ole32')
oleaut32 = compiler.find_library('oleaut32')
ws2_32 = compiler.find_library('ws2_32')
bullet_collision = compiler.find_library('bulletcollision')
bullet_dynamics = compiler.find_library('bulletdynamics')
bullet_inverse_dynamics = compiler.find_library('bulletinversedynamics')
bullet_linear_math = compiler.find_library('bulletlinearmath')
assimp = compiler.find_library('assimp')
irrxml = compiler.find_library('irrxml')
zlib = compiler.find_library('zlib')
executable(
'cubewar',
'gpu.cpp',
'misc.cpp',
'physics.cpp',
'pov.cpp',
'core.cpp',
'sys.cpp',
'textures.cpp',
'local_player.cpp',
'cfg.cpp',
'meshes.cpp',
'simplex.cpp',
'materials.cpp',
'sun.cpp',
'net.cpp',
'weapon.cpp',
'scene.cpp',
dependencies : [
sdl2,
winmm,
version,
setupapi,
imm32,
ole32,
oleaut32,
glew,
opengl32,
gdi32,
imgui,
fmt,
enet,
ws2_32,
freetype,
bullet_collision,
bullet_dynamics,
bullet_inverse_dynamics,
bullet_linear_math,
assimp,
irrxml,
zlib
],
override_options: 'cpp_std=c++17'
)