forked from qt-creator/qt-creator
CMakePM: Reparse CMake project when the file-api json files change
CMake will reconfigure itself if you have modified the CMakeLists.txt files. Qt Creator needs to reparse the file-api json structure even if the "Auto-run CMake" is being disabled. "Auto-run CMake" will run CMake when the project files themselves have been changed e.g. modify and then save. CMake will use ninja / make to reconfigure itself, generate the file-api structure and Qt Creator needs to keep up. Change-Id: I12d8683b86f35bd6e0ebccec5300cd7ae8dce0b2 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -915,10 +915,6 @@ void CMakeBuildSystem::becameDirty()
|
||||
if (isParsing())
|
||||
return;
|
||||
|
||||
const CMakeTool *tool = m_parameters.cmakeTool();
|
||||
if (!tool->isAutoRun())
|
||||
return;
|
||||
|
||||
setParametersAndRequestParse(BuildDirParameters(cmakeBuildConfiguration()), REPARSE_SCAN);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user