summaryrefslogtreecommitdiffstats
path: root/Source/cmIncludeCommand.h
diff options
context:
space:
mode:
authorAndy Cedilnik <andy.cedilnik@kitware.com>2004-03-28 00:52:34 (GMT)
committerAndy Cedilnik <andy.cedilnik@kitware.com>2004-03-28 00:52:34 (GMT)
commit451522381d510c02185ac8bfb75c3aa93b863fb4 (patch)
tree816471d0383addb49a84a784070b2b658f34fbff /Source/cmIncludeCommand.h
parentf00186f64b89955ca4ad3eca8aec2d99557e8324 (diff)
downloadCMake-451522381d510c02185ac8bfb75c3aa93b863fb4.zip
CMake-451522381d510c02185ac8bfb75c3aa93b863fb4.tar.gz
CMake-451522381d510c02185ac8bfb75c3aa93b863fb4.tar.bz2
ENH: Add support for importing modules without specifying path
Diffstat (limited to 'Source/cmIncludeCommand.h')
-rw-r--r--Source/cmIncludeCommand.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/Source/cmIncludeCommand.h b/Source/cmIncludeCommand.h
index 4f95f9c..a345959 100644
--- a/Source/cmIncludeCommand.h
+++ b/Source/cmIncludeCommand.h
@@ -75,10 +75,13 @@ public:
{
return
" INCLUDE(file1 [OPTIONAL])\n"
+ " INCLUDE(module [OPTIONAL])\n"
"Reads CMake listfile code from the given file. Commands in the file "
"are processed immediately as if they were written in place of the "
"INCLUDE command. If OPTIONAL is present, then no error "
- "is raised if the file does not exist.";
+ "is raised if the file does not exist.\n"
+ "If module is specified instead of file, the file with name "
+ "module.cmake is searched in the CMAKE_MODULE_PATH.";
}
cmTypeMacro(cmIncludeCommand, cmCommand);