CMake: Force reparsing of cmake projects

Change-Id: I2f309e38e99a7b5836c623995e71470e7161ee98
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
Tobias Hunger
2016-10-28 19:16:34 +02:00
parent 6ad21cab82
commit ea44a2ce4e

View File

@@ -231,6 +231,7 @@ void BuildDirManager::forceReparse()
CMakeTool *tool = CMakeKitInformation::cmakeTool(m_buildConfiguration->target()->kit());
QTC_ASSERT(tool, return);
m_reader.reset(); // Force reparse by forcing in a new reader
updateReaderType([this]() { parseOnceReaderReady(true); });
}