forked from qt-creator/qt-creator
populate QMAKE_INTERNAL_INCLUDED_FILES
... like qmake does. Change-Id: I61b5234cdfa19744aa304d3fc15d541145b9f4a3 Reviewed-by: Daniel Teske <daniel.teske@nokia.com> Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@nokia.com>
This commit is contained in:
@@ -1885,6 +1885,14 @@ bool QMakeEvaluator::evaluateFileDirect(
|
||||
bool ok = (visitProFile(pro, type, flags) == ReturnTrue);
|
||||
m_current = m_locationStack.pop();
|
||||
pro->deref();
|
||||
#ifdef PROEVALUATOR_FULL
|
||||
if (ok) {
|
||||
ProStringList &iif = m_valuemapStack.first()[ProString("QMAKE_INTERNAL_INCLUDED_FILES")];
|
||||
ProString ifn(fileName, NoHash);
|
||||
if (!iif.contains(ifn))
|
||||
iif << ifn;
|
||||
}
|
||||
#endif
|
||||
return ok;
|
||||
} else {
|
||||
return false;
|
||||
|
Reference in New Issue
Block a user