forked from qt-creator/qt-creator
CMake: Only reparse cmake build directory for active buildconfigurations
This fixes the several progress bars from popping up when creating a cmake project via wizards. Change-Id: I1d61e74db8a190afd6302cd56f141e08e521a587 Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
This commit is contained in:
@@ -154,6 +154,9 @@ bool BuildDirManager::isParsing() const
|
||||
|
||||
void BuildDirManager::forceReparse()
|
||||
{
|
||||
if (m_buildConfiguration->target()->activeBuildConfiguration() != m_buildConfiguration)
|
||||
return;
|
||||
|
||||
stopProcess();
|
||||
|
||||
CMakeTool *tool = CMakeKitInformation::cmakeTool(kit());
|
||||
|
||||
Reference in New Issue
Block a user