diff options
author | Brad King <brad.king@kitware.com> | 2022-09-26 11:49:17 -0400 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2022-09-26 15:43:04 -0400 |
commit | 8d6f015d59262c53cda4394defaba9b4ae1278dd (patch) | |
tree | 3e8088fa7a17805197443de9fec0f70ec6a0971d /Source/cmGlobalVisualStudio7Generator.cxx | |
parent | eb6e2ef7f61de1dd4ff6ec39e886d5fa8cf9aea7 (diff) | |
download | cmake-8d6f015d59262c53cda4394defaba9b4ae1278dd.tar.gz |
Drop Visual Studio 10 2010 generator
This generator has been deprecated since CMake 3.22. Remove it.
Diffstat (limited to 'Source/cmGlobalVisualStudio7Generator.cxx')
-rw-r--r-- | Source/cmGlobalVisualStudio7Generator.cxx | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/Source/cmGlobalVisualStudio7Generator.cxx b/Source/cmGlobalVisualStudio7Generator.cxx index e53ae8ea91..7bf3c3a902 100644 --- a/Source/cmGlobalVisualStudio7Generator.cxx +++ b/Source/cmGlobalVisualStudio7Generator.cxx @@ -303,26 +303,6 @@ void cmGlobalVisualStudio7Generator::Generate() this->CallVisualStudioMacro(MacroReload, GetSLNFile(this->LocalGenerators[0].get())); } - - if (this->Version == VSVersion::VS10 && - !this->CMakeInstance->GetIsInTryCompile()) { - std::string cmakeWarnVS10; - if (cmValue cached = this->CMakeInstance->GetState()->GetCacheEntryValue( - "CMAKE_WARN_VS10")) { - this->CMakeInstance->MarkCliAsUsed("CMAKE_WARN_VS10"); - cmakeWarnVS10 = *cached; - } else { - cmSystemTools::GetEnv("CMAKE_WARN_VS10", cmakeWarnVS10); - } - if (cmakeWarnVS10.empty() || !cmIsOff(cmakeWarnVS10)) { - this->CMakeInstance->IssueMessage( - MessageType::WARNING, - "The \"Visual Studio 10 2010\" generator is deprecated " - "and will be removed in a future version of CMake." - "\n" - "Add CMAKE_WARN_VS10=OFF to the cache to disable this warning."); - } - } } void cmGlobalVisualStudio7Generator::OutputSLNFile( |