diff options
author | Ken Martin <ken.martin@kitware.com> | 2005-07-27 15:33:39 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2005-07-27 15:33:39 (GMT) |
commit | ccc292e4b0f0d0a5b8cd991b694163cc5b5435a0 (patch) | |
tree | ba7911db529d948df8baa1016f74ce8c51041291 /Source | |
parent | 6cc7bca222bce5fb6a074d7b6ffff5d0464b82e1 (diff) | |
download | CMake-ccc292e4b0f0d0a5b8cd991b694163cc5b5435a0.zip CMake-ccc292e4b0f0d0a5b8cd991b694163cc5b5435a0.tar.gz CMake-ccc292e4b0f0d0a5b8cd991b694163cc5b5435a0.tar.bz2 |
ENH: fix some warnings and cleanup some
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmLocalUnixMakefileGenerator3.cxx | 7 | ||||
-rw-r--r-- | Source/cmLocalUnixMakefileGenerator3.h | 5 |
2 files changed, 3 insertions, 9 deletions
diff --git a/Source/cmLocalUnixMakefileGenerator3.cxx b/Source/cmLocalUnixMakefileGenerator3.cxx index ee3312d..4f09b1b 100644 --- a/Source/cmLocalUnixMakefileGenerator3.cxx +++ b/Source/cmLocalUnixMakefileGenerator3.cxx @@ -423,10 +423,7 @@ cmLocalUnixMakefileGenerator3 //---------------------------------------------------------------------------- void cmLocalUnixMakefileGenerator3 -::WriteObjectDependRules(std::ostream& ruleFileStream, - std::string &obj, - const char * lang, - cmSourceFile& source, +::WriteObjectDependRules(cmSourceFile& source, std::vector<std::string>& depends) { // Create the list of dependencies known at cmake time. These are @@ -462,7 +459,7 @@ cmLocalUnixMakefileGenerator3 std::string ruleFileNameFull = this->ConvertToFullPath(ruleFileName); // generate the depend scanning rule - this->WriteObjectDependRules(ruleFileStream, obj, lang, source, depends); + this->WriteObjectDependRules(source, depends); this->AppendRuleDepend(depends, ruleFileNameFull.c_str()); diff --git a/Source/cmLocalUnixMakefileGenerator3.h b/Source/cmLocalUnixMakefileGenerator3.h index a9f94aa..1a4fae2 100644 --- a/Source/cmLocalUnixMakefileGenerator3.h +++ b/Source/cmLocalUnixMakefileGenerator3.h @@ -212,10 +212,7 @@ protected: std::ostream &filestr); // write the depend.make file for an object - void WriteObjectDependRules(std::ostream& ruleFileStream, - std::string& obj, - const char *lang, - cmSourceFile& source, + void WriteObjectDependRules(cmSourceFile& source, std::vector<std::string>& depends); // this is used only by WriteObjectDependFile |