summaryrefslogtreecommitdiff
path: root/libodb
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2024-05-07 16:30:20 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2024-05-07 16:52:07 +0300
commit14ea58b7c2f240d90d90e6c841c6eb42bb0c39bb (patch)
tree08d880b6979c86fce17e254073f4c743a3d101e8 /libodb
parent4b59d1f83f387374430bd58e109ba1c082a27766 (diff)
Add odb-examples package to repository
Diffstat (limited to 'libodb')
-rw-r--r--libodb/manifest20
1 files changed, 16 insertions, 4 deletions
diff --git a/libodb/manifest b/libodb/manifest
index b063729..6052338 100644
--- a/libodb/manifest
+++ b/libodb/manifest
@@ -20,15 +20,21 @@ requires: c++11
depends: * build2 >= 0.16.0-
depends: * bpkg >= 0.16.0-
-tests: odb-tests == $ ? ($config.odb_tests.libodb_test)
+tests: odb-tests == $ ? ($config.odb_tests.libodb_test)
+examples: odb-examples == $ ? ($config.odb_examples.libodb_example)
-builds: all
+default-builds: all
default-build-config:
\
{
config.odb_tests.libodb_test=true
config.odb_tests.database=sqlite
}+ odb-tests
+
+{
+ config.odb_examples.libodb_example=true
+ config.odb_examples.database=sqlite
+}+ odb-examples
\
# Only build this package configuration where it can be tested via odb-tests
@@ -61,9 +67,10 @@ multi-build-config:
}+ odb-tests
\
-# Complements the default configuration (see odb-tests for background).
+# Complements the default configuration (see odb-{tests,examples} for
+# background).
#
-custom-builds: latest ; Requires latest config with GCC as host compiler.
+custom-builds: latest ; Requires latest config with GCC as host compiler.
custom-builds: -static ; Implementation uses plugins and requires -fPIC.
#custom-build-bot: -- see below.
custom-build-config:
@@ -72,6 +79,11 @@ custom-build-config:
config.odb_tests.libodb_test=true
config.odb_tests.database=sqlite
}+ odb-tests
+
+{
+ config.odb_examples.libodb_example=true
+ config.odb_examples.database=sqlite
+}+ odb-examples
\
# Complements the multi configuration (see odb-tests for background).