|
|
@@ -6001,6 +6001,22 @@ cmTarget::LinkInterface const* cmTarget::GetLinkInterface(const char* config,
|
|
|
return i->second.Exists? &i->second : 0;
|
|
|
}
|
|
|
|
|
|
+//----------------------------------------------------------------------------
|
|
|
+void cmTarget::GetTransitivePropertyLinkLibraries(
|
|
|
+ const char* config,
|
|
|
+ cmTarget *headTarget,
|
|
|
+ std::vector<std::string> &libs)
|
|
|
+{
|
|
|
+ cmTarget::LinkInterface const* iface = this->GetLinkInterface(config,
|
|
|
+ headTarget);
|
|
|
+ if (!iface)
|
|
|
+ {
|
|
|
+ return;
|
|
|
+ }
|
|
|
+
|
|
|
+ libs = iface->Libraries;
|
|
|
+}
|
|
|
+
|
|
|
//----------------------------------------------------------------------------
|
|
|
bool cmTarget::ComputeLinkInterface(const char* config, LinkInterface& iface,
|
|
|
cmTarget *headTarget)
|