diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2002-05-02 17:17:10 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2002-05-02 17:17:10 (GMT) |
commit | 27fe57b716555ffa31b16e98841c7f1a82228740 (patch) | |
tree | 361f44d30ef7bdba9c37b389824ac9670801177e /Source/cmTarget.cxx | |
parent | b5b46599feb33d7f873faca6215f1717ddd209e6 (diff) | |
download | CMake-27fe57b716555ffa31b16e98841c7f1a82228740.zip CMake-27fe57b716555ffa31b16e98841c7f1a82228740.tar.gz CMake-27fe57b716555ffa31b16e98841c7f1a82228740.tar.bz2 |
ENH: change LINK_LIBRARY to add to targets
Diffstat (limited to 'Source/cmTarget.cxx')
-rw-r--r-- | Source/cmTarget.cxx | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx index 2c27c9c..8b12ab0 100644 --- a/Source/cmTarget.cxx +++ b/Source/cmTarget.cxx @@ -67,16 +67,6 @@ void cmTarget::GenerateSourceFilesFromSourceLists( cmMakefile &mf) } } -void cmTarget::MergeLibraries(const LinkLibraries &ll) -{ - m_LinkLibraries.insert( m_LinkLibraries.end(), ll.begin(), ll.end() ); -} - -void cmTarget::MergeDirectories(const std::vector<std::string> &ld) -{ - m_LinkDirectories.insert( m_LinkDirectories.end(), ld.begin(), ld.end() ); -} - void cmTarget::AddLinkLibrary(const std::string& lib, LinkLibraryType llt) @@ -276,7 +266,9 @@ void cmTarget::Emit( const std::string& lib, { // It's already been emitted if( emitted.find(lib) != emitted.end() ) + { return; + } // If this library hasn't been visited before, then emit all its // dependencies before emitting the library itself. If it has been |