diff options
author | Kitware Robot <kwrobot@kitware.com> | 2013-10-15 15:17:36 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2013-10-15 18:12:03 (GMT) |
commit | f051814ed0e63badbfd68049354f36259dbf4b49 (patch) | |
tree | f4e6f885f86c882d723a7dd53d2b702d0c7fdffb /Help/command/source_group.rst | |
parent | e94958e99c4dec26c86ce8b76d744c04ba960675 (diff) | |
download | CMake-f051814ed0e63badbfd68049354f36259dbf4b49.zip CMake-f051814ed0e63badbfd68049354f36259dbf4b49.tar.gz CMake-f051814ed0e63badbfd68049354f36259dbf4b49.tar.bz2 |
Convert builtin help to reStructuredText source files
Run the convert-help.bash script to convert documentation:
./convert-help.bash "/path/to/CMake-build/bin"
Then remove it.
Diffstat (limited to 'Help/command/source_group.rst')
-rw-r--r-- | Help/command/source_group.rst | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/Help/command/source_group.rst b/Help/command/source_group.rst new file mode 100644 index 0000000..77bb9ad --- /dev/null +++ b/Help/command/source_group.rst @@ -0,0 +1,28 @@ +source_group +------------ + +Define a grouping for sources in the makefile. + +:: + + source_group(name [REGULAR_EXPRESSION regex] [FILES src1 src2 ...]) + +Defines a group into which sources will be placed in project files. +This is mainly used to setup file tabs in Visual Studio. Any file +whose name is listed or matches the regular expression will be placed +in this group. If a file matches multiple groups, the LAST group that +explicitly lists the file will be favored, if any. If no group +explicitly lists the file, the LAST group whose regular expression +matches the file will be favored. + +The name of the group may contain backslashes to specify subgroups: + +:: + + source_group(outer\\inner ...) + +For backwards compatibility, this command also supports the format: + +:: + + source_group(name regex) |