ProjectExplorer: Introduce and use a new MultiSelectionAspect

Only provide the minimum functionality to make it usable
for the target selection in Make steps.

Task-number: QTCREATORBUG-25088
Change-Id: I6458a0bd544d2fff596df3240c69e05d7bdea14b
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
hjk
2020-12-17 13:28:48 +01:00
parent 498f0939e4
commit 34798b3efd
6 changed files with 186 additions and 57 deletions

View File

@@ -49,10 +49,10 @@ MakeStep::MakeStep(ProjectExplorer::BuildStepList *bsl, Utils::Id id)
{
setAvailableBuildTargets({"all", "clean"});
if (bsl->id() == ProjectExplorer::Constants::BUILDSTEPS_CLEAN) {
setBuildTarget("clean", true);
setSelectedBuildTarget("clean");
setIgnoreReturnValue(true);
} else {
setBuildTarget("all", true);
setSelectedBuildTarget("all");
}
}