diff options
author | Brad King <brad.king@kitware.com> | 2009-07-07 13:45:29 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2009-07-07 13:45:29 (GMT) |
commit | 34f78ee552694e95e20a312869632da06cbd1569 (patch) | |
tree | bb988444096af8d03c12117b3493b3e69971f9b4 /Source/cmComputeLinkDepends.cxx | |
parent | a60846718048e33db01e7993ba7d6fa994e0c8b5 (diff) | |
download | CMake-34f78ee552694e95e20a312869632da06cbd1569.zip CMake-34f78ee552694e95e20a312869632da06cbd1569.tar.gz CMake-34f78ee552694e95e20a312869632da06cbd1569.tar.bz2 |
ENH: Simplify cmTarget link interface storage
This makes the LinkInterface struct a member of cmTarget, pimplizes the
config-to-interface map, and stores interface instances by value.
Diffstat (limited to 'Source/cmComputeLinkDepends.cxx')
-rw-r--r-- | Source/cmComputeLinkDepends.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmComputeLinkDepends.cxx b/Source/cmComputeLinkDepends.cxx index 52f4cc8..ef6926a 100644 --- a/Source/cmComputeLinkDepends.cxx +++ b/Source/cmComputeLinkDepends.cxx @@ -356,7 +356,7 @@ void cmComputeLinkDepends::FollowLinkEntry(BFSEntry const& qe) if(entry.Target) { // Follow the target dependencies. - if(cmTargetLinkInterface const* iface = + if(cmTarget::LinkInterface const* iface = entry.Target->GetLinkInterface(this->Config)) { // This target provides its own link interface information. @@ -431,7 +431,7 @@ void cmComputeLinkDepends::HandleSharedDependency(SharedDepEntry const& dep) // Target items may have their own dependencies. if(entry.Target) { - if(cmTargetLinkInterface const* iface = + if(cmTarget::LinkInterface const* iface = entry.Target->GetLinkInterface(this->Config)) { // We use just the shared dependencies, not the interface. |