aboutsummaryrefslogtreecommitdiff
path: root/odb/qt/version.options
diff options
context:
space:
mode:
authorConstantin Michael <constantin@codesynthesis.com>2011-03-22 17:39:20 +0200
committerConstantin Michael <constantin@codesynthesis.com>2011-03-22 17:39:20 +0200
commit62996fbf441dc92d686e97f336b20a5fea972962 (patch)
tree09171cec997faff086c4918af32b2a8d49c72b57 /odb/qt/version.options
parentdfb1ac9f19feacdce627b7e4bb20192bc71fe2d6 (diff)
Add dist build files
Diffstat (limited to 'odb/qt/version.options')
-rw-r--r--odb/qt/version.options13
1 files changed, 13 insertions, 0 deletions
diff --git a/odb/qt/version.options b/odb/qt/version.options
new file mode 100644
index 0000000..cdecaf3
--- /dev/null
+++ b/odb/qt/version.options
@@ -0,0 +1,13 @@
+# file : odb/qt/version.options
+# author : Constantin Michael <constantin@codesynthesis.com>
+# copyright : Copyright (c) 2009-2011 Code Synthesis Tools CC
+# license : GNU GPL v2; see accompanying LICENSE file
+
+# Make sure the options files as seen by the ODB compiler and header
+# files as seen by the C++ compiler are from the same profile version.
+#
+--hxx-prologue '#include <odb/qt/version.hxx>'
+
+--hxx-prologue '#if LIBODB_QT_VERSION != 1020000 // 1.2.0'
+--hxx-prologue '# error ODB and C++ compilers see different libodb-qt versions'
+--hxx-prologue '#endif'