ProjectExplorer: Handle imperfect build systems

Handle buildsystems with imperfect knowledge about what they
build more gracefully.

Leave RunConfigurations around if the build system can not tell
whether or not the relevant target was configured out of the
current build or completely removed from the build system.

This patch should not change the observable behavior of the code.

Change-Id: I0ddb4bd3966d184a4b5c9818e68adb107047ed1f
Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com>
Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
This commit is contained in:
Tobias Hunger
2016-04-01 16:19:55 +02:00
parent 6ed9ac35be
commit c018530587
3 changed files with 32 additions and 26 deletions

View File

@@ -684,6 +684,11 @@ bool Project::needsSpecialDeployment() const
return false;
}
bool Project::knowsAllBuildExecutables() const
{
return true;
}
void Project::setup(QList<const BuildInfo *> infoList)
{
QList<Target *> toRegister;