CMakePM: Display presets as part of the project outline

Fixes: QTCREATORBUG-28966
Change-Id: Iae0f77956bf6f4682ea8a25e08d05de3331c7420
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Cristian Adam
2023-05-09 13:49:50 +02:00
parent aca8e5906b
commit dc18d4b9ee
6 changed files with 58 additions and 0 deletions

View File

@@ -711,6 +711,9 @@ std::unique_ptr<CMakeProjectNode> generateRootProjectNode(
std::move(data.cmakeNodesBuild),
std::move(data.cmakeNodesOther));
addCMakePresets(result.get(), sourceDirectory);
data.cmakeNodesSource.clear(); // Remove all the nullptr in the vector...
data.cmakeNodesBuild.clear(); // Remove all the nullptr in the vector...
data.cmakeNodesOther.clear(); // Remove all the nullptr in the vector...