From 4916421f89b965327558a9e6e18eb0a762f981a5 Mon Sep 17 00:00:00 2001 From: Florian Fischer <florian.fl.fischer@fau.de> Date: Tue, 11 Aug 2020 11:57:20 +0200 Subject: [PATCH] [meson] add dependency declaration for emper and emper_c The variable names follow the naming convention for dependency variables. Dependecy variables are needed for emper to be consumed as a meson subproject. https://mesonbuild.com/Subprojects.html --- emper/meson.build | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/emper/meson.build b/emper/meson.build index 241dc029..cea48200 100644 --- a/emper/meson.build +++ b/emper/meson.build @@ -45,6 +45,11 @@ emper = library( install: true, ) +emper_dep = declare_dependency( + include_directories : emper_all_include, + link_with : emper +) + emper_c_sources = [ 'c_emper.cpp', @@ -57,3 +62,8 @@ emper_c = library( link_with: emper, install: true, ) + +emper_c_dep = declare_dependency( + include_directories : emper_all_include, + link_with : emper_c +) -- GitLab