use nix build & meson & zlog
This commit is contained in:
parent
0123623742
commit
346768a144
60 changed files with 13739 additions and 0 deletions
28
src/meson.build
Normal file
28
src/meson.build
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
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
|
||||
|
||||
if get_option('without_db')
|
||||
add_project_arguments('-DWITHOUT_DB=1', language: 'c')
|
||||
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')
|
||||
Loading…
Add table
Add a link
Reference in a new issue