forked from angeld29/TF2003-qvm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmeson.build
82 lines (78 loc) · 1.61 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
75
76
77
78
79
80
81
82
project('qwprogs', 'c')
sources = [
'src/bot/ai.c',
'src/bot/ai-misc.c',
'src/bot/fighting.c',
'src/bot/move.c',
'src/bot/qw.c',
'src/bot/ui.c',
'src/bot/waypoint.c',
'src/actions.c',
'src/admin.c',
'src/admin_cmd.c',
'src/arena.c',
'src/buttons.c',
'src/clan.c',
'src/client.c',
'src/combat.c',
'src/coop.c',
'src/crc32.c',
'src/ctf.c',
'src/debug.c',
'src/demoman.c',
'src/doors.c',
'src/engineer.c',
'src/flare.c',
'src/g_cmd.c',
'src/g_main.c',
'src/g_mem.c',
'src/g_mod_command.c',
'src/g_spawn.c',
'src/g_syscalls.c',
'src/g_tf_utils.c',
'src/g_utils.c',
'src/hook.c',
'src/items.c',
'src/mathlib.c',
'src/menu.c',
'src/misc.c',
'src/plats.c',
'src/player.c',
'src/pyro.c',
'src/q_shared.c',
'src/qmd5.c',
'src/scout.c',
'src/sentry.c',
'src/settings.c',
'src/server.c',
'src/sniper.c',
'src/spectate.c',
'src/spy.c',
'src/status.c',
'src/subs.c',
'src/tfort.c',
'src/tforthlp.c',
'src/tfortmap.c',
'src/tforttm.c',
'src/tg.c',
'src/triggers.c',
'src/tsoldier.c',
'src/version.c',
'src/vote.c',
'src/weapons.c',
'src/world.c'
]
c_args = ['-DBOT_SUPPORT=1']
if target_machine.cpu_family() == 'x86_64'
c_args += '-Didx64'
elif target_machine.cpu_family() == 'x86'
c_args += '-Didx386'
endif
library('qwprogs', sources,
include_directories : include_directories('include'),
c_args : c_args,
dependencies : [
meson.get_compiler('c').find_library('m', required : false)
],
name_prefix : ''
)