mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-05 13:20:47 -06:00
cmGlobalVisualStudioGenerator: Drop VS7 enumeration value
We no longer support the VS 7.0 (.NET 2002) IDE, so drop the enumeration value corresponding to its version.
This commit is contained in:
@@ -54,7 +54,6 @@ cmGlobalVisualStudio7Generator::cmGlobalVisualStudio7Generator(
|
|||||||
this->DefaultPlatformName = platformName;
|
this->DefaultPlatformName = platformName;
|
||||||
}
|
}
|
||||||
this->ExtraFlagTable = cmVS7ExtraFlagTable;
|
this->ExtraFlagTable = cmVS7ExtraFlagTable;
|
||||||
this->Version = VS7;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
cmGlobalVisualStudio7Generator::~cmGlobalVisualStudio7Generator()
|
cmGlobalVisualStudio7Generator::~cmGlobalVisualStudio7Generator()
|
||||||
|
|||||||
@@ -32,7 +32,6 @@ public:
|
|||||||
/** Known versions of Visual Studio. */
|
/** Known versions of Visual Studio. */
|
||||||
enum VSVersion
|
enum VSVersion
|
||||||
{
|
{
|
||||||
VS7 = 70,
|
|
||||||
VS71 = 71,
|
VS71 = 71,
|
||||||
VS8 = 80,
|
VS8 = 80,
|
||||||
VS9 = 90,
|
VS9 = 90,
|
||||||
|
|||||||
@@ -681,11 +681,11 @@ void cmQtAutoGeneratorInitializer::InitializeAutogenTarget(
|
|||||||
if (gg->GetName().find("Visual Studio") != std::string::npos) {
|
if (gg->GetName().find("Visual Studio") != std::string::npos) {
|
||||||
cmGlobalVisualStudioGenerator* vsgg =
|
cmGlobalVisualStudioGenerator* vsgg =
|
||||||
static_cast<cmGlobalVisualStudioGenerator*>(gg);
|
static_cast<cmGlobalVisualStudioGenerator*>(gg);
|
||||||
// Under VS >= 7 use a PRE_BUILD event instead of a separate target to
|
// Under VS use a PRE_BUILD event instead of a separate target to
|
||||||
// reduce the number of targets loaded into the IDE.
|
// reduce the number of targets loaded into the IDE.
|
||||||
// This also works around a VS 11 bug that may skip updating the target:
|
// This also works around a VS 11 bug that may skip updating the target:
|
||||||
// https://connect.microsoft.com/VisualStudio/feedback/details/769495
|
// https://connect.microsoft.com/VisualStudio/feedback/details/769495
|
||||||
usePRE_BUILD = vsgg->GetVersion() >= cmGlobalVisualStudioGenerator::VS7;
|
usePRE_BUILD = true;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
@@ -101,7 +101,6 @@ void cmVisualStudioGeneratorOptions::FixExceptionHandlingDefault()
|
|||||||
// the flag to disable exception handling. When the user does
|
// the flag to disable exception handling. When the user does
|
||||||
// remove the flag we need to override the IDE default of on.
|
// remove the flag we need to override the IDE default of on.
|
||||||
switch (this->Version) {
|
switch (this->Version) {
|
||||||
case cmGlobalVisualStudioGenerator::VS7:
|
|
||||||
case cmGlobalVisualStudioGenerator::VS71:
|
case cmGlobalVisualStudioGenerator::VS71:
|
||||||
this->FlagMap["ExceptionHandling"] = "FALSE";
|
this->FlagMap["ExceptionHandling"] = "FALSE";
|
||||||
break;
|
break;
|
||||||
|
|||||||
Reference in New Issue
Block a user