blob: 69b23a773e00d77b0aed667bdc43ae0964d0b278 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
project(
'ui',
'c',
meson_version: '>= 1.3.0',
version: '0.1',
default_options: ['warning_level=3', 'c_std=c89'],
)
compile_args = []
if host_machine.system() == 'linux'
compile_args += ['-D_GNU_SOURCE']
elif host_machine.system() == 'darwin'
compile_args += ['-D_DARWIN_C_SOURCE']
elif host_machine.system() == 'windows'
compile_args += ['-D_WIN32_WINNT=0x0601']
endif
add_global_arguments(compile_args, language: ['c'])
ui_include = include_directories('include')
subdir('library')
subdir('uicc')
|