[meson.build,meson_options.txt] Add peerindex to meson
This commit is contained in:
parent
e60c9bd4f3
commit
0c745d7f12
22
meson.build
22
meson.build
|
@ -134,3 +134,25 @@ if get_option('build-bgpgrep')
|
||||||
|
|
||||||
install_man(bgpgrep_man)
|
install_man(bgpgrep_man)
|
||||||
endif
|
endif
|
||||||
|
if get_option('build-peerindex')
|
||||||
|
peerindex = executable('peerindex',
|
||||||
|
sources : [
|
||||||
|
'tools/peerindex/peerindex.c'
|
||||||
|
],
|
||||||
|
include_directories : [ lonetix_incdir ],
|
||||||
|
dependencies : [ lonetix_dep ],
|
||||||
|
install : true
|
||||||
|
)
|
||||||
|
|
||||||
|
cdata = configuration_data({
|
||||||
|
'UTILITY': 'peerindex',
|
||||||
|
'VERSION': '"' + meson.project_version() + '"',
|
||||||
|
})
|
||||||
|
|
||||||
|
peerindex_man = configure_file(input : 'tools/peerindex/peerindex.1.in',
|
||||||
|
output : 'peerindex.1',
|
||||||
|
configuration : cdata,
|
||||||
|
install : false)
|
||||||
|
|
||||||
|
install_man(peerindex_man)
|
||||||
|
endif
|
||||||
|
|
|
@ -3,3 +3,4 @@ option('build-doc', type : 'boolean', description : 'Build documentation using d
|
||||||
# TODO option('build-benchmarks', type : 'boolean', value : false, description : 'Build benchmarks')
|
# TODO option('build-benchmarks', type : 'boolean', value : false, description : 'Build benchmarks')
|
||||||
# TODO option('build-tests', type : 'boolean', value : false, description : 'Build unit tests')
|
# TODO option('build-tests', type : 'boolean', value : false, description : 'Build unit tests')
|
||||||
option('build-bgpgrep', type : 'boolean', description : 'Build bgpgrep MRT/BGP parsing and filting utility')
|
option('build-bgpgrep', type : 'boolean', description : 'Build bgpgrep MRT/BGP parsing and filting utility')
|
||||||
|
option('build-peerindex', type : 'boolean', description : 'Build peerindex MRT TABLE_DUMPV2 Peer Index Table inspection tool')
|
||||||
|
|
Loading…
Reference in New Issue