mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-03 21:00:01 -05:00
1bb1769235
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
3 lines
104 B
Plaintext
3 lines
104 B
Plaintext
CMake Error at exit_5.cmake:1 \(cmake_language\):
|
|
cmake_language EXIT can be used only in SCRIPT mode
|