CMake: Use a setup function for CMakeBuildConfigurationFactory

The class itself is still used by IosCMakeBuildConfigurationFactory.

Change-Id: I9fd979fc8e24c9f032b35c1f3444c28d06f86d0a
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
This commit is contained in:
hjk
2024-01-29 14:45:04 +01:00
parent 7323c97ada
commit a615b236e5
3 changed files with 10 additions and 1 deletions

View File

@@ -2254,5 +2254,11 @@ void ConfigureEnvironmentAspect::toMap(Store &map) const
map.insert(USER_ENVIRONMENT_CHANGES_KEY, tmpMap.value(CHANGES_KEY).toStringList());
}
void setupCMakeBuildConfiguration()
{
static CMakeBuildConfigurationFactory theCMakeBuildConfigurationFactory;
}
} // namespace Internal
} // namespace CMakeProjectManager