38 lines
818 B
Meson
38 lines
818 B
Meson
|
project(
|
||
|
'disk-info',
|
||
|
'cpp',
|
||
|
version : run_command('jq', '-r', '.version', join_paths(meson.source_root(), 'props.json'), check: true).stdout().strip(),
|
||
|
default_options : [
|
||
|
'warning_level=1',
|
||
|
'optimization=3',
|
||
|
'default_library=static',
|
||
|
'cpp_std=c++20',
|
||
|
])
|
||
|
|
||
|
add_project_arguments (
|
||
|
'-Wpedantic',
|
||
|
'-Wno-shadow',
|
||
|
'-Wno-unused-but-set-variable',
|
||
|
'-Wno-comment',
|
||
|
'-Wno-unused-parameter',
|
||
|
'-Wno-unused-value',
|
||
|
'-Wno-missing-field-initializers',
|
||
|
'-Wno-narrowing',
|
||
|
'-Wno-deprecated-enum-enum-conversion',
|
||
|
'-Wno-volatile',
|
||
|
'-Wno-deprecated-declarations',
|
||
|
language: 'cpp'
|
||
|
)
|
||
|
|
||
|
#############################################################
|
||
|
|
||
|
args = []
|
||
|
deps = []
|
||
|
inc = []
|
||
|
|
||
|
#############################################################
|
||
|
|
||
|
#subdir('src')
|
||
|
subdir('bin')
|
||
|
#subdir('tests')
|