aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/cmakeprojectmanager/cmakebuildstep.h
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@qt.io>2019-07-23 13:05:07 +0200
committerTobias Hunger <tobias.hunger@qt.io>2019-07-24 08:50:55 +0000
commit8b9821440d0c74083476f5b80c7212de71d4013a (patch)
treea7e31723ac6820c7238bd216f8a7a7fb314737a6 /src/plugins/cmakeprojectmanager/cmakebuildstep.h
parent29df009cefda9bd740fcb8095f0728aa344843e1 (diff)
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>
Diffstat (limited to 'src/plugins/cmakeprojectmanager/cmakebuildstep.h')
-rw-r--r--src/plugins/cmakeprojectmanager/cmakebuildstep.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/cmakeprojectmanager/cmakebuildstep.h b/src/plugins/cmakeprojectmanager/cmakebuildstep.h
index 9b906f883f..51f621abc7 100644
--- a/src/plugins/cmakeprojectmanager/cmakebuildstep.h
+++ b/src/plugins/cmakeprojectmanager/cmakebuildstep.h
@@ -98,6 +98,8 @@ private:
void doRun() override;
ProjectExplorer::BuildStepConfigWidget *createConfigWidget() override;
+ QString defaultBuildTarget() const;
+
void runImpl();
void handleProjectWasParsed(bool success);