From cbfa423c9bbf08c91820b6e7d451e014566bb89a Mon Sep 17 00:00:00 2001 From: Matthias Klumpp Date: Sun, 4 Mar 2018 21:42:58 +0100 Subject: [PATCH] Make D-YAML easy to use as Meson subproject --- meson.build | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/meson.build b/meson.build index 904e15d..025c753 100644 --- a/meson.build +++ b/meson.build @@ -73,3 +73,10 @@ pkgc.generate(name: 'dyaml', version: project_version, description: 'YAML parser and emitter for the D programming language.' ) + +# Make D-YAML easy to use as subproject +dyaml_dep = declare_dependency( + link_with: dyaml_lib, + include_directories: [src_dir], + dependencies: [tinyendian_dep] +)