CppTools: Provide whether a sub project is selected for building

Analyzers can use this to rule out irrelevant (sub) projects.

Change-Id: I5a9eb66f06156f0619dc639f6f4080a8fc761ee6
Reviewed-by: Daniel Teske <daniel.teske@theqtcompany.com>
This commit is contained in:
Nikolai Kosjar
2014-11-03 14:54:31 +01:00
parent 3438cd32aa
commit e510c80c92
3 changed files with 3 additions and 0 deletions

View File

@@ -510,6 +510,7 @@ void QmakeProject::updateCppCodeModel()
templatePart->project = this;
templatePart->displayName = pro->displayName();
templatePart->projectFile = pro->path();
templatePart->selectedForBuilding = pro->includedInExactParse();
if (pro->variableValue(ConfigVar).contains(QLatin1String("qt")))
templatePart->qtVersion = qtVersionForPart;