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);
|
bool ok = (visitProFile(pro, type, flags) == ReturnTrue);
|
||||||
m_current = m_locationStack.pop();
|
m_current = m_locationStack.pop();
|
||||||
pro->deref();
|
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;
|
return ok;
|
||||||
} else {
|
} else {
|
||||||
return false;
|
return false;
|
||||||
|
Reference in New Issue
Block a user