summaryrefslogtreecommitdiffstats
path: root/Help/command/message.rst
Commit message (Collapse)AuthorAgeFilesLines
* message: Add CONFIGURE_LOG mode to record a message in the configure logBrad King2023-01-181-0/+50
| | | | | | | Provide a replacement for `file(APPEND .../CMake{Output,Error}.log)` that records messages in the configure log. Issue: #23200
* Help: Add _See Also_ sections to related CMake commandsAlex Turbov2022-11-091-0/+5
|
* Help: Replace a bunch of more ``--option`` to `:option:` roleAlex Turbov2022-08-041-3/+4
|
* Help: for message(FATAL_ERROR), document nonzero exit codeJoachim Wuttke (h)2022-05-051-0/+3
|
* Help: Fix grammar in `.. versionadded` directivesNikita Nemkin2020-12-021-1/+1
| | | | Issue: #19715
* Help: Add `.. versionadded` directives to commands documentationNikita Nemkin2020-11-091-19/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change ony concerns directives that appear in the document body. The guidelines for inserting version directives: * Baseline version is CMake 3.0, i.e. directives start at 3.1. * Always use `.. versionadded::` directive, avoid ad-hoc version references. Exception: policy pages. * For new command signatures, put `versionadded` on a separate line after the signature. * For a group of new signatures in a new document section, a single version note at the beginning of the section is sufficient. * For new options, put `versionadded` on a separate line before option description. * If all the option descriptions in the list are short one-liners, it's fine to put `versionadded` on the same line as the description. * If multiple option descriptions in close proximity would have the same ..versionadded directive, consider adding a single directive after the list, mentioning all added options. * For compact value lists and sub-option lists, put a single `versionadded` directive after the list mentioning all additions. * When a change is described in a single paragraph, put `versionadded` into that paragraph. * When only part of the paragraph has changed, separate the changed part if it doesn't break the flow. Otherwise, write a follow-up clarification paragraph and apply version directive to that. * When multiple version directives are close by, order earlier additions before later additions. * Indent related lists and code blocks to include them in the scope of `versionadded` directive. Issue: #19715
* message: New message types to mark checks performed by CMakeAlex Turbov2019-11-021-3/+101
| | | | | | Closes #19638. Co-Authored-By: Craig Scott <craig.scott@crascit.com>
* message: Support logging a context with each messageAlex Turbov2019-10-121-1/+12
|
* message: Add new CMAKE_MESSAGE_LOG_LEVEL variableAlex Turbov2019-10-121-0/+3
|
* CLI: Rename --loglevel to --log-level for naming consistencyCraig Scott2019-10-101-1/+1
| | | | | | | Other multi-word command line options use hyphens to separate the words, so the --loglevel option introduced in CMake 3.15 was inconsistent in this regard. Rename it to --log-level but still support the original --loglevel name to preserve backward compatibility.
* message(): Control indentation via CMAKE_MESSAGE_INDENTAlex Turbov2019-07-211-0/+5
|
* message() help: Clarify how logs are displayed in various toolsFrank Dana2019-07-091-6/+6
|
* message(): Add support for log levelsAlex Turbov2019-04-281-18/+50
| | | | | Relates: #18943 Co-Authored-By: Craig Scott <craig.scott@crascit.com>
* Help: Improve description of modulesBartosz Kosiorek2019-04-231-1/+1
|
* Help: Revise docs on Scripting CommandsJoachim Wuttke (l)2018-10-231-1/+1
| | | | | | | | | | | | | | | | | | | 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: Improve formatting of command documentationMichael Scott2015-06-081-1/+1
| | | | | Use inline reStructuredText markup and add cross-references in more places.
* 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.