hack/meson.build
2023-05-23 12:13:38 +03:00

46 lines
800 B
Meson
Executable File

project(
'hack',
'cpp',
version: '1.0.0',
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',
language: 'cpp'
)
#############################################################
deps = [
dependency('boost'),
dependency('uuid'),
subproject('nlohmann_json').get_variable('nlohmann_json_dep')
]
args = [
'-luuid'
]
inc = []
#############################################################
subdir('src')
subdir('bin')
# subdir('tests')