summaryrefslogtreecommitdiffstats
path: root/Help/command/cmake_language.rst
Commit message (Collapse)AuthorAgeFilesLines
* try_compile: Propagating top level includes into whole-project callsCraig Scott2024-05-301-0/+5
| | | | Fixes: #24151
* Help: Specify advisable range for exit code in cmake_language(EXIT)Craig Scott2024-03-191-2/+7
| | | | | The limitations added here are documented in the bash shell's reference manual.
* Help: Fix cmake_language(EXIT) signature anchorBrad King2024-02-061-5/+0
|
* cmake_language: Add EXIT subcommandleha-bot2024-01-161-0/+23
| | | | | | | | | | | | Add tests to cover these cases: * run as regular CMake module, in NORMAL_MODE (expected to fail); * run as CMake script in SCRIPT_MODE (expected to exit with given code); * run as CMake script that `include()`-s another script with EXIT subcommand; * run as CMake script which EVAL-uates EXIT subcommand via `cmake_language(EVAL CODE "<cmake code>")`. Fixes: #23162
* Help: Fix typo in dependency provider method keywordCraig Scott2023-12-151-1/+1
| | | | | | | | | The cmake.vim file is generated by scanning for keyword-like strings in the docs. Update the corresponding wrong entry there too directly for now, which will fix the wrong entry until the next full regeneration of the file. Fixes: #25503
* codespell: Fix typosBrad King2023-11-171-1/+1
|
* Help: Use signature directive for cmake_language commandMatthew Woehlke2023-03-061-166/+153
|
* Add new flow-control commands for variables and policies scopes managementMarc Chevrier2022-08-221-0/+1
| | | | | | | Add block() and endblock() commands offering the capability to create new scopes for variables and/or policies. Fixes: #20171
* Help: Replace a bunch of more ``--option`` to `:option:` roleAlex Turbov2022-08-041-1/+2
|
* Add cmake_language(GET_MESSAGE_LOG_LEVEL) sub commandAlexandru Croitor2022-06-281-0/+26
| | | | | | | | | | | | | | | | | The new sub-command writes a string representation of the current log level to the output variable given to the sub-command. Given that the log-level might be set either via the --log-level command line option or via the CMAKE_MESSAGE_LOG_LEVEL cache / regular variables, the priority for each of the log level sources is as follows, with the first one being the highest: 1) --log-level 2) CMAKE_MESSAGE_LOG_LEVEL regular variable 3) CMAKE_MESSAGE_LOG_LEVEL cache variable 4) default log level (STATUS) Fixes: #23572
* Help: Overhaul and expand the Using Dependencies GuideCraig Scott2022-06-091-0/+3
| | | | | | | | The guide previously only focused on the find_package() command, with a bias towards libraries. FetchContent was not mentioned at all. Reorganise and update the existing content. Add new sections to cover providing dependencies with FetchContent and dependency providers. Improve discoverability of the guide by mentioning it at the beginning of the find_package(), FetchContent and dependency provider docs.
* Dependency providers: Add find_package and FetchContent supportCraig Scott2022-05-241-0/+263
| | | Fixes: #22619
* Help: Fix typos and spelling in documentationJosef Angstenberger2021-05-071-2/+2
|
* Help: Clarify scope details of deferred call ids for cmake_language()Craig Scott2020-12-111-5/+12
| | | Fixes: #21586
* Help: Cleanup typos and grammar for the 3.19 releaseCraig Scott2020-10-241-7/+7
|
* cmake_language: Add signature to DEFER calls to later timesBrad King2020-09-291-0/+119
| | | | Fixes: #19575
* Help: Use singular placeholder name in cmake_language signatureBrad King2020-09-291-2/+2
|
* Help: Add Sphinx 'versionadded' directives to each top-level documentKitware Robot2020-07-061-0/+2
| | | | | | | Run the `Utilities/Sphinx/update_versions.py` script to add initial markup to every top-level document and find module. Issue: #19715
* cmake_language: check CALL with control commandMarc Chevrier2020-05-261-0/+9
| | | | Fixes: #20739
* cmake_language: Rename command from cmake_commandBrad King2020-05-211-0/+90
Also rename the `INVOKE` signature to `CALL`. Fixes: #20732