Ver código fonte

STYLE: fix docs

Ken Martin 20 anos atrás
pai
commit
0629e2561c

+ 1 - 1
Source/cmConfigureFileCommand.h

@@ -72,7 +72,7 @@ public:
         "variables. If @ONLY is specified, only variables "
         "of the form @VAR@ will be replaces and ${VAR} will be ignored.  "
         "This is useful for configuring scripts that use ${VAR}. "
-        "Any occurances of #cmakedefine VAR will be replaced with "
+        "Any occurrences of #cmakedefine VAR will be replaced with "
         "either #define VAR or /* #undef VAR */ depending on "
         "the setting of VAR in CMake";
     }

+ 4 - 4
Source/cmCreateTestSourceList.h

@@ -68,12 +68,12 @@ public:
       "a single executable.  This is useful when building static executables "
       "with large libraries to shrink the total required size.  "
       "The list of source files "
-      "needed to build the testdriver will be in SourceListName.  "
+      "needed to build the test driver will be in SourceListName.  "
       "DriverName is the name of the test driver program.  The rest of "
       "the arguments consist of a list of test source files, can be "
-      "; separated.  Each test source file should have a function in it that "
-      "is the same name as the file with no extension (foo.cxx should have "
-      "int foo();) DriverName will be able to call each of the tests by "
+      "semicolon separated.  Each test source file should have a function in "
+      "it that is the same name as the file with no extension (foo.cxx should "
+      "have int foo();) DriverName will be able to call each of the tests by "
       "name on the command line. If EXTRA_INCLUDE is specified, then the "
       "next argument is included into the generated file. If FUNCTION is "
       "specified, then the next argument is taken as a function name that "

+ 1 - 1
Source/cmElseCommand.h

@@ -66,7 +66,7 @@ public:
     {
     return
       "  ELSE(expression)\n"
-      "See IF command.";
+      "See the IF command.";
     }
   
   cmTypeMacro(cmElseCommand, cmCommand);

+ 1 - 1
Source/cmEnableLanguageCommand.h

@@ -64,7 +64,7 @@ public:
     {
     return
       "  ENABLE_LANGUAGE(languageName)\n"
-      " This command enables support for the named language in CMake.";
+      "This command enables support for the named language in CMake.";
     }
   
   cmTypeMacro(cmEnableLanguageCommand, cmCommand);

+ 2 - 2
Source/cmEnableTestingCommand.h

@@ -70,9 +70,9 @@ public:
     return
       "  ENABLE_TESTING()\n"
       "Enables testing for this directory and below.  "
-      "See also the ADD_TEST command.  Note that Dart expects to find "
+      "See also the ADD_TEST command.  Note that ctest expects to find "
       "a test file in the build directory root.  Therefore, this command "
-      "should be in the source directory root too.";
+      "should be in the source directory root.";
     }
   
   cmTypeMacro(cmEnableTestingCommand, cmCommand);

+ 1 - 1
Source/cmEndForEachCommand.h

@@ -72,7 +72,7 @@ public:
     {
     return
       "  ENDFOREACH(expression)\n"
-      "See FOREACH command.";
+      "See the FOREACH command.";
     }
   
   cmTypeMacro(cmEndForEachCommand, cmCommand);

+ 1 - 1
Source/cmEndIfCommand.h

@@ -66,7 +66,7 @@ public:
     {
     return
       "  ENDIF(expression)\n"
-      "See IF command.";
+      "See the IF command.";
     }
   
   cmTypeMacro(cmEndIfCommand, cmCommand);

+ 1 - 1
Source/cmEndWhileCommand.h

@@ -72,7 +72,7 @@ public:
     {
     return
       "  ENDWHILE(expression)\n"
-      "See WHILE command.";
+      "See the WHILE command.";
     }
   
   cmTypeMacro(cmEndWhileCommand, cmCommand);