Просмотр исходного кода

cmGlobalGenerator: Rename the FinalizeCompileDefinitions method.

This will soon also finalize include directories.
Stephen Kelly 12 лет назад
Родитель
Сommit
3305364f83
2 измененных файлов с 3 добавлено и 3 удалено
  1. 2 2
      Source/cmGlobalGenerator.cxx
  2. 1 1
      Source/cmGlobalGenerator.h

+ 2 - 2
Source/cmGlobalGenerator.cxx

@@ -1059,7 +1059,7 @@ void cmGlobalGenerator::Generate()
     return;
     }
 
-  this->FinalizeTargetCompileDefinitions();
+  this->FinalizeTargetCompileInfo();
 
 #ifdef CMAKE_BUILD_WITH_CMAKE
   // Iterate through all targets and set up automoc for those which have
@@ -1270,7 +1270,7 @@ void cmGlobalGenerator::CreateQtAutoGeneratorsTargets(AutogensType &autogens)
 }
 
 //----------------------------------------------------------------------------
-void cmGlobalGenerator::FinalizeTargetCompileDefinitions()
+void cmGlobalGenerator::FinalizeTargetCompileInfo()
 {
   // Construct per-target generator information.
   for(unsigned int i=0; i < this->LocalGenerators.size(); ++i)

+ 1 - 1
Source/cmGlobalGenerator.h

@@ -397,7 +397,7 @@ private:
 
   void WriteSummary();
   void WriteSummary(cmTarget* target);
-  void FinalizeTargetCompileDefinitions();
+  void FinalizeTargetCompileInfo();
 
   virtual void PrintCompilerAdvice(std::ostream& os, std::string lang,
                                    const char* envVar);