Add meson build scripts

This commit is contained in:
King_DuckZ 2022-06-07 16:41:49 +02:00
commit 82b5200857
11 changed files with 2789 additions and 2 deletions

22
meson.build Normal file
View file

@ -0,0 +1,22 @@
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],
)
if get_option('build_testing')
subdir('test')
endif
subdir('include')