Add building via meson, remove outdated options
Co-authored-by: Thulinma <jaron@vietors.com> Change-Id: I2a620c8d98aca7203f6742c66c3f82afe91b5c3c
This commit is contained in:
parent
ca9724f1f8
commit
529adbfaf6
23 changed files with 855 additions and 82 deletions
29
src/utils/meson.build
Normal file
29
src/utils/meson.build
Normal file
|
@ -0,0 +1,29 @@
|
|||
|
||||
utils = [
|
||||
# {'name': 'Stats', 'file': 'stats'},
|
||||
{'name': 'META', 'file': 'meta'},
|
||||
{'name': 'RAX', 'file': 'rax'},
|
||||
{'name': 'AMF', 'file': 'amf'},
|
||||
{'name': 'Certbot', 'file': 'certbot'},
|
||||
{'name': 'Nuke', 'file': 'nuke'},
|
||||
]
|
||||
|
||||
if get_option('LOAD_BALANCE')
|
||||
utils += {'name': 'Load', 'file': 'load'}
|
||||
endif
|
||||
|
||||
utils_tgts = []
|
||||
|
||||
foreach util : utils
|
||||
executables += {
|
||||
'name': 'MistUtil'+util.get('name'),
|
||||
'sources' : [
|
||||
files('util_'+util.get('file')+'.cpp'),
|
||||
header_tgts
|
||||
],
|
||||
'link' : libmist,
|
||||
'deps' : [],
|
||||
'defines' :[],
|
||||
}
|
||||
endforeach
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue