diff options
author | Brad King <brad.king@kitware.com> | 2024-01-26 20:16:46 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2024-01-29 15:30:24 (GMT) |
commit | 13ece67a58a4755807a2e9001e245fdafe9e52e2 (patch) | |
tree | f5d29e88f5d54106e84bd68ad84a85a1984f83fc /Help/prop_tgt | |
parent | b9ad73fcb2ddbdd53eff6c3ba635b96f5ed0c87b (diff) | |
download | CMake-13ece67a58a4755807a2e9001e245fdafe9e52e2.zip CMake-13ece67a58a4755807a2e9001e245fdafe9e52e2.tar.gz CMake-13ece67a58a4755807a2e9001e245fdafe9e52e2.tar.bz2 |
Add genex support to TEST_LAUNCHER and CROSSCOMPILING_EMULATOR
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.
Diffstat (limited to 'Help/prop_tgt')
-rw-r--r-- | Help/prop_tgt/CROSSCOMPILING_EMULATOR.rst | 4 | ||||
-rw-r--r-- | Help/prop_tgt/TEST_LAUNCHER.rst | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/Help/prop_tgt/CROSSCOMPILING_EMULATOR.rst b/Help/prop_tgt/CROSSCOMPILING_EMULATOR.rst index 8b777e4..d09ff19 100644 --- a/Help/prop_tgt/CROSSCOMPILING_EMULATOR.rst +++ b/Help/prop_tgt/CROSSCOMPILING_EMULATOR.rst @@ -13,6 +13,10 @@ for built target system executables. Lists>`, then the first value is the command and remaining values are its arguments. +.. versionadded:: 3.29 + Contents of ``CROSSCOMPILING_EMULATOR`` may use + :manual:`generator expressions <cmake-generator-expressions(7)>`. + This property is initialized by the value of the :variable:`CMAKE_CROSSCOMPILING_EMULATOR` variable if it is set when a target is created. diff --git a/Help/prop_tgt/TEST_LAUNCHER.rst b/Help/prop_tgt/TEST_LAUNCHER.rst index 2e44492..7eec319 100644 --- a/Help/prop_tgt/TEST_LAUNCHER.rst +++ b/Help/prop_tgt/TEST_LAUNCHER.rst @@ -15,6 +15,9 @@ If this property contains a :ref:`semicolon-separated list <CMake Language Lists>`, then the first value is the command and remaining values are its arguments. +Contents of ``TEST_LAUNCHER`` may use +:manual:`generator expressions <cmake-generator-expressions(7)>`. + This property is initialized by the value of the :variable:`CMAKE_TEST_LAUNCHER` variable if it is set when a target is created. |