aboutsummaryrefslogtreecommitdiff
path: root/odb/boost/version.hxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2019-02-18 13:02:02 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2019-02-18 13:02:02 +0200
commit2364f5cb43fa7c14f95304c432b6e215e158c224 (patch)
tree23fba2b96e71cc436035219cb1c03df6fa064eca /odb/boost/version.hxx
parentff450b1336c1fc741693d51ed16754311aaa1783 (diff)
Add support for building with build2
Diffstat (limited to 'odb/boost/version.hxx')
-rw-r--r--odb/boost/version.hxx11
1 files changed, 11 insertions, 0 deletions
diff --git a/odb/boost/version.hxx b/odb/boost/version.hxx
index 648fb44..988fae7 100644
--- a/odb/boost/version.hxx
+++ b/odb/boost/version.hxx
@@ -2,6 +2,16 @@
// copyright : Copyright (c) 2005-2019 Code Synthesis Tools CC
// license : GNU GPL v2; see accompanying LICENSE file
+#ifdef LIBODB_BOOST_BUILD2
+# include <odb/boost/version-build2.hxx>
+
+// @@ TODO: need to derive automatically (it is also hardcoded in *.options).
+//
+#define ODB_BOOST_VERSION 2046000
+#define ODB_BOOST_VERSION_STR "2.5.0-b.10"
+
+#else
+
#ifndef ODB_BOOST_VERSION_HXX
#define ODB_BOOST_VERSION_HXX
@@ -49,3 +59,4 @@
#include <odb/post.hxx>
#endif // ODB_BOOST_VERSION_HXX
+#endif // LIBODB_BOOST_BUILD2