Add meson build scripts
This commit is contained in:
parent
9919f1aeb2
commit
82b5200857
11 changed files with 2789 additions and 2 deletions
22
meson.build
Normal file
22
meson.build
Normal 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')
|
Loading…
Add table
Add a link
Reference in a new issue