Ken Martin пре 20 година
родитељ
комит
ad46c80f7a
2 измењених фајлова са 4 додато и 4 уклоњено
  1. 3 3
      Source/cmLocalUnixMakefileGenerator3.cxx
  2. 1 1
      Source/cmLocalUnixMakefileGenerator3.h

+ 3 - 3
Source/cmLocalUnixMakefileGenerator3.cxx

@@ -144,7 +144,7 @@ void cmLocalUnixMakefileGenerator3::FormatOutputPath(std::string& path,
 
 
 void cmLocalUnixMakefileGenerator3
-::WriteCustomCommands(cmTarget &target,std::ostream& ruleFileStream,
+::WriteCustomCommands(std::ostream& ruleFileStream,
                       std::vector<std::string>& cleanFiles)
 {
   // add custom commands to the clean rules?
@@ -358,7 +358,7 @@ cmLocalUnixMakefileGenerator3
     {
     cmSystemTools::ExpandListArgument(additional_clean_files, cleanFiles);
     }  
-  this->WriteCustomCommands(target,ruleFileStream,cleanFiles);
+  this->WriteCustomCommands(ruleFileStream,cleanFiles);
 
   // Include the rule file for each object.
   std::string relPath = this->GetHomeRelativeOutputPath();
@@ -679,7 +679,7 @@ cmLocalUnixMakefileGenerator3
     {
     cmSystemTools::ExpandListArgument(additional_clean_files, cleanFiles);
     }  
-  this->WriteCustomCommands(target,ruleFileStream, cleanFiles);
+  this->WriteCustomCommands(ruleFileStream, cleanFiles);
 
   // Collect the commands and dependencies.
   std::vector<std::string> commands;

+ 1 - 1
Source/cmLocalUnixMakefileGenerator3.h

@@ -181,7 +181,7 @@ protected:
 
   // this is responsible for writing all of the rules for all this
   // directories custom commands (but not utility targets)
-  void WriteCustomCommands(cmTarget &target,std::ostream& os,
+  void WriteCustomCommands(std::ostream& os,
                            std::vector<std::string>& cleanFiles);
   
   // this method Writes the Directory informaiton files