Meson: declare dependency for use in subprojects

This commit is contained in:
Chris Josten 2021-03-01 16:31:20 +01:00
parent 6a25e6c5a8
commit 5cb714e305

View file

@ -11,3 +11,8 @@ project_version_full = project_version + project_version_suffix
source_root = meson.source_root()
build_root = meson.build_root()
subdir('source/taggedalgebraic')
taggedalgebraic_dep = declare_dependency(
include_directories: include_directories('source'),
link_with: taggedalgebraic_lib
)