Nicolas Despres 14 سال پیش
والد
کامیت
d0b3a7fa48

+ 1 - 1
Source/cmGlobalGenerator.h

@@ -90,7 +90,7 @@ public:
                                             cmMakefile* mf);
 
   /**
-   * Try running cmake and building a file. This is used for dynalically
+   * Try running cmake and building a file. This is used for dynamically
    * loaded commands, not as part of the usual build process.
    */
   virtual int TryCompile(const char *srcdir, const char *bindir,

+ 1 - 1
Source/cmGlobalUnixMakefileGenerator3.h

@@ -90,7 +90,7 @@ public:
   void WriteHelpRule(std::ostream& ruleFileStream,
                      cmLocalUnixMakefileGenerator3 *);
 
-  // write the top lvel target rules
+  // write the top level target rules
   void WriteConvenienceRules(std::ostream& ruleFileStream,
                              std::set<cmStdString> &emitted);
 

+ 1 - 1
Source/cmGlobalVisualStudio7Generator.h

@@ -48,7 +48,7 @@ public:
                               cmMakefile *, bool optional);
 
   /**
-   * Try running cmake and building a file. This is used for dynalically
+   * Try running cmake and building a file. This is used for dynamically
    * loaded commands, not as part of the usual build process.
    */
   virtual std::string GenerateBuildCommand(const char* makeProgram,

+ 2 - 2
Source/cmLocalGenerator.h

@@ -25,7 +25,7 @@ class cmCustomCommand;
  * \brief Create required build files for a directory.
  *
  * Subclasses of this abstract class generate makefiles, DSP, etc for various
- * platforms. This class should never be constructued directly. A
+ * platforms. This class should never be constructed directly. A
  * GlobalGenerator will create it and invoke the appropriate commands on it.
  */
 class cmLocalGenerator
@@ -90,7 +90,7 @@ public:
   void SetGlobalGenerator(cmGlobalGenerator *gg);
 
   /**
-   * Convert something to something else. This is a centralized coversion
+   * Convert something to something else. This is a centralized conversion
    * routine used by the generators to handle relative paths and the like.
    * The flags determine what is actually done.
    *

+ 1 - 1
Source/cmLocalUnixMakefileGenerator3.h

@@ -161,7 +161,7 @@ public:
   // used in writing out Cmake files such as WriteDirectoryInformation
   static void WriteCMakeArgument(std::ostream& os, const char* s);
 
-  /** creates the common disclainer text at the top of each makefile */
+  /** creates the common disclaimer text at the top of each makefile */
   void WriteDisclaimer(std::ostream& os);
 
   // write a  comment line #====... in the stream

+ 2 - 2
Source/cmake.cxx

@@ -2881,7 +2881,7 @@ int cmake::CheckBuildSystem()
     return 1;
     }
 
-  // Find find the newest dependency.
+  // Find the newest dependency.
   std::vector<std::string>::iterator dep = depends.begin();
   std::string dep_newest = *dep++;
   for(;dep != depends.end(); ++dep)
@@ -2907,7 +2907,7 @@ int cmake::CheckBuildSystem()
       }
     }
 
-  // Find find the oldest output.
+  // Find the oldest output.
   std::vector<std::string>::iterator out = outputs.begin();
   std::string out_oldest = *out++;
   for(;out != outputs.end(); ++out)