aboutsummaryrefslogtreecommitdiff
path: root/odb/qt/version.options
blob: 7a913f384624a4340f617fa7428d1131f89772e7 (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 are from the same profile version.
#
--hxx-prologue '#include <odb/qt/version.hxx>'

--hxx-prologue '#if LIBODB_QT_VERSION != 1060000 // 1.6.0'
--hxx-prologue '#  error ODB and C++ compilers see different libodb-qt versions'
--hxx-prologue '#endif'