diff options
author | Tobias Hunger <tobias.hunger@qt.io> | 2019-07-23 13:05:07 +0200 |
---|---|---|
committer | Tobias Hunger <tobias.hunger@qt.io> | 2019-07-24 08:50:55 +0000 |
commit | 8b9821440d0c74083476f5b80c7212de71d4013a (patch) | |
tree | a7e31723ac6820c7238bd216f8a7a7fb314737a6 /src/plugins/cmakeprojectmanager/cmakebuildstep.h | |
parent | 29df009cefda9bd740fcb8095f0728aa344843e1 (diff) | |
download | qt-creator-8b9821440d0c74083476f5b80c7212de71d4013a.tar.gz |
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.h | 2 |
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); |