diff options
author | Brad King <brad.king@kitware.com> | 2006-01-13 23:33:51 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2006-01-13 23:33:51 (GMT) |
commit | 327489ae590087064cbff1f924b8a44c8e835557 (patch) | |
tree | bf2acb0404d00c731a213cdfd92268aa0135aaa9 /Source | |
parent | 22c62c9e65817e25b077f88222c682efa0188ccb (diff) | |
download | CMake-327489ae590087064cbff1f924b8a44c8e835557.zip CMake-327489ae590087064cbff1f924b8a44c8e835557.tar.gz CMake-327489ae590087064cbff1f924b8a44c8e835557.tar.bz2 |
COMP: Removed unused paramter from cmLocalGenerator::OutputLinkLibraries.
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmLocalGenerator.cxx | 5 | ||||
-rw-r--r-- | Source/cmLocalGenerator.h | 2 | ||||
-rw-r--r-- | Source/cmLocalUnixMakefileGenerator3.cxx | 4 |
3 files changed, 5 insertions, 6 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx index 28e32c8..ed6e372 100644 --- a/Source/cmLocalGenerator.cxx +++ b/Source/cmLocalGenerator.cxx @@ -1223,7 +1223,7 @@ void cmLocalGenerator::GetTargetFlags(std::string& linkLibs, linkFlags += " "; } cmOStringStream linklibsStr; - this->OutputLinkLibraries(linklibsStr, target.GetName(), target); + this->OutputLinkLibraries(linklibsStr, target); linkLibs = linklibsStr.str(); } break; @@ -1256,7 +1256,7 @@ void cmLocalGenerator::GetTargetFlags(std::string& linkLibs, flags += m_Makefile->GetSafeDefinition(sharedFlagsVar.c_str()); flags += " "; cmOStringStream linklibs; - this->OutputLinkLibraries(linklibs, 0, target); + this->OutputLinkLibraries(linklibs, target); linkLibs = linklibs.str(); if(cmSystemTools::IsOn(m_Makefile->GetDefinition("BUILD_SHARED_LIBS"))) { @@ -1296,7 +1296,6 @@ void cmLocalGenerator::GetTargetFlags(std::string& linkLibs, * to the name of the library. This will not link a library against itself. */ void cmLocalGenerator::OutputLinkLibraries(std::ostream& fout, - const char* targetLibrary, cmTarget &tgt) { // Try to emit each search path once diff --git a/Source/cmLocalGenerator.h b/Source/cmLocalGenerator.h index 72fe169..a30217a 100644 --- a/Source/cmLocalGenerator.h +++ b/Source/cmLocalGenerator.h @@ -174,7 +174,7 @@ protected: cmTarget&target); ///! put all the libraries for a target on into the given stream - virtual void OutputLinkLibraries(std::ostream&, const char* name,cmTarget &); + virtual void OutputLinkLibraries(std::ostream&, cmTarget&); /** Compute the string to use to refer to a target in an install file. */ diff --git a/Source/cmLocalUnixMakefileGenerator3.cxx b/Source/cmLocalUnixMakefileGenerator3.cxx index e4d6b69..e484a3c 100644 --- a/Source/cmLocalUnixMakefileGenerator3.cxx +++ b/Source/cmLocalUnixMakefileGenerator3.cxx @@ -1523,7 +1523,7 @@ cmLocalUnixMakefileGenerator3 // Collect up flags to link in needed libraries. cmOStringStream linklibs; - this->OutputLinkLibraries(linklibs, 0, target); + this->OutputLinkLibraries(linklibs, target); // Construct object file lists that may be needed to expand the // rule. @@ -1868,7 +1868,7 @@ cmLocalUnixMakefileGenerator3 // Collect up flags to link in needed libraries. cmOStringStream linklibs; - this->OutputLinkLibraries(linklibs, target.GetName(), target); + this->OutputLinkLibraries(linklibs, target); // Construct object file lists that may be needed to expand the // rule. |