aboutsummaryrefslogtreecommitdiff
path: root/odb/qt/version.options
blob: e3ed187c4967de29c0993a830219c8c9cc0a8abb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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 have the same Qt interface version.
#
--hxx-prologue '#include <odb/qt/version.hxx>'

--hxx-prologue '#if ODB_QT_VERSION != 1069901 // 1.7.0.a1'
--hxx-prologue '#  error ODB and C++ compilers see different libodb-qt interface versions'
--hxx-prologue '#endif'