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. Change-Id: I39e5866f6012b9ea1153da324e4abd1cd25fea92 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -568,7 +568,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