aboutsummaryrefslogtreecommitdiff
path: root/odb/sqlite/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
commitc5cece92dab1595fdc84c7b19a767218dae31acf (patch)
treea01f0dc474b2ba6ee5371bfd2975d0646ee363b0 /odb/sqlite/buildfile
parent17e417d9c1ef48245bbb86386856524278c49128 (diff)
Add parallel version headers for build2
Diffstat (limited to 'odb/sqlite/buildfile')
-rw-r--r--odb/sqlite/buildfile7
1 files changed, 7 insertions, 0 deletions
diff --git a/odb/sqlite/buildfile b/odb/sqlite/buildfile
index 81f89bb..c2f99d4 100644
--- a/odb/sqlite/buildfile
+++ b/odb/sqlite/buildfile
@@ -41,6 +41,7 @@ lib{odb-sqlite}: \
{hxx ixx cxx}{ transaction } \
{hxx ixx cxx}{ transaction-impl } \
{hxx }{ version } \
+ {hxx }{ version-build2 } \
{hxx txx }{ view-result } \
{hxx txx }{ view-statements } \
details/{hxx }{ config } \
@@ -51,6 +52,9 @@ details/build2/{h }{ config } \
details/build2/{h }{ config-vc } \
$int_libs
+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.
#
@@ -97,6 +101,9 @@ install.include.subdirs = true # Recreate subdirectories.
# We want these to be picked up even when LIBODB_SQLITE_BUILD2 is not defined.
#
+hxx{version}@./: install = false
+hxx{version-build2}: install = $install.include/version.hxx
+
details/build2/:
{
if ($cxx.id == "msvc")