summaryrefslogtreecommitdiffstats
path: root/Source/cmAddSubDirectoryCommand.h
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2005-09-12 17:46:16 (GMT)
committerKen Martin <ken.martin@kitware.com>2005-09-12 17:46:16 (GMT)
commit4cb9d2fd96cd39c17d194c62bff47a6ba45097db (patch)
treea52d6e106b29a862d3fa28f27949ab47535dbf68 /Source/cmAddSubDirectoryCommand.h
parent74918bfc8716dcea71f98da813f05d30ddc476eb (diff)
downloadCMake-4cb9d2fd96cd39c17d194c62bff47a6ba45097db.zip
CMake-4cb9d2fd96cd39c17d194c62bff47a6ba45097db.tar.gz
CMake-4cb9d2fd96cd39c17d194c62bff47a6ba45097db.tar.bz2
ENH: better format for ADD_SUBDIRECTORY command
Diffstat (limited to 'Source/cmAddSubDirectoryCommand.h')
-rw-r--r--Source/cmAddSubDirectoryCommand.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/Source/cmAddSubDirectoryCommand.h b/Source/cmAddSubDirectoryCommand.h
index c54659c..a5c4fe9 100644
--- a/Source/cmAddSubDirectoryCommand.h
+++ b/Source/cmAddSubDirectoryCommand.h
@@ -62,16 +62,17 @@ public:
virtual const char* GetFullDocumentation()
{
return
- " ADD_SUBDIRECTORY(binary_dir [source_dir]\n"
+ " ADD_SUBDIRECTORY(source_dir [binary_dir] \n"
" [EXCLUDE_FROM_ALL])\n"
- "Add a subdirectory to the build. The binary_dir specifies the "
- "directory in which to store the build files. If it is a relative "
- "path it will be evaluated with respect to the current output "
+ "Add a subdirectory to the build. The source_dir specifies the "
+ "directory in which the source CmakeLists.txt and code files are "
+ "located. If it is a relative "
+ "path it will be evaluated with respect to the current "
"directory (the typical usage), but it may also be an absolute path. "
- "The source_dir specifies the directory in which to find the source "
+ "The binary_dir specifies the directory in which to place the output "
"files. If it is a relative path it will be evaluated with respect "
- "to the current source directory, but it may also be an absolute "
- "path. If source_dir is not specified the value of binary_dir, "
+ "to the current otuput directory, but it may also be an absolute "
+ "path. If binary_dir is not specified, the value of source_dir, "
"before expanding any relative path, will be used (the typical usage). "
"The CMakeLists.txt file in the specified source directory will "
"be processed immediately by CMake before processing in the current "