summaryrefslogtreecommitdiffstats
path: root/Source/cmSourceGroupCommand.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2003-07-23 19:32:54 (GMT)
committerBrad King <brad.king@kitware.com>2003-07-23 19:32:54 (GMT)
commit48aedb2ba39621a75065a4b4bc5aca7ea695c65a (patch)
treea0e0608e847a321dd15e681998b2eb0565e74b23 /Source/cmSourceGroupCommand.h
parente093bdade050419290a1535ced1ca11fe7f8a2d5 (diff)
downloadCMake-48aedb2ba39621a75065a4b4bc5aca7ea695c65a.zip
CMake-48aedb2ba39621a75065a4b4bc5aca7ea695c65a.tar.gz
CMake-48aedb2ba39621a75065a4b4bc5aca7ea695c65a.tar.bz2
ENH: Fully implemented SOURCE_GROUP command.
Diffstat (limited to 'Source/cmSourceGroupCommand.h')
-rw-r--r--Source/cmSourceGroupCommand.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/Source/cmSourceGroupCommand.h b/Source/cmSourceGroupCommand.h
index dea9850..1dc1ba3 100644
--- a/Source/cmSourceGroupCommand.h
+++ b/Source/cmSourceGroupCommand.h
@@ -71,10 +71,14 @@ public:
virtual const char* GetFullDocumentation()
{
return
- " SOURCE_GROUP(name regex)\n"
- "Defines a new source group. Any file whose name matches the regular "
- "expression will be placed in this group. The LAST regular expression "
- "of all defined SOURCE_GROUPs that matches the file will be selected.";
+ " SOURCE_GROUP(name [REGULAR_EXPRESSION regex] [FILES src1 src2 ...])\n"
+ "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.";
}
cmTypeMacro(cmSourceGroupCommand, cmCommand);