2022-06-07 14:41:49 +00:00
|
|
|
project('duckhandy',
|
|
|
|
version: '0.1.0',
|
|
|
|
meson_version: '>=0.56.0',
|
|
|
|
default_options: ['buildtype=release', 'cpp_std=gnu++20', 'b_ndebug=if-release']
|
|
|
|
)
|
|
|
|
|
|
|
|
sprout_dep = dependency('sprout', allow_fallback: true)
|
|
|
|
|
|
|
|
public_incl = include_directories('include')
|
|
|
|
|
|
|
|
duckhandy_dep = declare_dependency(
|
|
|
|
include_directories: [
|
|
|
|
public_incl,
|
|
|
|
],
|
|
|
|
dependencies: [sprout_dep],
|
|
|
|
)
|
2022-06-07 14:51:37 +00:00
|
|
|
meson.override_dependency(meson.project_name(), duckhandy_dep)
|
2022-06-07 14:41:49 +00:00
|
|
|
|
|
|
|
if get_option('build_testing')
|
|
|
|
subdir('test')
|
|
|
|
endif
|
|
|
|
|
|
|
|
subdir('include')
|