Make Tinyendian easy to use as Meson subproject

This commit is contained in:
Matthias Klumpp 2018-03-04 21:44:46 +01:00
parent b77a3fb709
commit 611bd13f97

View file

@ -25,3 +25,9 @@ pkgc.generate(name: 'tinyendian',
version: project_version,
description: 'Lightweight endianness library for D.'
)
# Make Tinyendian easy to use as subproject
tinyendian_dep = declare_dependency(
link_with: tinyendian_lib,
include_directories: [src_dir]
)