CMakeProjectManager: Hide kit aspect factory implementation

Also avoid re-instantiation of factories in the build configurations.

Closer to the setups of the other kit aspect(factories).

Change-Id: I1b74a68287b63ee94ff18106d3a00b23624a601b
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
hjk
2023-08-21 17:39:36 +02:00
parent effcc0d471
commit 4e23f2a6eb
4 changed files with 88 additions and 63 deletions

View File

@@ -9,7 +9,6 @@
#include "cmakeeditor.h"
#include "cmakeformatter.h"
#include "cmakeinstallstep.h"
#include "cmakekitaspect.h"
#include "cmakelocatorfilter.h"
#include "cmakeproject.h"
#include "cmakeprojectconstants.h"
@@ -62,9 +61,6 @@ public:
CMakeBuildTargetFilter cMakeBuildTargetFilter;
CMakeOpenTargetFilter cMakeOpenTargetFilter;
CMakeKitAspectFactory cmakeKitAspectFactory;
CMakeGeneratorKitAspectFactory cmakeGeneratorKitAspectFactory;
CMakeConfigurationKitAspectFactory cmakeConfigurationKitAspectFactory;
CMakeFormatter cmakeFormatter;
};