CMake: Allow to build target from context menu of CMakeTargetNodes

Change-Id: I0457abd6dabea1699272482eb5f7fbb3ca097310
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
Tobias Hunger
2016-11-14 15:18:25 +01:00
committed by Tim Jenssen
parent 6fe3d3bde9
commit 53d45de8a0
8 changed files with 115 additions and 7 deletions

View File

@@ -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