mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-06 05:40:54 -06:00
Evaluate generator expressions in these properties, as they apply to `add_test`, `add_custom_command`, and `add_custom_target`. The `CMAKE_CROSSCOMPILING_EMULATOR` variable's `try_run` behavior occurs at configure time and so cannot support generator expressions.
17 lines
570 B
ReStructuredText
17 lines
570 B
ReStructuredText
CMAKE_TEST_LAUNCHER
|
|
-------------------
|
|
|
|
.. versionadded:: 3.29
|
|
|
|
This variable is used to initialize the :prop_tgt:`TEST_LAUNCHER` target
|
|
property of executable targets as they are created. It is used to specify
|
|
a launcher for running tests, added by the :command:`add_test` command,
|
|
that run an executable target.
|
|
|
|
If this variable contains a :ref:`semicolon-separated list <CMake Language
|
|
Lists>`, then the first value is the command and remaining values are its
|
|
arguments.
|
|
|
|
This variable can be initialized via an
|
|
:envvar:`CMAKE_TEST_LAUNCHER` environment variable.
|