2022-02-28 12:44:18 +03:00
|
|
|
project(
|
|
|
|
'hack',
|
|
|
|
'cpp',
|
|
|
|
version : '0.0.1',
|
2022-05-11 11:09:04 +03:00
|
|
|
default_options : ['cpp_std=c++20']
|
2022-02-28 12:44:18 +03:00
|
|
|
)
|
|
|
|
|
|
|
|
add_project_arguments (
|
2022-03-23 22:02:17 +03:00
|
|
|
'-Wpedantic',
|
|
|
|
'-Wshadow',
|
2022-02-28 12:44:18 +03:00
|
|
|
'-Wno-comment',
|
2022-06-15 09:36:23 +03:00
|
|
|
'-Wno-gnu-zero-variadic-macro-arguments',
|
2022-02-28 12:44:18 +03:00
|
|
|
'-Wunused-but-set-variable',
|
|
|
|
language: 'cpp'
|
|
|
|
)
|
|
|
|
|
2022-06-15 09:36:23 +03:00
|
|
|
#############################################################
|
2022-03-23 22:02:17 +03:00
|
|
|
|
2022-02-28 12:44:18 +03:00
|
|
|
deps = []
|
2022-06-15 09:36:23 +03:00
|
|
|
args = []
|
2022-02-28 12:44:18 +03:00
|
|
|
inc = []
|
2022-03-27 12:13:50 +03:00
|
|
|
|
2022-06-15 09:36:23 +03:00
|
|
|
deps += dependency('boost')
|
|
|
|
deps += dependency('uuid')
|
|
|
|
|
|
|
|
args += '-luuid'
|
|
|
|
|
|
|
|
#############################################################
|
|
|
|
|
2022-02-28 12:44:18 +03:00
|
|
|
subdir('src')
|
|
|
|
subdir('bin')
|
|
|
|
subdir('tests')
|