Преглед на файлове

STYLE: fix typos in the docs

Alex
Alexander Neundorf преди 16 години
родител
ревизия
bc9703b695
променени са 4 файла, в които са добавени 8 реда и са изтрити 8 реда
  1. 5 5
      Source/cmDocumentVariables.cxx
  2. 1 1
      Source/cmFindPackageCommand.cxx
  3. 1 1
      Source/cmake.cxx
  4. 1 1
      Source/cmakemain.cxx

+ 5 - 5
Source/cmDocumentVariables.cxx

@@ -67,7 +67,7 @@ void cmDocumentVariables::DefineVariables(cmake* cm)
      "Variables that Provide Information");
   cm->DefineProperty
     ("CMAKE_BUILD_TOOL", cmProperty::VARIABLE,
-     "Tool used for the acutal build process.",
+     "Tool used for the actual build process.",
      "This variable is set to the program that will be"
      " needed to build the output of CMake.   If the "
      "generator selected was Visual Studio 6, the "
@@ -263,7 +263,7 @@ void cmDocumentVariables::DefineVariables(cmake* cm)
     ("CMAKE_SKIP_RPATH", cmProperty::VARIABLE,
      "If true, do not add run time path information.",
      "If this is set to TRUE, then the rpath information "
-     "is not added to compiled executables.  The default"
+     "is not added to compiled executables.  The default "
      "is to add rpath information if the platform supports it."
      "This allows for easy running from the build tree.",false,
      "Variables that Provide Information");
@@ -338,7 +338,7 @@ void cmDocumentVariables::DefineVariables(cmake* cm)
     ("CMAKE_IMPORT_LIBRARY_SUFFIX", cmProperty::VARIABLE,
      "The suffix for import  libraries that you link to.",
      "The suffix to use for the end of an import library if used "
-     "onthis platform.",
+     "on this platform.",
      false,
      "Variables that Provide Information");
   cm->DefineProperty
@@ -450,7 +450,7 @@ void cmDocumentVariables::DefineVariables(cmake* cm)
   cm->DefineProperty
     ("CMAKE_MODULE_PATH", cmProperty::VARIABLE,
      "Path to look for cmake modules to load.",
-     "Specifies a path to override the default seach path for "
+     "Specifies a path to override the default search path for "
      "CMake modules. For example include commands will look "
      "in this path first for modules to include.",
      false,
@@ -603,7 +603,7 @@ void cmDocumentVariables::DefineVariables(cmake* cm)
   cm->DefineProperty
     ("CMAKE_SYSTEM", cmProperty::VARIABLE,
      "Name of system cmake is compiling for.",
-     "This variable is the composite of CMAKE_SYSTEM_NAME"
+     "This variable is the composite of CMAKE_SYSTEM_NAME "
      "and CMAKE_SYSTEM_VERSION, like this "
      "${CMAKE_SYSTEM_NAME}-${CMAKE_SYSTEM_VERSION}. "
      "If CMAKE_SYSTEM_VERSION is not set, then "

+ 1 - 1
Source/cmFindPackageCommand.cxx

@@ -169,7 +169,7 @@ cmFindPackageCommand::cmFindPackageCommand()
     "numbers.  "
     "Package version numbers are checked by \"version\" files provided by "
     "the packages themselves.  "
-    "For a candidate package confguration file \"<config-file>.cmake\" the "
+    "For a candidate package configuration file \"<config-file>.cmake\" the "
     "corresponding version file is located next to it and named either "
     "\"<config-file>-version.cmake\" or \"<config-file>Version.cmake\".  "
     "If no such version file is available then the configuration file "

+ 1 - 1
Source/cmake.cxx

@@ -3443,7 +3443,7 @@ void cmake::DefineProperties(cmake *cm)
     ("ENABLED_LANGUAGES", cmProperty::GLOBAL,
      "Read-only property that contains the list of currently "
      "enabled languages",
-     "Set to list of currently enabled lanauges.");
+     "Set to list of currently enabled languages.");
 
   cm->DefineProperty
     ("RULE_LAUNCH_COMPILE", cmProperty::GLOBAL,

+ 1 - 1
Source/cmakemain.cxx

@@ -76,7 +76,7 @@ static const char * cmDocumentationOptions[][3] =
   {"-E", "CMake command mode.",
    "For true platform independence, CMake provides a list of commands "
    "that can be used on all systems. Run with -E help for the usage "
-   "information. Commands availble are: chdir, copy, copy_if_different "
+   "information. Commands available are: chdir, copy, copy_if_different "
    "copy_directory, compare_files, echo, echo_append, environment, "
    "make_directory, md5sum, remove_directory, remove, tar, time, "
    "touch, touch_nocreate, write_regv, delete_regv, comspec, "