forked from qt-creator/qt-creator
CMake: Do not create .cmake directories in source dir
Only initialize the CMakeBuildSystem after the CMakeBuildConfiguration has been fully set up. The "builddirectory" was still pointing to the source directory, so creater configured cmake in the source directory, leading to a useless directory being left in the source tree that does not belong there. Fixes: QTCREATORBUG-23816 Change-Id: I7c9b6ae1f8d999043e700cd9f2d56418c22f2abf Reviewed-by: Cristian Adam <cristian.adam@qt.io>
This commit is contained in:
@@ -214,10 +214,6 @@ CMakeBuildSystem::CMakeBuildSystem(CMakeBuildConfiguration *bc)
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
qCDebug(cmakeBuildSystemLog) << "Requesting parse due to initial CMake BuildSystem setup";
|
||||
m_buildDirManager.setParametersAndRequestParse(BuildDirParameters(m_buildConfiguration),
|
||||
BuildDirManager::REPARSE_CHECK_CONFIGURATION);
|
||||
}
|
||||
|
||||
CMakeBuildSystem::~CMakeBuildSystem()
|
||||
|
||||
Reference in New Issue
Block a user