mirror of
https://github.com/Kitware/CMake.git
synced 2026-03-03 05:08:47 -06:00
ENH: Cleaned up documentation and formatted it for use by cmDocumentation.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user