Make D-YAML easy to use as Meson subproject
This commit is contained in:
parent
683335aa3e
commit
cbfa423c9b
|
@ -73,3 +73,10 @@ pkgc.generate(name: 'dyaml',
|
||||||
version: project_version,
|
version: project_version,
|
||||||
description: 'YAML parser and emitter for the D programming language.'
|
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]
|
||||||
|
)
|
||||||
|
|
Loading…
Reference in a new issue