File: version.options

package info (click to toggle)
libodb-qt 2.4.0-2
  • links: PTS
  • area: main
  • in suites: buster, stretch
  • size: 2,308 kB
  • ctags: 1,000
  • sloc: sh: 11,329; makefile: 22; cpp: 20
file content (17 lines) | stat: -rw-r--r-- 671 bytes parent folder | download | duplicates (3)
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-2015 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 != 2040000 // 2.4.0'
--hxx-prologue '#  error ODB and C++ compilers see different libodb-qt interface versions'
--hxx-prologue '#endif'