blob: 10ac21fd19eda6ec0da67348dd89130a1f2a9d8c (
plain)
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
|
project('cetris', 'c',
version : '0.2',
default_options : ['warning_level=2', 'c_std=c99'])
compiler = meson.get_compiler('c')
cetris_inc = include_directories(['lib', 'ini'])
if get_option('debug') == true
if host_machine.system() == 'windows'
add_global_arguments('/DBUILD_TESTS', language : 'c')
else
add_global_arguments('-DBUILD_TESTS', language : 'c')
endif
subdir('test')
endif
if get_option('curses-frontend') == true
subdir('frontends/curses')
endif
if get_option('gl-frontend') == true
subdir('frontends/gl')
endif
if get_option('sdl-frontend') == true
subdir('frontends/sdl')
endif
|