aboutsummaryrefslogtreecommitdiff
path: root/odb/qt/version.options
blob: 3361d3efb279a097894914e07731bd6b64ee3598 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# file      : odb/qt/version.options
# copyright : Copyright (c) 2009-2018 Code Synthesis Tools CC
# license   : GNU GPL v2; see accompanying LICENSE file

# Include the config file first so that it can do its thing before we
# include any Qt headers.
#
--odb-prologue '#include <odb/qt/details/config.hxx>'

# 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 != 2045900 // 2.5.0-b.9'
--hxx-prologue '#  error ODB and C++ compilers see different libodb-qt interface versions'
--hxx-prologue '#endif'