diff options
author | Christian Kandeler <christian.kandeler@qt.io> | 2019-12-04 17:23:02 +0100 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@qt.io> | 2019-12-05 14:18:06 +0000 |
commit | 4933f7911114fd37a806be651593a9f54b6e8b53 (patch) | |
tree | 37fe187003919e802f43022a2ffaa0c2c1474cb4 /src/plugins/projectexplorer/projectexplorersettings.h | |
parent | 24f7c2b8faa497694498c716d27d931e94148277 (diff) | |
download | qt-creator-4933f7911114fd37a806be651593a9f54b6e8b53.tar.gz |
ProjectExplorer: Provide the option to build only the app to be run
... instead of the entire project.
This can speed up the development cycle by ignoring irrelevant changes
in the project, potentially at the cost of missing parts that actually
should be re-built (in particular with build systems where a product
does not have full knowledge of its dependencies).
Supported by qmake and qbs for now.
Change-Id: Ic7101aa243e92ba139798d13366d256c1919dcc3
Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'src/plugins/projectexplorer/projectexplorersettings.h')
-rw-r--r-- | src/plugins/projectexplorer/projectexplorersettings.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/plugins/projectexplorer/projectexplorersettings.h b/src/plugins/projectexplorer/projectexplorersettings.h index 920f849fe1..f8314b665b 100644 --- a/src/plugins/projectexplorer/projectexplorersettings.h +++ b/src/plugins/projectexplorer/projectexplorersettings.h @@ -35,13 +35,14 @@ namespace Internal { enum class TerminalMode { On, Off, Smart }; enum class AppOutputPaneMode { FlashOnOutput, PopupOnOutput, PopupOnFirstOutput }; +enum class BuildBeforeRunMode { Off, WholeProject, AppOnly }; class ProjectExplorerSettings { public: enum StopBeforeBuild { StopNone = 0, StopSameProject, StopAll, StopSameBuildDir }; - bool buildBeforeDeploy = true; + BuildBeforeRunMode buildBeforeDeploy = BuildBeforeRunMode::WholeProject; bool deployBeforeRun = true; bool saveBeforeBuild = false; bool useJom = true; |