From 6b61bd245870bad80a2655ea4c4b56d1246233df Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 6 May 2024 06:33:36 +0200 Subject: Add libbutl-odb source subdirectory This is an additional (to libbutl) utility library which contains the source code of libodb, libodb-sqlite, and libsqlite3 configured and tuned for our needs. --- build/export.build | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) (limited to 'build/export.build') diff --git a/build/export.build b/build/export.build index 427f76b..5f921cb 100644 --- a/build/export.build +++ b/build/export.build @@ -1,9 +1,21 @@ # file : build/export.build # license : MIT; see accompanying LICENSE file -$out_root/ +if ($name($import.target) == 'butl-odb') { - include libbutl/ + $out_root/ + { + include libbutl-odb/ + } + + export $out_root/libbutl-odb/$import.target } +else +{ + $out_root/ + { + include libbutl/ + } -export $out_root/libbutl/lib{butl} + export $out_root/libbutl/$import.target +} -- cgit v1.1