summaryrefslogtreecommitdiff
path: root/odb/buildfile
diff options
context:
space:
mode:
Diffstat (limited to 'odb/buildfile')
-rw-r--r--odb/buildfile10
1 files changed, 10 insertions, 0 deletions
diff --git a/odb/buildfile b/odb/buildfile
index 8c8d458..8e931ad 100644
--- a/odb/buildfile
+++ b/odb/buildfile
@@ -65,6 +65,16 @@ exe{odb}: cxx{odb}
exe{odb}: libus{odb}: bin.whole = false
exe{odb}: plugin{odb}: include = adhoc
+# Target metadata, see also --build2-metadata in odb.cxx.
+#
+exe{odb}:
+{
+ export.metadata = 1 odb
+ odb.name = [string] odb
+ odb.version = $version
+ odb.checksum = $version
+}
+
plugin{odb}: libus{odb}
switch $cxx.target.system