summaryrefslogtreecommitdiffstats
path: root/Source/cmSourceFilesCommand.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2003-02-14 23:47:16 (GMT)
committerBrad King <brad.king@kitware.com>2003-02-14 23:47:16 (GMT)
commita02574158d178615cf8fd642695e5099b6041049 (patch)
treedf9f52770e9c2ff771988ae1a91ec0b2287548da /Source/cmSourceFilesCommand.h
parentdec0b5106611cbccd1f75c1fa3371d66bdd69a47 (diff)
downloadCMake-a02574158d178615cf8fd642695e5099b6041049.zip
CMake-a02574158d178615cf8fd642695e5099b6041049.tar.gz
CMake-a02574158d178615cf8fd642695e5099b6041049.tar.bz2
ENH: Cleaned up documentation and formatted it for use by cmDocumentation.
Diffstat (limited to 'Source/cmSourceFilesCommand.h')
-rw-r--r--Source/cmSourceFilesCommand.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/Source/cmSourceFilesCommand.h b/Source/cmSourceFilesCommand.h
index 4ccc2c3..6d5c3fd 100644
--- a/Source/cmSourceFilesCommand.h
+++ b/Source/cmSourceFilesCommand.h
@@ -67,7 +67,7 @@ public:
*/
virtual const char* GetTerseDocumentation()
{
- return "Add a list of source files, associate them with a NAME.";
+ return "Deprecated. Use SET to list sources in a variable.";
}
/**
@@ -76,7 +76,12 @@ public:
virtual const char* GetFullDocumentation()
{
return
- "SOURCE_FILES(NAME file1 file2 ... [ GENERATED generated_file1 ... ])";
+ " SOURCE_FILES(variable file1 file2 ...\n"
+ " [ GENERATED generated_file1 ... ])\n"
+ "Adds the given sources to the list in the given variable. Sources "
+ "listed after GENERATED will be given the GENERATED property. See "
+ "SET_SOURCE_FILES_PROPERTIES to add the GENERATED property to any "
+ "source.";
}
cmTypeMacro(cmSourceFilesCommand, cmCommand);