diff options
| author | Brad King <brad.king@kitware.com> | 2023-06-14 13:17:50 (GMT) |
|---|---|---|
| committer | Kitware Robot <kwrobot@kitware.com> | 2023-06-14 13:17:53 (GMT) |
| commit | e06b2a526c0d0e8f671b32e28da02176df345ad3 (patch) | |
| tree | a95eb360538886d33cec6a785e77925f5d2d0ba4 /Source/cmVisualStudio10TargetGenerator.cxx | |
| parent | c42fb292e928463b30546aea43d73a121741e5bb (diff) | |
| parent | 536c1de1d442c46c23e40ae7b3f60f1a34b11134 (diff) | |
| download | CMake-e06b2a526c0d0e8f671b32e28da02176df345ad3.zip CMake-e06b2a526c0d0e8f671b32e28da02176df345ad3.tar.gz CMake-e06b2a526c0d0e8f671b32e28da02176df345ad3.tar.bz2 | |
Merge topic 'remove-vs11-generator'
536c1de1d4 Drop Visual Studio 11 2012 generator
f444f172c3 cmVisualStudio10TargetGenerator: Remove unused VS-10-only code
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !8562
Diffstat (limited to 'Source/cmVisualStudio10TargetGenerator.cxx')
| -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); |
