2022-02-28 12:44:18 +03:00
|
|
|
project(
|
2024-05-15 18:52:32 +03:00
|
|
|
meson.current_source_dir().split('/').get(-1),
|
2022-02-28 12:44:18 +03:00
|
|
|
'cpp',
|
2024-07-19 11:56:37 +03:00
|
|
|
version : run_command('git', 'rev-parse', '--short', 'HEAD', check: false).stdout().strip(),
|
2023-04-04 10:53:36 +03:00
|
|
|
default_options : [
|
|
|
|
'warning_level=1',
|
|
|
|
'optimization=3',
|
|
|
|
'cpp_std=c++20',
|
2024-05-15 18:52:32 +03:00
|
|
|
])
|
2022-02-28 12:44:18 +03:00
|
|
|
|
|
|
|
add_project_arguments (
|
2022-03-23 22:02:17 +03:00
|
|
|
'-Wpedantic',
|
2023-04-04 10:53:36 +03:00
|
|
|
'-Wno-shadow',
|
|
|
|
'-Wno-unused-but-set-variable',
|
2022-02-28 12:44:18 +03:00
|
|
|
'-Wno-comment',
|
2023-04-04 10:53:36 +03:00
|
|
|
'-Wno-unused-parameter',
|
|
|
|
'-Wno-unused-value',
|
2024-05-15 18:52:32 +03:00
|
|
|
'-Wno-unused-header',
|
2023-04-04 10:53:36 +03:00
|
|
|
'-Wno-missing-field-initializers',
|
|
|
|
'-Wno-narrowing',
|
|
|
|
'-Wno-deprecated-enum-enum-conversion',
|
2024-05-15 18:52:32 +03:00
|
|
|
'-Wno-volatile',
|
|
|
|
'-Wno-format-security',
|
|
|
|
'-Wno-switch',
|
|
|
|
'-Wno-ignored-attributes',
|
|
|
|
'-Wno-unused-variable',
|
2022-02-28 12:44:18 +03:00
|
|
|
language: 'cpp'
|
|
|
|
)
|
|
|
|
|
2024-05-15 18:52:32 +03:00
|
|
|
args = []
|
|
|
|
inc = []
|
2023-04-04 10:53:36 +03:00
|
|
|
deps = [
|
|
|
|
dependency('uuid'),
|
|
|
|
]
|
2022-03-27 12:13:50 +03:00
|
|
|
|
2022-02-28 12:44:18 +03:00
|
|
|
subdir('src')
|
2025-01-03 10:25:22 +03:00
|
|
|
subdir('bin')
|
2024-07-05 10:26:32 +03:00
|
|
|
subdir('tests')
|