CMake: Add a command to trigger parsing of CMake reply file

Add a command to trigger the parsing of a given CMake file-api
reply file. This is important to have to help with debugging file-api
issues like QTCREATORBUG-24044.

Change-Id: Iadaa5cf01b9b6ddddf4e6ad669bb05928c6f29a5
Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
Tobias Hunger
2020-06-10 10:58:35 +02:00
parent 8c830f79e7
commit 346b28f5f9
2 changed files with 45 additions and 5 deletions

View File

@@ -53,11 +53,15 @@ private:
void updateBuildFileAction();
void enableBuildFileMenus(ProjectExplorer::Node *node);
// Debugging helper:
void parseAndValidateCMakeReplyFile();
QAction *m_runCMakeAction;
QAction *m_clearCMakeCacheAction;
QAction *m_runCMakeActionContextMenu;
QAction *m_rescanProjectAction;
QAction *m_buildFileContextMenu;
QAction *m_parseAndValidateCMakeReplyFileAction;
Utils::ParameterAction *m_buildFileAction;
};