forked from qt-creator/qt-creator
CMake: Add CMakeConfigurationKitInformation
Add CMakeConfigurationKitInformation and supporting classes. This KitInformation can hold CMake settings that are to be applied for all configurations when this kit is used. It contains e.g. the Qt version and toolchain configured in the kit by default, but can be extended to hold more. The UI will warn if the toolchain or Qt version set up in CMake does not match up with those used by the Kit, but it will allow the user to proceed. Change-Id: I73f06a6535ce14de323130d74af83b9cb2ec0f0f Reviewed-by: Leena Miettinen <riitta-leena.miettinen@theqtcompany.com> Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
This commit is contained in:
@@ -60,6 +60,7 @@ bool CMakeProjectPlugin::initialize(const QStringList & /*arguments*/, QString *
|
||||
ProjectExplorer::KitManager::registerKitInformation(new CMakeKitInformation);
|
||||
ProjectExplorer::KitManager::registerKitInformation(new CMakeGeneratorKitInformation);
|
||||
ProjectExplorer::KitManager::registerKitInformation(new CMakePreloadCacheKitInformation);
|
||||
ProjectExplorer::KitManager::registerKitInformation(new CMakeConfigurationKitInformation);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user