hack/sandbox/meson.build

44 lines
898 B
Meson
Raw Normal View History

2024-05-15 18:52:32 +03:00
project(
meson.current_source_dir().split('/').get(-1),
'cpp',
version : '1.2.0',
default_options : [
'warning_level=1',
'optimization=3',
'cpp_std=c++20',
])
add_project_arguments (
'-Wall',
'-Wpedantic',
'-Wno-shadow',
'-Wno-unused-but-set-variable',
'-Wno-comment',
'-Wno-unused-parameter',
'-Wno-unused-value',
'-Wno-unused-header',
'-Wno-missing-field-initializers',
'-Wno-narrowing',
'-Wno-deprecated-enum-enum-conversion',
'-Wno-volatile',
'-Wno-format-security',
'-Wno-switch',
'-Wno-ignored-attributes',
'-Wno-unused-variable',
language: 'cpp'
)
#############################################################
args = []
inc = []
deps = [
subproject('nlohmann_json').get_variable('nlohmann_json_dep'),
subproject('hack').get_variable('hack_dep'),
]
#############################################################
subdir('bin')