blob: e5290f83ba23ee8c66e1fbcc7e982f524bc83cf1 (
plain) (
tree)
|
|
project(
'evanix',
'c',
version : '0.1',
license: 'GPL-3.0-only',
default_options : [
'c_std=c99',
'warning_level=2',
]
)
add_project_arguments(
[
'-D_POSIX_C_SOURCE=200809L',
'-D_GNU_SOURCE',
'-Wvla',
],
language: 'c',
)
cjson_dep = dependency('libcjson')
evanix_inc = include_directories('include')
if get_option('build-python')
py = import('python').find_installation()
py.extension_module(
'evanix',
'src/evanix-py.c',
install: true,
)
endif
subdir('src')
|