cmHeadToLinkInterfaceMap: Port to cmGeneratorTarget.

This commit is contained in:
Stephen Kelly committed 2015-10-12 18:39:58 +02:00
1 parent 9ca4cae51e
commit 61c02decce
2 files changed
+5 -4

No files matched your search

+3 -3
View File
@@ -4490,7 +4490,7 @@ cmGeneratorTarget::GetLinkInterface(const std::string& config,
return &hm.begin()->second;
}
cmOptionalLinkInterface& iface = hm[head->Target];
cmOptionalLinkInterface& iface = hm[head];
if(!iface.LibrariesDone)
{
iface.LibrariesDone = true;
@@ -4642,7 +4642,7 @@ cmGeneratorTarget::GetLinkInterfaceLibraries(const std::string& config,
return &hm.begin()->second;
}
cmOptionalLinkInterface& iface = hm[head->Target];
cmOptionalLinkInterface& iface = hm[head];
if(!iface.LibrariesDone)
{
iface.LibrariesDone = true;
@@ -5079,7 +5079,7 @@ cmGeneratorTarget::GetImportLinkInterface(const std::string& config,
return &hm.begin()->second;
}
cmOptionalLinkInterface& iface = hm[headTarget->Target];
cmOptionalLinkInterface& iface = hm[headTarget];
if(!iface.AllDone)
{
iface.AllDone = true;
+2 -1
View File
@@ -15,6 +15,7 @@
#include "cmListFileCache.h"
class cmGeneratorTarget;
class cmTarget;
// Basic information about each link item.
@@ -97,7 +98,7 @@ struct cmOptionalLinkInterface: public cmLinkInterface
};
struct cmHeadToLinkInterfaceMap:
public std::map<cmTarget const*, cmOptionalLinkInterface>
public std::map<cmGeneratorTarget const*, cmOptionalLinkInterface>
{
};