1
0
mirror of https://github.com/Kitware/CMake.git synced 2025-10-14 02:08:27 +08:00

Help: The old add_test() form does not support TEST_LAUNCHER

Extend commit 1ec0372ed4 (add_test: Optionally use a launcher for tests
running in-project targets, 2023-11-11, v3.29.0-rc1~237^2~1).

Fixes: #27083
This commit is contained in:
Ralf Habacker
2025-07-24 17:06:19 +02:00
parent f60e3852af
commit b3f2455862
3 changed files with 8 additions and 1 deletions

View File

@@ -114,4 +114,5 @@ Add a test called ``<name>`` with the given command-line.
Unlike the above ``NAME`` signature, target names are not supported
in the command-line. Furthermore, tests added with this signature do not
support :manual:`generator expressions <cmake-generator-expressions(7)>`
in the command-line or test properties.
in the command-line or test properties, and the :prop_tgt:`TEST_LAUNCHER`
and :prop_tgt:`CROSSCOMPILING_EMULATOR` target properties are not supported.

View File

@@ -20,3 +20,6 @@ for built target system executables.
This property is initialized by the value of the
:variable:`CMAKE_CROSSCOMPILING_EMULATOR` variable if it is set when a target
is created.
This property is not supported when using the old form of :command:`add_test`
(i.e. without the ``NAME`` and ``COMMAND`` keywords).

View File

@@ -21,3 +21,6 @@ Contents of ``TEST_LAUNCHER`` may use
This property is initialized by the value of the
:variable:`CMAKE_TEST_LAUNCHER` variable if it is set when a target
is created.
This property is not supported when using the old form of :command:`add_test`
(i.e. without the ``NAME`` and ``COMMAND`` keywords).