forked from qt-creator/qt-creator
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:
committed by
Tim Jenssen
parent
6fe3d3bde9
commit
53d45de8a0
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user