Explorar o código

cmGlobalGenerator: Rename the FinalizeCompileDefinitions method.

This will soon also finalize include directories.
Stephen Kelly %!s(int64=12) %!d(string=hai) anos
pai
achega
3305364f83
Modificáronse 2 ficheiros con 3 adicións e 3 borrados
  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;
     return;
     }
     }
 
 
-  this->FinalizeTargetCompileDefinitions();
+  this->FinalizeTargetCompileInfo();
 
 
 #ifdef CMAKE_BUILD_WITH_CMAKE
 #ifdef CMAKE_BUILD_WITH_CMAKE
   // Iterate through all targets and set up automoc for those which have
   // 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.
   // Construct per-target generator information.
   for(unsigned int i=0; i < this->LocalGenerators.size(); ++i)
   for(unsigned int i=0; i < this->LocalGenerators.size(); ++i)

+ 1 - 1
Source/cmGlobalGenerator.h

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