CMake: Stylistic changes and documentation tweaks

...for the contributed file and string TIMESTAMP sub-commands.
This commit is contained in:
David Cole
2012-12-05 09:55:27 -05:00
parent 711e2b3b5c
commit d842d90622
4 changed files with 36 additions and 33 deletions
+3 -4
View File
@@ -87,8 +87,7 @@ public:
" [TLS_VERIFY on|off] [TLS_CAINFO file])\n"
" file(UPLOAD filename url [INACTIVITY_TIMEOUT timeout]\n"
" [TIMEOUT timeout] [STATUS status] [LOG log] [SHOW_PROGRESS])\n"
" file(TIMESTAMP <filename> <output variable>"
" [<format string>] [UTC])\n"
" file(TIMESTAMP filename variable [<format string>] [UTC])\n"
"WRITE will write a message into a file called 'filename'. It "
"overwrites the file if it already exists, and creates the file "
"if it does not exist. (If the file is a build input, use "
@@ -203,9 +202,9 @@ public:
"as status messages until the operation is complete."
"\n"
"TIMESTAMP will write a string representation of "
"the modification time of <filename> to <output varaible>.\n"
"the modification time of filename to variable.\n"
"Should the command be unable to obtain a timestamp "
"<output variable> will be set to the empty string \"\".\n"
"variable will be set to the empty string \"\".\n"
"See documentation of the string TIMESTAMP sub-command for more details."
"\n"
"The file() command also provides COPY and INSTALL signatures:\n"