diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2019-02-18 13:01:12 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2019-02-18 13:01:12 +0200 |
commit | af50e2603fd0f877d0f96da1562b0deda0590b70 (patch) | |
tree | c81af5e2565aca994aaf37b0bf6694c50cb52eee /odb/qt/version.hxx | |
parent | d72ebf3ae3a638cefd8b11ae897eb491a19cac12 (diff) |
Add support for building with build2
Diffstat (limited to 'odb/qt/version.hxx')
-rw-r--r-- | odb/qt/version.hxx | 11 |
1 files changed, 11 insertions, 0 deletions
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 <odb/qt/version-build2.hxx> + +// @@ 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 <odb/post.hxx> #endif // ODB_QT_VERSION_HXX +#endif // LIBODB_QT_BUILD2 |