summaryrefslogtreecommitdiffstats
path: root/Source/cmSubdirCommand.h
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2004-03-09 21:28:44 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2004-03-09 21:28:44 (GMT)
commitddb815c12542f80f42562877298a73fab39bb4ca (patch)
tree825a90988e4710274a656b8f9bf7f32b7d0827fa /Source/cmSubdirCommand.h
parentbf699505bc7fc378abf07ec4dfa0f0cc4fb89686 (diff)
downloadCMake-ddb815c12542f80f42562877298a73fab39bb4ca.zip
CMake-ddb815c12542f80f42562877298a73fab39bb4ca.tar.gz
CMake-ddb815c12542f80f42562877298a73fab39bb4ca.tar.bz2
ENH: add new subdirectory exclude from top option
Diffstat (limited to 'Source/cmSubdirCommand.h')
-rw-r--r--Source/cmSubdirCommand.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/Source/cmSubdirCommand.h b/Source/cmSubdirCommand.h
index c5fda34..fce1985 100644
--- a/Source/cmSubdirCommand.h
+++ b/Source/cmSubdirCommand.h
@@ -62,10 +62,15 @@ public:
virtual const char* GetFullDocumentation()
{
return
- " SUBDIRS(dir1 dir2 ...)\n"
+ " SUBDIRS(dir1 dir2 ...[EXCLUDE_FROM_ALL exclude_dir1 exclude_dir2 ...])\n"
"Add a list of subdirectories to the build. "
"This will cause any CMakeLists.txt files in the sub directories "
- "to be processed by CMake.";
+ "to be processed by CMake. Any directories after the EXCLUDE_FROM_ALL marker "
+ "will not be included in the top level makefile or project file. This is useful"
+ " for having cmake create makefiles or projects for a set of examples in a project."
+ "You would want cmake to generated makefiles or project files for all the examples at"
+ " the same time, but you would not want them to show up in the top level project or be built"
+ " each time make is run from the top.";
}
cmTypeMacro(cmSubdirCommand, cmCommand);