From 2e21b218db0e979d56b7b6027854a86ad7ffc96b Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 6 May 2024 08:45:22 +0200 Subject: Add libbutl-pkg-config source subdirectory This is an additional (to libbutl) utility library which contains the source code of libpkg-config configured and tuned for our needs. --- build/export.build | 34 ++++++++++++++++++++++++---------- 1 file changed, 24 insertions(+), 10 deletions(-) (limited to 'build/export.build') diff --git a/build/export.build b/build/export.build index 5f921cb..e7dfa5b 100644 --- a/build/export.build +++ b/build/export.build @@ -1,21 +1,35 @@ # file : build/export.build # license : MIT; see accompanying LICENSE file -if ($name($import.target) == 'butl-odb') +switch $name($import.target) { - $out_root/ + case 'butl-odb' { - include libbutl-odb/ + $out_root/ + { + include libbutl-odb/ + } + + export $out_root/libbutl-odb/$import.target } - export $out_root/libbutl-odb/$import.target -} -else -{ - $out_root/ + case 'butl-pkg-config' { - include libbutl/ + $out_root/ + { + include libbutl-pkg-config/ + } + + export $out_root/libbutl-pkg-config/$import.target } - export $out_root/libbutl/$import.target + default + { + $out_root/ + { + include libbutl/ + } + + export $out_root/libbutl/$import.target + } } -- cgit v1.1