King_DuckZ
180c338901
It seems to be required now, but also '' is not a valid language and the whole get_option() thing is not working when duckhandy is a submodule.
23 lines
518 B
Meson
23 lines
518 B
Meson
project('duckhandy', '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')
|