summaryrefslogtreecommitdiffstats
path: root/Source/cmTarget.h
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2002-05-02 17:17:10 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2002-05-02 17:17:10 (GMT)
commit27fe57b716555ffa31b16e98841c7f1a82228740 (patch)
tree361f44d30ef7bdba9c37b389824ac9670801177e /Source/cmTarget.h
parentb5b46599feb33d7f873faca6215f1717ddd209e6 (diff)
downloadCMake-27fe57b716555ffa31b16e98841c7f1a82228740.zip
CMake-27fe57b716555ffa31b16e98841c7f1a82228740.tar.gz
CMake-27fe57b716555ffa31b16e98841c7f1a82228740.tar.bz2
ENH: change LINK_LIBRARY to add to targets
Diffstat (limited to 'Source/cmTarget.h')
-rw-r--r--Source/cmTarget.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/Source/cmTarget.h b/Source/cmTarget.h
index 6abdab2..124c04c 100644
--- a/Source/cmTarget.h
+++ b/Source/cmTarget.h
@@ -81,6 +81,7 @@ public:
const LinkLibraries &GetLinkLibraries() const {return m_LinkLibraries;}
const std::vector<std::string>& GetLinkDirectories() const {return m_LinkDirectories;}
+ void AddLinkDirectory(const char* d) { m_LinkDirectories.push_back(d);}
/**
* Set the path where this target should be installed. This is relative to
@@ -97,16 +98,6 @@ public:
LinkLibraryType llt);
/**
- * Merge Link Libraries into this targets current list
- */
- void MergeLibraries(const LinkLibraries &ll);
-
- /**
- * Merge Link Directories into this targets current list
- */
- void MergeDirectories(const std::vector<std::string> &ld);
-
- /**
* Generate the SourceFilesList from the SourceLists. This should only be
* done once to be safe.
*/