CMakePM: Remove the CMake introspection after CMake project load

Will be done in the CMake editor. No need to slow the project loading
when you don't do any editing of CMake files.

Initially I wanted to have it already loaded when code completion is
done, but doing once when a CMake editor is opened is better.

Change-Id: I1eda2a64e708bfa4fab5ab749059a08769800eba
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
Cristian Adam
2023-09-21 13:45:26 +02:00
parent 3ef401cd9a
commit 0632648be6

View File

@@ -1283,10 +1283,6 @@ void CMakeBuildSystem::setupCMakeSymbolsHash()
m_projectKeywords.functions << QString::fromUtf8(arg.Value);
}
}
// Code completion setup
if (CMakeTool *tool = CMakeKitAspect::cmakeTool(target()->kit()))
tool->keywords();
}
void CMakeBuildSystem::ensureBuildDirectory(const BuildDirParameters &parameters)