hack/meson.build

43 lines
769 B
Meson
Raw Normal View History

2022-02-28 12:44:18 +03:00
project(
'hack',
'cpp',
2023-08-14 11:02:39 +03:00
version: '1.1.0',
default_options : [
'warning_level=1',
'optimization=3',
'default_library=static',
'cpp_std=c++20',
2023-04-04 11:01:19 +03:00
]
)
2022-02-28 12:44:18 +03:00
add_project_arguments (
2022-03-23 22:02:17 +03:00
'-Wpedantic',
'-Wno-shadow',
'-Wno-unused-but-set-variable',
2022-02-28 12:44:18 +03:00
'-Wno-comment',
'-Wno-unused-parameter',
'-Wno-unused-value',
'-Wno-missing-field-initializers',
'-Wno-narrowing',
'-Wno-deprecated-enum-enum-conversion',
2022-02-28 12:44:18 +03:00
language: 'cpp'
)
2022-06-15 09:36:23 +03:00
#############################################################
2022-03-23 22:02:17 +03:00
deps = [
dependency('boost'),
dependency('uuid'),
subproject('nlohmann_json').get_variable('nlohmann_json_dep')
]
2022-03-27 12:13:50 +03:00
2023-12-15 12:38:31 +03:00
args = []
2022-06-15 09:36:23 +03:00
inc = []
2022-06-15 09:36:23 +03:00
#############################################################
2022-02-28 12:44:18 +03:00
subdir('src')
subdir('bin')
2023-05-23 12:13:38 +03:00
# subdir('tests')