Skip to content
Snippets Groups Projects
Commit ea44a2ce authored by Tobias Hunger's avatar Tobias Hunger
Browse files

CMake: Force reparsing of cmake projects


Change-Id: I2f309e38e99a7b5836c623995e71470e7161ee98
Reviewed-by: default avatarTim Jenssen <tim.jenssen@qt.io>
parent 6ad21cab
Branches
Tags
No related merge requests found
...@@ -231,6 +231,7 @@ void BuildDirManager::forceReparse() ...@@ -231,6 +231,7 @@ void BuildDirManager::forceReparse()
CMakeTool *tool = CMakeKitInformation::cmakeTool(m_buildConfiguration->target()->kit()); CMakeTool *tool = CMakeKitInformation::cmakeTool(m_buildConfiguration->target()->kit());
QTC_ASSERT(tool, return); QTC_ASSERT(tool, return);
m_reader.reset(); // Force reparse by forcing in a new reader
updateReaderType([this]() { parseOnceReaderReady(true); }); updateReaderType([this]() { parseOnceReaderReady(true); });
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment