Make D-YAML easy to use as Meson subproject

This commit is contained in:
Matthias Klumpp 2018-03-04 21:42:58 +01:00 committed by Petar Kirov
parent 683335aa3e
commit cbfa423c9b

View file

@ -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]
)