summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2009-09-03 19:29:29 (GMT)
committerKen Martin <ken.martin@kitware.com>2009-09-03 19:29:29 (GMT)
commitf686dbecb6c25178954b8190e95a3a265e9b2813 (patch)
tree9007c583a292169aec33d7a193de95ca91e6ea41 /Source
parent5624be360e555f3a4505f69cae3f582b2e4e835a (diff)
downloadCMake-f686dbecb6c25178954b8190e95a3a265e9b2813.zip
CMake-f686dbecb6c25178954b8190e95a3a265e9b2813.tar.gz
CMake-f686dbecb6c25178954b8190e95a3a265e9b2813.tar.bz2
some white space fixes for the book
Diffstat (limited to 'Source')
-rw-r--r--Source/cmAddExecutableCommand.h3
-rw-r--r--Source/cmAddLibraryCommand.h3
-rw-r--r--Source/cmDefinePropertyCommand.h2
-rw-r--r--Source/cmDocumentVariables.cxx2
-rw-r--r--Source/cmEnableLanguageCommand.h2
-rw-r--r--Source/cmFindCommon.cxx4
-rw-r--r--Source/cmListCommand.h4
-rw-r--r--Source/cmSetCommand.h4
-rw-r--r--Source/cmSetDirectoryPropertiesCommand.h2
-rw-r--r--Source/cmSubdirCommand.h3
-rw-r--r--Source/cmTryRunCommand.h2
11 files changed, 17 insertions, 14 deletions
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 "