mirror of
https://github.com/Kitware/CMake.git
synced 2026-03-13 12:59:55 -05:00
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
6 lines
163 B
ReStructuredText
6 lines
163 B
ReStructuredText
cmake-language-exit
|
|
-------------------
|
|
|
|
* The :command:`cmake_language()` command gained a new ``EXIT``
|
|
sub-command to exit scripts with a specified exit code.
|