summaryrefslogtreecommitdiffstats
path: root/Help/command/set.rst
Commit message (Collapse)AuthorAgeFilesLines
* Help: Remove "this command" ambiguity in set() docsFeRD (Frank Dana)2023-09-011-5/+6
|
* Help: Clarify that set(VAR) unsets VARBrad King2023-03-241-4/+9
| | | | | | | | Also call out possible exposure of an existing cache entry of the same name, as we have for the `unset` command since commit 1a0f1a25a4 (Help: Clarify the unset command, 2018-08-17, v3.13.0-rc1~199^2). Issue: #24633
* Help: Convert signatures of list and set commandsMatthew Woehlke2023-03-151-78/+83
| | | | | | | | Convert documentation of the `list` and `set` commands to use new `signature` directive. Use new `cref` role in the `list` introduction so that the subcommands there are links rather than just text. Turn references into `string` subcommands into actual links. Reformat some prose as definition lists.
* Help: Add _See Also_ sections to related CMake commandsAlex Turbov2022-11-091-0/+5
|
* Help: Add more CLI `:option:` references to various pagesAlex Turbov2022-10-201-1/+1
|
* return(): Propagate variables to result scopeMarc Chevrier2022-09-031-3/+3
| | | | Fixes: #23871
* Add new flow-control commands for variables and policies scopes managementMarc Chevrier2022-08-221-6/+11
| | | | | | | Add block() and endblock() commands offering the capability to create new scopes for variables and/or policies. Fixes: #20171
* set(CACHE): do not remove normal variableMarc Chevrier2021-05-201-3/+7
| | | | Fixes: #22038
* set: warn of extra arguments after ENV value.Taylor Holberton2019-02-011-1/+8
| | | | Fixes: #18842
* Help: Clarify effect of set(ENV{..} ..) and unset(ENV{..})Joachim Wuttke (h)2018-11-081-1/+7
| | | | | | | Explain that the commands affect only the current CMake process, not the process from which CMake was called, nor the system environment at large, nor the environment of subsequent build or test processes.
* Help: Spell out ";-list" as "semicolon-separated list"Joachim Wuttke (o)2018-10-251-1/+1
|
* Help: Revise docs on Scripting CommandsJoachim Wuttke (l)2018-10-231-6/+6
| | | | | | | | | | | | | | | | | | | 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 PARENT_SCOPE behaviorBen Boeckel2016-06-131-1/+3
| | | | Fixes #15093.
* Help: Document conversion of PATH/FILEPATH cache values to absolute pathsBrad King2015-04-011-0/+9
| | | | Suggested-by: Roger Leigh <rleigh@codelibre.net>
* Help: Rewrite 'set` command documentationBrad King2015-04-011-95/+59
| | | | | | | Much of the information in the old set() command documentation is now covered in the cmake-language(7) manual. Rewrite the documentation with this in mind. Split up the signatures for each kind of variable into different subsections.
* Convert builtin help to reStructuredText source filesKitware Robot2013-10-151-0/+116
Run the convert-help.bash script to convert documentation: ./convert-help.bash "/path/to/CMake-build/bin" Then remove it.