diff options
author | Tobias Hunger <tobias.hunger@qt.io> | 2016-11-14 15:18:25 +0100 |
---|---|---|
committer | Tim Jenssen <tim.jenssen@qt.io> | 2016-11-15 09:30:59 +0000 |
commit | 53d45de8a0d5d9efacbf208f25ba75b47414838e (patch) | |
tree | 92b49e44c3c78ce0ce94110dc64a06900241f5cb /src/plugins/cmakeprojectmanager/cmakeprojectplugin.h | |
parent | 6fe3d3bde9eed4027b37c88c7d75a62c89ce25f6 (diff) |
CMake: Allow to build target from context menu of CMakeTargetNodes
Change-Id: I0457abd6dabea1699272482eb5f7fbb3ca097310
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
Diffstat (limited to 'src/plugins/cmakeprojectmanager/cmakeprojectplugin.h')
-rw-r--r-- | src/plugins/cmakeprojectmanager/cmakeprojectplugin.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/plugins/cmakeprojectmanager/cmakeprojectplugin.h b/src/plugins/cmakeprojectmanager/cmakeprojectplugin.h index 73d4df1d6d6..961c965983e 100644 --- a/src/plugins/cmakeprojectmanager/cmakeprojectplugin.h +++ b/src/plugins/cmakeprojectmanager/cmakeprojectplugin.h @@ -29,8 +29,16 @@ #include <QObject> +namespace ProjectExplorer { +class Node; +class Project; +} // namespace ProjectExplorer + +namespace Utils { class ParameterAction; } + namespace CMakeProjectManager { +class CMakeProject; class CMakeToolManager; namespace Internal { @@ -53,6 +61,11 @@ private slots: void testCMakeSplitValue_data(); void testCMakeSplitValue(); #endif + +private: + void updateContextActions(ProjectExplorer::Node *node, ProjectExplorer::Project *project); + + Utils::ParameterAction *m_buildTargetContextAction; }; } // namespace Internal |