duckhandy/meson.build

23 lines
553 B
Meson

project('duckhandy', get_option('build_testing') ? 'cpp' : '',
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],
)
meson.override_dependency(meson.project_name(), duckhandy_dep)
if get_option('build_testing')
subdir('test')
endif
subdir('include')