From af50e2603fd0f877d0f96da1562b0deda0590b70 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 18 Feb 2019 13:01:12 +0200 Subject: Add support for building with build2 --- odb/qt/version.hxx | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'odb/qt/version.hxx') diff --git a/odb/qt/version.hxx b/odb/qt/version.hxx index 5bea4c2..ba8c1b6 100644 --- a/odb/qt/version.hxx +++ b/odb/qt/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_QT_BUILD2 +# include + +// @@ TODO: need to derive automatically (it is also hardcoded in *.options). +// +#define ODB_QT_VERSION 2046000 +#define ODB_QT_VERSION_STR "2.5.0-b.10" + +#else + #ifndef ODB_QT_VERSION_HXX #define ODB_QT_VERSION_HXX @@ -49,3 +59,4 @@ #include #endif // ODB_QT_VERSION_HXX +#endif // LIBODB_QT_BUILD2 -- cgit v1.1