summaryrefslogtreecommitdiffstats
path: root/Source/cmComputeLinkDepends.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-07-06 20:25:20 (GMT)
committerBrad King <brad.king@kitware.com>2009-07-06 20:25:20 (GMT)
commit06b0a692f45288eb4c8f3da9cde719583d2584be (patch)
tree2e08ee425f1aa3f14fabc91677359faefe83d5b4 /Source/cmComputeLinkDepends.h
parent26df00f83a73821e39e20624d3ca7f66fdd4db97 (diff)
downloadCMake-06b0a692f45288eb4c8f3da9cde719583d2584be.zip
CMake-06b0a692f45288eb4c8f3da9cde719583d2584be.tar.gz
CMake-06b0a692f45288eb4c8f3da9cde719583d2584be.tar.bz2
ENH: Centralize default link interface computation
When LINK_INTERFACE_LIBRARIES is not set we use the link implementation to implicitly define the link interface. These changes centralize the decision so that all linkable targets internally have a link interface.
Diffstat (limited to 'Source/cmComputeLinkDepends.h')
-rw-r--r--Source/cmComputeLinkDepends.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/cmComputeLinkDepends.h b/Source/cmComputeLinkDepends.h
index c48447a..d692010 100644
--- a/Source/cmComputeLinkDepends.h
+++ b/Source/cmComputeLinkDepends.h
@@ -83,8 +83,7 @@ private:
AllocateLinkEntry(std::string const& item);
int AddLinkEntry(int depender_index, std::string const& item);
void AddVarLinkEntries(int depender_index, const char* value);
- void AddTargetLinkEntries(int depender_index,
- LinkLibraryVectorType const& libs);
+ void AddDirectLinkEntries();
void AddLinkEntries(int depender_index,
std::vector<std::string> const& libs);
cmTarget* FindTargetToLink(int depender_index, const char* name);