From 1ca3ce471906f08d23f9163cdb8da884175ed331 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Thu, 11 Jun 2020 11:36:07 +0300 Subject: Add metadata --- odb/buildfile | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'odb/buildfile') 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 -- cgit v1.1