aboutsummaryrefslogtreecommitdiff
path: root/build/export.build
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2024-05-06 06:33:36 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2024-05-06 07:48:52 +0200
commit6b61bd245870bad80a2655ea4c4b56d1246233df (patch)
tree0ddf9d148b31c6d6f16dc49107d6826151f4872d /build/export.build
parent78a1f350d9b6483997886d7438504d2a75498f68 (diff)
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.
Diffstat (limited to 'build/export.build')
-rw-r--r--build/export.build18
1 files changed, 15 insertions, 3 deletions
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
+}