aboutsummaryrefslogtreecommitdiff
path: root/odb/buildfile
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2017-04-29 16:54:40 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2017-04-29 16:54:40 +0200
commit0de630f3255df7817db597caad03cb5c8580cd00 (patch)
tree57ae3ffe2f9907d4617666ab3b5e816c84aa5f9d /odb/buildfile
parentcc35be1bf8f23ad6768dbb4f350be46e506f9381 (diff)
Add parallel version headers for build2
Diffstat (limited to 'odb/buildfile')
-rw-r--r--odb/buildfile7
1 files changed, 7 insertions, 0 deletions
diff --git a/odb/buildfile b/odb/buildfile
index e9958c1..562b5b5 100644
--- a/odb/buildfile
+++ b/odb/buildfile
@@ -56,6 +56,7 @@ lib{odb}: \
{hxx ixx cxx}{ vector-impl } \
{hxx txx }{ vector-traits } \
{hxx }{ version } \
+ {hxx }{ version-build2 } \
{hxx }{ view-image } \
{hxx txx }{ view-result } \
{hxx }{ wrapper-traits } \
@@ -92,6 +93,9 @@ details/shared-ptr/{hxx }{ counter-type } \
details/shared-ptr/{hxx }{ exception } \
details/win32/{hxx }{ windows }
+hxx{version-build2}: in{version-build2} $src_root/file{manifest}
+hxx{version-build2}: dist = true
+
# For pre-releases use the complete version to make sure they cannot be used
# in place of another pre-release or the final version.
#
@@ -118,6 +122,9 @@ if ($cxx.target.class != "windows")
# We want these to be picked up even when LIBODB_BUILD2 is not defined.
#
+hxx{version}@./: install = false
+hxx{version-build2}: install = $install.include/version.hxx
+
details/build2/:
{
if ($cxx.id == "msvc")