forked from qt-creator/qt-creator
CMake: Support building a single file
Fixes: QTCREATORBUG-18898 Change-Id: I0ec24b20bfa8d43093b6e6681ddd752fbdea2088 Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
committed by
Orgad Shaneh
parent
a7345b67c1
commit
b500119fd7
@@ -27,6 +27,8 @@
|
||||
|
||||
#include <projectexplorer/project.h>
|
||||
|
||||
namespace Utils { class ParameterAction; }
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
class QAction;
|
||||
QT_END_NAMESPACE
|
||||
@@ -46,11 +48,17 @@ private:
|
||||
void clearCMakeCache(ProjectExplorer::Project *project);
|
||||
void runCMake(ProjectExplorer::Project *project);
|
||||
void rescanProject(ProjectExplorer::Project *project);
|
||||
void buildFileContextMenu();
|
||||
void buildFile(ProjectExplorer::Node *node = nullptr);
|
||||
void updateBuildFileAction();
|
||||
void enableBuildFileMenus(ProjectExplorer::Node *node);
|
||||
|
||||
QAction *m_runCMakeAction;
|
||||
QAction *m_clearCMakeCacheAction;
|
||||
QAction *m_runCMakeActionContextMenu;
|
||||
QAction *m_rescanProjectAction;
|
||||
QAction *m_buildFileContextMenu;
|
||||
Utils::ParameterAction *m_buildFileAction;
|
||||
};
|
||||
|
||||
} // namespace Internal
|
||||
|
||||
Reference in New Issue
Block a user