28 lines
723 B
Meson
28 lines
723 B
Meson
project(
|
|
'n-acd',
|
|
'c',
|
|
version: '2',
|
|
license: 'Apache',
|
|
default_options: [
|
|
'c_std=c11',
|
|
],
|
|
)
|
|
project_description = 'IPv4 Address Conflict Detection'
|
|
|
|
add_project_arguments('-D_GNU_SOURCE', language: 'c')
|
|
mod_pkgconfig = import('pkgconfig')
|
|
|
|
sub_clist = subproject('c-list')
|
|
sub_crbtree = subproject('c-rbtree')
|
|
sub_csiphash = subproject('c-siphash')
|
|
sub_cstdaux = subproject('c-stdaux')
|
|
|
|
dep_clist = sub_clist.get_variable('libclist_dep')
|
|
dep_crbtree = sub_crbtree.get_variable('libcrbtree_dep')
|
|
dep_csiphash = sub_csiphash.get_variable('libcsiphash_dep')
|
|
dep_cstdaux = sub_cstdaux.get_variable('libcstdaux_dep')
|
|
|
|
use_ebpf = get_option('ebpf')
|
|
|
|
subdir('src')
|