Mercurial > projects > qtd
comparison generator/CMakeLists.txt @ 400:a81c53f7b83b
Actually make the last commit (e40f33cc0bf5) work.
Previously, a line break was missing from the generated include file.
author | David Nadlinger <code@klickverbot.at> |
---|---|
date | Tue, 08 Mar 2011 23:54:58 +0100 |
parents | e40f33cc0bf5 |
children |
comparison
equal
deleted
inserted
replaced
399:e40f33cc0bf5 | 400:a81c53f7b83b |
---|---|
204 # Explicitly include qglobal.h before all the »master includes« to make | 204 # Explicitly include qglobal.h before all the »master includes« to make |
205 # sure Q_CORE_EXPORT and other macros are already defined for all | 205 # sure Q_CORE_EXPORT and other macros are already defined for all |
206 # processed headers. Otherwise, the parser would choke on classes in files | 206 # processed headers. Otherwise, the parser would choke on classes in files |
207 # included before "qglobal.h" in <QtCore/QtCore> using one of these macros | 207 # included before "qglobal.h" in <QtCore/QtCore> using one of these macros |
208 # (e.g. QXmlStreamReader). | 208 # (e.g. QXmlStreamReader). |
209 file(APPEND ${jambi_inc} "#include <${QT_QTCORE_INCLUDE_DIR}/qglobal.h>") | 209 file(APPEND ${jambi_inc} "#include <${QT_QTCORE_INCLUDE_DIR}/qglobal.h>\n") |
210 | 210 |
211 file(APPEND ${dgen_build_conf} "<typesystem>\n") | 211 file(APPEND ${dgen_build_conf} "<typesystem>\n") |
212 foreach(package_normal ${packages}) | 212 foreach(package_normal ${packages}) |
213 string(TOLOWER ${package_normal} package) | 213 string(TOLOWER ${package_normal} package) |
214 string(TOUPPER ${package_normal} package_upper) | 214 string(TOUPPER ${package_normal} package_upper) |