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.
This commit is contained in:
Brad King
2009-07-07 09:45:29 -04:00
parent a608467180
commit 34f78ee552
4 changed files with 51 additions and 86 deletions
+1 -1
View File
@@ -150,7 +150,7 @@ cmExportFileGenerator
}
// Add the transitive link dependencies for this configuration.
if(cmTargetLinkInterface const* iface = target->GetLinkInterface(config))
if(cmTarget::LinkInterface const* iface = target->GetLinkInterface(config))
{
this->SetImportLinkProperty(suffix, target,
"IMPORTED_LINK_INTERFACE_LIBRARIES",