forked from qt-creator/qt-creator
CMake: Make cmake build step available to all build step lists
"cmake --build ." is useful to build, clean and deploy, so offer it
everywhere.
This fixes soft asserts as a side effect when loading cmake projects with
existing "cmake --build . --target=clean" in their clean steps.
Cherry-pick of 63f31a1e4b
from master.
Change-Id: I39e5866f6012b9ea1153da324e4abd1cd25fea92
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -573,7 +573,6 @@ CMakeBuildStepFactory::CMakeBuildStepFactory()
|
||||
registerStep<CMakeBuildStep>(Constants::CMAKE_BUILD_STEP_ID);
|
||||
setDisplayName(tr("Build", "Display name for CMakeProjectManager::CMakeBuildStep id."));
|
||||
setSupportedProjectType(Constants::CMAKEPROJECT_ID);
|
||||
setSupportedStepList(ProjectExplorer::Constants::BUILDSTEPS_BUILD);
|
||||
}
|
||||
|
||||
void CMakeBuildStep::processStarted()
|
||||
|
Reference in New Issue
Block a user