|
|
@@ -31,6 +31,16 @@ void cmGlobalVisualStudio7Generator
|
|
|
mf->AddDefinition("CMAKE_GENERATOR_NO_COMPILER_ENV", "1");
|
|
|
mf->AddDefinition("CMAKE_GENERATOR_FC", "ifort");
|
|
|
this->AddPlatformDefinitions(mf);
|
|
|
+ if(!mf->GetDefinition("CMAKE_CONFIGURATION_TYPES"))
|
|
|
+ {
|
|
|
+ mf->AddCacheDefinition(
|
|
|
+ "CMAKE_CONFIGURATION_TYPES",
|
|
|
+ "Debug;Release;MinSizeRel;RelWithDebInfo",
|
|
|
+ "Semicolon separated list of supported configuration types, "
|
|
|
+ "only supports Debug, Release, MinSizeRel, and RelWithDebInfo, "
|
|
|
+ "anything else will be ignored.",
|
|
|
+ cmCacheManager::STRING);
|
|
|
+ }
|
|
|
|
|
|
// Create list of configurations requested by user's cache, if any.
|
|
|
this->cmGlobalGenerator::EnableLanguage(lang, mf, optional);
|