From 2364f5cb43fa7c14f95304c432b6e215e158c224 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 18 Feb 2019 13:02:02 +0200 Subject: Add support for building with build2 --- odb/boost/version.hxx | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'odb/boost/version.hxx') 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 + +// @@ 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 #endif // ODB_BOOST_VERSION_HXX +#endif // LIBODB_BOOST_BUILD2 -- cgit v1.1