mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-19 12:50:48 -05:00
ENH: better format for ADD_SUBDIRECTORY command
This commit is contained in:
@@ -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 "
|
||||
|
||||
Reference in New Issue
Block a user