diff options
author | Brad King <brad.king@kitware.com> | 2020-09-03 19:38:25 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2020-09-08 18:52:22 (GMT) |
commit | 8bb5c96bf8bc363afa5da09ce1979614565d31ba (patch) | |
tree | 6eb38a64f7c482e9936b3e4af548ee2d9a523af8 /Source/cmLocalVisualStudio10Generator.cxx | |
parent | aea465793e9744fcda0c26dad14c0620b7448f14 (diff) | |
download | CMake-8bb5c96bf8bc363afa5da09ce1979614565d31ba.zip CMake-8bb5c96bf8bc363afa5da09ce1979614565d31ba.tar.gz CMake-8bb5c96bf8bc363afa5da09ce1979614565d31ba.tar.bz2 |
cmLocalVisualStudio7Generator: Adopt SourcesVisited lookup table
Move it up the hierarchy from `cmLocalVisualStudio10Generator`.
Propagate contents from a target's dependencies as part of the main
target iteration logic instead of as part of the generator-specific
target generation.
Diffstat (limited to 'Source/cmLocalVisualStudio10Generator.cxx')
-rw-r--r-- | Source/cmLocalVisualStudio10Generator.cxx | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/Source/cmLocalVisualStudio10Generator.cxx b/Source/cmLocalVisualStudio10Generator.cxx index 98e9db9..3ed49a0 100644 --- a/Source/cmLocalVisualStudio10Generator.cxx +++ b/Source/cmLocalVisualStudio10Generator.cxx @@ -68,13 +68,6 @@ cmLocalVisualStudio10Generator::~cmLocalVisualStudio10Generator() void cmLocalVisualStudio10Generator::GenerateTarget(cmGeneratorTarget* target) { - auto& targetVisited = this->GetSourcesVisited(target); - auto& deps = this->GlobalGenerator->GetTargetDirectDepends(target); - for (auto& d : deps) { - // Take the union of visited source files of custom commands - auto depVisited = this->GetSourcesVisited(d); - targetVisited.insert(depVisited.begin(), depVisited.end()); - } if (static_cast<cmGlobalVisualStudioGenerator*>(this->GlobalGenerator) ->TargetIsFortranOnly(target)) { this->cmLocalVisualStudio7Generator::GenerateTarget(target); |