forked from qt-creator/qt-creator
CMake: Remove some unnecessary code
The build directory going to get set up either in doInitialize or in fromMap, both using magic hidden in BuildConfiguration itself. Change-Id: I1aeb59f56d63f0affd50b45cc937e606af6da7b4 Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
@@ -65,11 +65,6 @@ CMakeBuildConfiguration::CMakeBuildConfiguration(Target *target, Core::Id id)
|
|||||||
{
|
{
|
||||||
m_buildSystem = new CMakeBuildSystem(this);
|
m_buildSystem = new CMakeBuildSystem(this);
|
||||||
|
|
||||||
setBuildDirectory(shadowBuildDirectory(project()->projectFilePath(),
|
|
||||||
target->kit(),
|
|
||||||
displayName(),
|
|
||||||
BuildConfiguration::Unknown));
|
|
||||||
|
|
||||||
buildDirectoryAspect()->setFileDialogOnly(true);
|
buildDirectoryAspect()->setFileDialogOnly(true);
|
||||||
|
|
||||||
appendInitialBuildStep(Constants::CMAKE_BUILD_STEP_ID);
|
appendInitialBuildStep(Constants::CMAKE_BUILD_STEP_ID);
|
||||||
|
Reference in New Issue
Block a user