myxce/src/meson.build
2025-11-05 16:58:57 +08:00

24 lines
548 B
Meson

project('xce',
['c'],
version: '0.0.1',
meson_version: '>=1.5',
default_options: [
'c_std=gnu17',
'c_args=-DDEBUG -O1'])
with_debug=false
if get_option('with_debug')
# add -DWITH_DEBUG=1
add_project_arguments('-DWITH_DEBUG=1', language: 'c')
with_debug=true
endif
add_project_arguments('-DVERSION_COMMIT_ID='+get_option('commit_id'), language: 'c')
include_dir = include_directories('include', 'include/xce')
subdir('lib')
subdir('controller')
# subdir('worker')
# subdir('scheduler')