CMake: Add helper method to find the default build target for a BuildStep

Add a helper method to find the default build target for a CMakeBuildStep
based on the BuildStepList the step is part of. Use all/install/clean
targets as appropriate.

Change-Id: Idc0c5fae7dfd255039b87ace77c02688cdd76e8f
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
Tobias Hunger
2019-07-23 13:05:07 +02:00
parent 29df009cef
commit 8b9821440d
2 changed files with 15 additions and 8 deletions

View File

@@ -98,6 +98,8 @@ private:
void doRun() override;
ProjectExplorer::BuildStepConfigWidget *createConfigWidget() override;
QString defaultBuildTarget() const;
void runImpl();
void handleProjectWasParsed(bool success);