summaryrefslogtreecommitdiffstats
path: root/Help/command/macro.rst
Commit message (Collapse)AuthorAgeFilesLines
* Help: Minor grammar and typo corrections for macro command docsCraig Scott2018-11-151-5/+5
| | | Follow-up to !2616, specifically commit 22cca9b810
* Help: describe differences between macro and function.Joachim Wuttke (l)2018-11-141-10/+35
|
* Help: in macro vs function example, use lowercase names.Joachim Wuttke (l)2018-11-141-5/+5
| | | | | | Follow our own advise not to change cases. Omit the leading underscore.
* Help: Document that macro invocation is case-insensitiveJoachim Wuttke (l)2018-11-131-16/+42
|
* Help: Mention endmacro argument as legacy only.Joachim Wuttke (l)2018-11-131-1/+6
| | | | Same change as previously done for function, if, while, ...
* Help: Revise docs on Scripting CommandsJoachim Wuttke (l)2018-10-231-14/+22
| | | | | | | | | | | | | | | | | | | Revise docs for all "Scripting Commands", except four find_XXX that use a macro suite of their own. * Take full advantage of the improved syntax highlighting. * Make consequential use of <..> placeholders. * Clarify things here and there in the text. Specific improvements to some command docs: * "math": Correct description of novel hexadecimal capability. * "if", "foreach", "while": Provide link to "endif" etc * "foreach", "while": Mention "break" and "continue". * "foreach": Simplify explanation of ``RANGE`` and ``IN`` signatures; advise against negative arguments or reverse ranges (compare issue #18461) * "endif", "endfunction" etc: Explain that the argument is optional and maintained for compatibility only
* Help: Clarify that ARGV# beyond ARGC will have an undefined behavior (#15380)Daniele E. Domenichelli2015-02-261-2/+11
|
* Help: Refine the .rst formatting of macro and function documentationDaniele E. Domenichelli2015-02-261-15/+15
|
* Help: Document macro argument caveats in more detailDaniele E. Domenichelli2013-11-191-11/+45
| | | | | | Add notes about macro arguments in the foreach, if, and list commands. Add a section to the macro command documentation explaining in detail how macro arguments are not variables.
* Convert builtin help to reStructuredText source filesKitware Robot2013-10-151-0/+33
Run the convert-help.bash script to convert documentation: ./convert-help.bash "/path/to/CMake-build/bin" Then remove it.