diff options
author | Christian Kandeler <christian.kandeler@digia.com> | 2013-07-26 12:16:33 +0200 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@digia.com> | 2013-07-26 15:14:02 +0200 |
commit | 080277e8ae1b057620a12530fd1c0c10aacc45cd (patch) | |
tree | 438ed6104d8ca24d7e43fbed09c36f038d710827 /src/plugins/cmakeprojectmanager/cmakeprojectconstants.h | |
parent | 78fc4383724f6c778d870e3039e99f0a0a6ebf16 (diff) |
Do not offer CMake-specific wizards if that plugin is not enabled.
Rationale:
a) For people not interested in CMake, the wizards unnecessarily
clutter the UI. If unhandled, this problem would get worse the more
build systems we support.
b) If such a wizard is actually used in the absence of the plugin,
nothing visible will happen after it has finished, which is guaranteed
to confuse users.
Change-Id: I070409d3185b11d2e04e33927a97843e60c657ff
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@digia.com>
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
Diffstat (limited to 'src/plugins/cmakeprojectmanager/cmakeprojectconstants.h')
-rw-r--r-- | src/plugins/cmakeprojectmanager/cmakeprojectconstants.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/cmakeprojectmanager/cmakeprojectconstants.h b/src/plugins/cmakeprojectmanager/cmakeprojectconstants.h index 040070d15b..19042982e1 100644 --- a/src/plugins/cmakeprojectmanager/cmakeprojectconstants.h +++ b/src/plugins/cmakeprojectmanager/cmakeprojectconstants.h @@ -40,6 +40,7 @@ const char CMAKE_EDITOR_DISPLAY_NAME[] = "CMake Editor"; const char C_CMAKEEDITOR[] = "CMakeProject.Context.CMakeEditor"; const char RUNCMAKE[] = "CMakeProject.RunCMake"; const char RUNCMAKECONTEXTMENU[] = "CMakeProject.RunCMakeContextMenu"; +const char CMAKE_SUPPORT_FEATURE[] = "CMake.CMakeSupport"; // Project const char CMAKEPROJECT_ID[] = "CMakeProjectManager.CMakeProject"; |