CMake/Tests/RunCMake/target_link_options
Brad King 76f4fc7dd0 LINK_OPTIONS: Fix crash on empty LINKER: prefix
Since commit e3895f4a8b (Linking: Preserve nested LINKER: prefixes as
written, 2024-09-17, v3.31.0-rc1~60^2) we may increment an iterator past
the end.  Revise logic to avoid that.

Fixes: #26499
2024-12-04 10:16:56 -05:00
..
bad_SHELL_usage-result.txt
bad_SHELL_usage-stderr.txt
bad_SHELL_usage.cmake
CMakeLists.txt
CMP0099-NEW-basic-check.cmake
CMP0099-NEW-basic-result.txt
CMP0099-NEW.cmake
CMP0099-OLD-basic-check.cmake
CMP0099-OLD-basic-result.txt
CMP0099-OLD.cmake
CMP0099.cmake
dump.c
empty_keyword_args.cmake
genex_DEVICE_LINK-CMP0105_NEW-check.cmake CUDA: Device linking use now link options 2020-04-19 15:53:11 +02:00
genex_DEVICE_LINK-CMP0105_NEW-result.txt CUDA: Device linking use now link options 2020-04-19 15:53:11 +02:00
genex_DEVICE_LINK-device-check.cmake CUDA: Device linking use now link options 2020-04-19 15:53:11 +02:00
genex_DEVICE_LINK-device-result.txt CUDA: Device linking use now link options 2020-04-19 15:53:11 +02:00
genex_DEVICE_LINK-host_link_options-check.cmake CUDA: Support CMP0105 on Clang 2021-11-08 21:26:00 +02:00
genex_DEVICE_LINK-host_link_options-result.txt CUDA Device link: Ensure all link options are correctly formatted 2021-03-31 12:05:23 +02:00
genex_DEVICE_LINK-interface-check.cmake Genex: Add generator expressions $<DEVICE_LINK> and $<HOST_LINK> 2020-04-19 15:04:54 +02:00
genex_DEVICE_LINK-interface-result.txt Genex: Add generator expressions $<DEVICE_LINK> and $<HOST_LINK> 2020-04-19 15:04:54 +02:00
genex_DEVICE_LINK-no_device-check.cmake CUDA: Device linking use now link options 2020-04-19 15:53:11 +02:00
genex_DEVICE_LINK-no_device-result.txt CUDA: Device linking use now link options 2020-04-19 15:53:11 +02:00
genex_DEVICE_LINK-private-check.cmake Genex: Add generator expressions $<DEVICE_LINK> and $<HOST_LINK> 2020-04-19 15:04:54 +02:00
genex_DEVICE_LINK-private-result.txt Genex: Add generator expressions $<DEVICE_LINK> and $<HOST_LINK> 2020-04-19 15:04:54 +02:00
genex_DEVICE_LINK-validation.cmake Genex: Add generator expressions $<DEVICE_LINK> and $<HOST_LINK> 2020-04-19 15:04:54 +02:00
genex_DEVICE_LINK.cmake CUDA: Support CMP0105 on Clang 2021-11-08 21:26:00 +02:00
genex_LINK_LANG_AND_ID-exe-check.cmake
genex_LINK_LANG_AND_ID-exe-result.txt
genex_LINK_LANG_AND_ID-interface-check.cmake
genex_LINK_LANG_AND_ID-interface-result.txt
genex_LINK_LANG_AND_ID-LINKER_LANGUAGE-check.cmake
genex_LINK_LANG_AND_ID-LINKER_LANGUAGE-result.txt
genex_LINK_LANG_AND_ID-mod-check.cmake
genex_LINK_LANG_AND_ID-mod-result.txt
genex_LINK_LANG_AND_ID-shared_c-check.cmake
genex_LINK_LANG_AND_ID-shared_c-result.txt
genex_LINK_LANG_AND_ID-validation.cmake
genex_LINK_LANG_AND_ID.cmake
genex_LINK_LANGUAGE-exe-check.cmake
genex_LINK_LANGUAGE-exe-result.txt
genex_LINK_LANGUAGE-interface-check.cmake
genex_LINK_LANGUAGE-interface-result.txt
genex_LINK_LANGUAGE-LINKER_LANGUAGE-check.cmake
genex_LINK_LANGUAGE-LINKER_LANGUAGE-result.txt
genex_LINK_LANGUAGE-mod-check.cmake
genex_LINK_LANGUAGE-mod-result.txt
genex_LINK_LANGUAGE-shared_c-check.cmake
genex_LINK_LANGUAGE-shared_c-result.txt
genex_LINK_LANGUAGE-validation.cmake
genex_LINK_LANGUAGE.cmake
LINK_OPTIONS-basic-check.cmake
LINK_OPTIONS-basic-result.txt
LINK_OPTIONS-dollar-option-check.cmake LINK_OPTIONS: ensure correct dollar escaping 2023-07-17 15:55:58 +02:00
LINK_OPTIONS-dollar-option-result.txt LINK_OPTIONS: ensure correct dollar escaping 2023-07-17 15:55:58 +02:00
LINK_OPTIONS-exe-check.cmake
LINK_OPTIONS-exe-result.txt
LINK_OPTIONS-interface-check.cmake
LINK_OPTIONS-interface-result.txt
LINK_OPTIONS-interface-static-check.cmake
LINK_OPTIONS-interface-static-result.txt
LINK_OPTIONS-mod-check.cmake
LINK_OPTIONS-mod-result.txt
LINK_OPTIONS-shared-check.cmake
LINK_OPTIONS-shared-result.txt
LINK_OPTIONS-static-check.cmake
LINK_OPTIONS-static-result.txt
LINK_OPTIONS.cmake LINK_OPTIONS: ensure correct dollar escaping 2023-07-17 15:55:58 +02:00
LINKER_expansion-LINKER_NESTED_SHELL-check.cmake Linking: Preserve nested LINKER: prefixes as written 2024-09-23 02:17:19 -07:00
LINKER_expansion-LINKER_NESTED-check.cmake Linking: Preserve nested LINKER: prefixes as written 2024-09-23 02:17:19 -07:00
LINKER_expansion-LINKER_SHELL-check.cmake Linking: Preserve nested LINKER: prefixes as written 2024-09-23 02:17:19 -07:00
LINKER_expansion-LINKER-check.cmake Linking: Preserve nested LINKER: prefixes as written 2024-09-23 02:17:19 -07:00
LINKER_expansion-validation.cmake Linking: Preserve nested LINKER: prefixes as written 2024-09-23 02:17:19 -07:00
LINKER_expansion.cmake LINK_OPTIONS: Fix crash on empty LINKER: prefix 2024-12-04 10:16:56 -05:00
LinkOptionsDevice.cu CUDA: Device linking use now link options 2020-04-19 15:53:11 +02:00
LinkOptionsExe.c
LinkOptionsLib.c
RunCMakeTest.cmake Linking: Preserve nested LINKER: prefixes as written 2024-09-23 02:17:19 -07:00