mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
ENH: Patch from Alex to make deprecated command documentation more consistent.
This commit is contained in:
@@ -53,7 +53,7 @@ public:
|
||||
*/
|
||||
virtual const char* GetTerseDocumentation()
|
||||
{
|
||||
return "Add a list of subdirectories to the build.";
|
||||
return "Deprecated. Use the ADD_SUBDIRECTORY() command instead.";
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -62,6 +62,7 @@ public:
|
||||
virtual const char* GetFullDocumentation()
|
||||
{
|
||||
return
|
||||
"Add a list of subdirectories to the build.\n";
|
||||
" SUBDIRS(dir1 dir2 ..."
|
||||
"[EXCLUDE_FROM_ALL exclude_dir1 exclude_dir2 ...] [PREORDER] )\n"
|
||||
"Add a list of subdirectories to the build. The ADD_SUBDIRECTORY "
|
||||
|
||||
Reference in New Issue
Block a user