forked from qt-creator/qt-creator
CMake: Do leave the project configuration alone on reparses
This keeps user-overrides made via other tools visible in Creator. Change-Id: Ice07bebb2b82f29ecae83e442bc2090af7f2ee06 Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
This commit is contained in:
@@ -156,10 +156,6 @@ void CMakeBuildConfiguration::ctor()
|
|||||||
|
|
||||||
void CMakeBuildConfiguration::maybeForceReparse()
|
void CMakeBuildConfiguration::maybeForceReparse()
|
||||||
{
|
{
|
||||||
ProjectExplorer::Kit *k = target()->kit();
|
|
||||||
CMakeConfig config = cmakeConfiguration();
|
|
||||||
config.append(CMakeConfigurationKitInformation::configuration(k)); // last value wins...
|
|
||||||
setCMakeConfiguration(config);
|
|
||||||
m_buildDirManager->maybeForceReparse();
|
m_buildDirManager->maybeForceReparse();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user