diff options
author | Brad King <brad.king@kitware.com> | 2023-06-13 17:47:28 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2023-06-13 17:47:28 (GMT) |
commit | f444f172c3c00c3aa61395a9eb3a80fef6bd9528 (patch) | |
tree | 389bd1f27d086ee84242d4cfd5a1ee6ec58c199c | |
parent | 09028bed4c8fe0fde6172bb2ca7783eea27ea89f (diff) | |
download | CMake-f444f172c3c00c3aa61395a9eb3a80fef6bd9528.zip CMake-f444f172c3c00c3aa61395a9eb3a80fef6bd9528.tar.gz CMake-f444f172c3c00c3aa61395a9eb3a80fef6bd9528.tar.bz2 |
cmVisualStudio10TargetGenerator: Remove unused VS-10-only code
Remove code that is not used since commit 8d6f015d59 (Drop Visual Studio
10 2010 generator, 2022-09-26, v3.25.0-rc1~78^2).
-rw-r--r-- | Source/cmVisualStudio10TargetGenerator.cxx | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/Source/cmVisualStudio10TargetGenerator.cxx b/Source/cmVisualStudio10TargetGenerator.cxx index 7975018..5887ca2 100644 --- a/Source/cmVisualStudio10TargetGenerator.cxx +++ b/Source/cmVisualStudio10TargetGenerator.cxx @@ -2533,18 +2533,6 @@ void cmVisualStudio10TargetGenerator::WriteAllSources(Elem& e0) break; case cmGeneratorTarget::SourceKindExternalObject: tool = "Object"; - if (this->LocalGenerator->GetVersion() < - cmGlobalVisualStudioGenerator::VSVersion::VS11) { - // For VS == 10 we cannot use LinkObjects to avoid linking custom - // command outputs. If an object file is generated in this target, - // then vs10 will use it in the build, and we have to list it as - // None instead of Object. - std::vector<cmSourceFile*> const* d = - this->GeneratorTarget->GetSourceDepends(si.Source); - if (d && !d->empty()) { - tool = "None"; - } - } break; case cmGeneratorTarget::SourceKindExtra: this->WriteExtraSource(e1, si.Source, toolSettings); |