forked from qt-creator/qt-creator
CMake: Save all files before running cmake wizard
Task-number: QTCREATORBUG-9537 Change-Id: Ie5e4ffd33a9a9108c2e12bf8e71d932f6586053c Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
@@ -115,6 +115,9 @@ void CMakeManager::runCMake(ProjectExplorer::Project *project)
|
||||
if (!cmakeProject || !cmakeProject->activeTarget() || !cmakeProject->activeTarget()->activeBuildConfiguration())
|
||||
return;
|
||||
|
||||
if (!ProjectExplorer::ProjectExplorerPlugin::instance()->saveModifiedFiles())
|
||||
return;
|
||||
|
||||
CMakeBuildConfiguration *bc
|
||||
= static_cast<CMakeBuildConfiguration *>(cmakeProject->activeTarget()->activeBuildConfiguration());
|
||||
|
||||
|
Reference in New Issue
Block a user