forked from qt-creator/qt-creator
Add <configuration> to preprocessor
* This fixes export macro handling in windows which lead to Find Usages not working fully for header files on windows Done-with: Roberto Raggi
This commit is contained in:
@@ -46,6 +46,7 @@ QByteArray FastPreprocessor::run(QString fileName, const QString &source)
|
||||
if (Document::Ptr doc = _snapshot.document(fileName)) {
|
||||
_merged.insert(fileName);
|
||||
|
||||
mergeEnvironment(QLatin1String("<configuration>"));
|
||||
foreach (const Document::Include &i, doc->includes())
|
||||
mergeEnvironment(i.fileName());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user