diff options
author | Ken Martin <ken.martin@kitware.com> | 2009-09-03 19:29:29 (GMT) |
---|---|---|
committer | Ken Martin <ken.martin@kitware.com> | 2009-09-03 19:29:29 (GMT) |
commit | f686dbecb6c25178954b8190e95a3a265e9b2813 (patch) | |
tree | 9007c583a292169aec33d7a193de95ca91e6ea41 | |
parent | 5624be360e555f3a4505f69cae3f582b2e4e835a (diff) | |
download | CMake-f686dbecb6c25178954b8190e95a3a265e9b2813.zip CMake-f686dbecb6c25178954b8190e95a3a265e9b2813.tar.gz CMake-f686dbecb6c25178954b8190e95a3a265e9b2813.tar.bz2 |
some white space fixes for the book
-rw-r--r-- | Modules/CPack.cmake | 5 | ||||
-rw-r--r-- | Modules/FeatureSummary.cmake | 16 | ||||
-rw-r--r-- | Source/cmAddExecutableCommand.h | 3 | ||||
-rw-r--r-- | Source/cmAddLibraryCommand.h | 3 | ||||
-rw-r--r-- | Source/cmDefinePropertyCommand.h | 2 | ||||
-rw-r--r-- | Source/cmDocumentVariables.cxx | 2 | ||||
-rw-r--r-- | Source/cmEnableLanguageCommand.h | 2 | ||||
-rw-r--r-- | Source/cmFindCommon.cxx | 4 | ||||
-rw-r--r-- | Source/cmListCommand.h | 4 | ||||
-rw-r--r-- | Source/cmSetCommand.h | 4 | ||||
-rw-r--r-- | Source/cmSetDirectoryPropertiesCommand.h | 2 | ||||
-rw-r--r-- | Source/cmSubdirCommand.h | 3 | ||||
-rw-r--r-- | Source/cmTryRunCommand.h | 2 |
13 files changed, 29 insertions, 23 deletions
diff --git a/Modules/CPack.cmake b/Modules/CPack.cmake index 0f0d880..6c30af8 100644 --- a/Modules/CPack.cmake +++ b/Modules/CPack.cmake @@ -375,8 +375,9 @@ # UPLOAD_DIRECTORY is the local directory where CPack will create the # various archives for each of the components. The contents of this # directory should be uploaded to a location accessible by the URL given -# in the site argument. If omitted, CPack will use the directory CPackUploads -# inside the CMake binary directory to store the generated archives. +# in the site argument. If omitted, CPack will use the directory +# CPackUploads inside the CMake binary directory to store the generated +# archives. # # The ALL flag indicates that all components be downloaded. Otherwise, only # those components explicitly marked as DOWNLOADED or that have a specified diff --git a/Modules/FeatureSummary.cmake b/Modules/FeatureSummary.cmake index 788ad02..f2aff47 100644 --- a/Modules/FeatureSummary.cmake +++ b/Modules/FeatureSummary.cmake @@ -2,19 +2,21 @@ # # PRINT_ENABLED_FEATURES() # Print a summary of all enabled features. By default all successfull -# FIND_PACKAGE() calls will appear here, except the ones which used the QUIET keyword. -# Additional features can be added by appending an entry to the global ENABLED_FEATURES -# property. If SET_FEATURE_INFO() is used for that feature, the output will be much -# more informative. +# FIND_PACKAGE() calls will appear here, except the ones which used the +# QUIET keyword. Additional features can be added by appending an entry +# to the global ENABLED_FEATURES property. If SET_FEATURE_INFO() is +# used for that feature, the output will be much more informative. # # PRINT_DISABLED_FEATURES() -# Same as PRINT_ENABLED_FEATURES(), but for disabled features. It can be extended -# the same way by adding to the global property DISABLED_FEATURES. +# Same as PRINT_ENABLED_FEATURES(), but for disabled features. It can +# be extended the same way by adding to the global property +# DISABLED_FEATURES. # # SET_FEATURE_INFO(NAME DESCRIPTION [URL [COMMENT] ] ) # Use this macro to set up information about the named feature, which will # then be displayed by PRINT_ENABLED/DISABLED_FEATURES(). -# Example: SET_FEATURE_INFO(LibXml2 "XML processing library." "http://xmlsoft.org/") +# Example: SET_FEATURE_INFO(LibXml2 "XML processing library." +# "http://xmlsoft.org/") # diff --git a/Source/cmAddExecutableCommand.h b/Source/cmAddExecutableCommand.h index 7492a6e..e02baae 100644 --- a/Source/cmAddExecutableCommand.h +++ b/Source/cmAddExecutableCommand.h @@ -63,7 +63,8 @@ public: virtual const char* GetFullDocumentation() { return - " add_executable(<name> [WIN32] [MACOSX_BUNDLE] [EXCLUDE_FROM_ALL]\n" + " add_executable(<name> [WIN32] [MACOSX_BUNDLE]\n" + " [EXCLUDE_FROM_ALL]\n" " source1 source2 ... sourceN)\n" "Adds an executable target called <name> to be built from the " "source files listed in the command invocation. " diff --git a/Source/cmAddLibraryCommand.h b/Source/cmAddLibraryCommand.h index 6cad681..ec1f151 100644 --- a/Source/cmAddLibraryCommand.h +++ b/Source/cmAddLibraryCommand.h @@ -62,7 +62,8 @@ public: virtual const char* GetFullDocumentation() { return - " add_library(<name> [STATIC | SHARED | MODULE] [EXCLUDE_FROM_ALL]\n" + " add_library(<name> [STATIC | SHARED | MODULE]\n" + " [EXCLUDE_FROM_ALL]\n" " source1 source2 ... sourceN)\n" "Adds a library target called <name> to be built from the " "source files listed in the command invocation. " diff --git a/Source/cmDefinePropertyCommand.h b/Source/cmDefinePropertyCommand.h index c63c310..58f93cb 100644 --- a/Source/cmDefinePropertyCommand.h +++ b/Source/cmDefinePropertyCommand.h @@ -68,7 +68,7 @@ public: " DIRECTORY = associated with one directory\n" " TARGET = associated with one target\n" " SOURCE = associated with one source file\n" - " TEST = associated with a test named with add_test command\n" + " TEST = associated with a test named with add_test\n" " VARIABLE = documents a CMake language variable\n" " CACHED_VARIABLE = documents a CMake cache variable\n" "Note that unlike set_property and get_property no actual scope " diff --git a/Source/cmDocumentVariables.cxx b/Source/cmDocumentVariables.cxx index 4932237..f6997cf 100644 --- a/Source/cmDocumentVariables.cxx +++ b/Source/cmDocumentVariables.cxx @@ -632,7 +632,7 @@ void cmDocumentVariables::DefineVariables(cmake* cm) "the shared MFC library. This is used in visual " "studio 6 and 7 project files. The CMakeSetup " "dialog uses MFC and the CMakeLists.txt looks like this:\n" - "ADD_DEFINITIONS(-D_AFXDLL)\n" + "add_definitions(-D_AFXDLL)\n" "set(CMAKE_MFC_FLAG 2)\n" "add_executable(CMakeSetup WIN32 ${SRCS})\n",false, "Variables That Change Behavior"); diff --git a/Source/cmEnableLanguageCommand.h b/Source/cmEnableLanguageCommand.h index 937a804..dd9459f 100644 --- a/Source/cmEnableLanguageCommand.h +++ b/Source/cmEnableLanguageCommand.h @@ -68,7 +68,7 @@ public: "This command enables support for the named language in CMake. " "This is the same as the project command but does not create " "any of the extra variables that are created by the project command. " - "Example languages are CXX, C, Fortran.\n" + "Example languages are CXX, C, Fortran. " "If OPTIONAL is used, use the CMAKE_<languageName>_COMPILER_WORKS " "variable to check whether the language has been enabled successfully."; } diff --git a/Source/cmFindCommon.cxx b/Source/cmFindCommon.cxx index daa8bd4..d051b4c 100644 --- a/Source/cmFindCommon.cxx +++ b/Source/cmFindCommon.cxx @@ -49,7 +49,7 @@ cmFindCommon::cmFindCommon() " \"LAST\" - Try to find frameworks after standard\n" " libraries or headers.\n" " \"ONLY\" - Only try to find frameworks.\n" - " \"NEVER\". - Never try to find frameworks.\n" + " \"NEVER\" - Never try to find frameworks.\n" "On Darwin or systems supporting OS X Application Bundles, the cmake " "variable CMAKE_FIND_APPBUNDLE can be set to empty or one of the " "following:\n" @@ -58,7 +58,7 @@ cmFindCommon::cmFindCommon() " \"LAST\" - Try to find application bundles after standard\n" " programs.\n" " \"ONLY\" - Only try to find application bundles.\n" - " \"NEVER\". - Never try to find application bundles.\n"; + " \"NEVER\" - Never try to find application bundles.\n"; this->GenericDocumentationRootPath = "The CMake variable CMAKE_FIND_ROOT_PATH specifies one or more " "directories to be prepended to all other search directories. " diff --git a/Source/cmListCommand.h b/Source/cmListCommand.h index 2e4538b..db14193 100644 --- a/Source/cmListCommand.h +++ b/Source/cmListCommand.h @@ -66,8 +66,8 @@ public: { return " list(LENGTH <list> <output variable>)\n" - " list(GET <list> <element index> [<element index> ...] " - "<output variable>)\n" + " list(GET <list> <element index> [<element index> ...]\n" + " <output variable>)\n" " list(APPEND <list> <element> [<element> ...])\n" " list(FIND <list> <value> <output variable>)\n" " list(INSERT <list> <element_index> <element> [<element> ...])\n" diff --git a/Source/cmSetCommand.h b/Source/cmSetCommand.h index 39d0bc3..c2b65c4 100644 --- a/Source/cmSetCommand.h +++ b/Source/cmSetCommand.h @@ -66,8 +66,8 @@ public: virtual const char* GetFullDocumentation() { return - " set(<variable> <value> [[CACHE <type> <docstring> [FORCE]] | " - "PARENT_SCOPE])\n" + " set(<variable> <value>\n" + " [[CACHE <type> <docstring> [FORCE]] | PARENT_SCOPE])\n" "Within CMake sets <variable> to the value <value>. <value> is expanded" " before <variable> is set to it. If CACHE is present, then the " "<variable> is put in the cache. <type> and <docstring> are then " diff --git a/Source/cmSetDirectoryPropertiesCommand.h b/Source/cmSetDirectoryPropertiesCommand.h index aed9f67..0c54e6b 100644 --- a/Source/cmSetDirectoryPropertiesCommand.h +++ b/Source/cmSetDirectoryPropertiesCommand.h @@ -70,7 +70,7 @@ public: "Set a property for the current directory and subdirectories. If the " "property is not found, CMake will report an error. The properties " "include: INCLUDE_DIRECTORIES, LINK_DIRECTORIES, " - "INCLUDE_REGULAR_EXPRESSION, and ADDITIONAL_MAKE_CLEAN_FILES.\n" + "INCLUDE_REGULAR_EXPRESSION, and ADDITIONAL_MAKE_CLEAN_FILES. " "ADDITIONAL_MAKE_CLEAN_FILES is a list of files that will be cleaned " "as a part of \"make clean\" stage."; } diff --git a/Source/cmSubdirCommand.h b/Source/cmSubdirCommand.h index 1e79bd8..8a1cbbc 100644 --- a/Source/cmSubdirCommand.h +++ b/Source/cmSubdirCommand.h @@ -65,7 +65,8 @@ public: return "Add a list of subdirectories to the build.\n" " subdirs(dir1 dir2 ..." - "[EXCLUDE_FROM_ALL exclude_dir1 exclude_dir2 ...] [PREORDER] )\n" + "[EXCLUDE_FROM_ALL exclude_dir1 exclude_dir2 ...]\n + " [PREORDER] )\n" "Add a list of subdirectories to the build. The add_subdirectory " "command should be used instead of subdirs although subdirs will " "still work. " diff --git a/Source/cmTryRunCommand.h b/Source/cmTryRunCommand.h index a839fe4..cfbd14d 100644 --- a/Source/cmTryRunCommand.h +++ b/Source/cmTryRunCommand.h @@ -77,7 +77,7 @@ public: "the compile step goes. RUN_OUTPUT_VARIABLE specifies the variable " "where the output from the running executable goes.\n" "For compatibility reasons OUTPUT_VARIABLE is still supported, which " - "gives you the output from the compile and run step combined.\n\n" + "gives you the output from the compile and run step combined.\n" "Cross compiling issues\n" "When cross compiling, the executable compiled in the first step " "usually cannot be run on the build host. try_run() checks the " |