mirror of
https://github.com/Kitware/CMake.git
synced 2026-11-06 05:16:58 +00:00
NVIDIA CUDA links with `link.exe` directly, but had no
`CMAKE_CUDA_LINK_DEF_FILE_FLAG` and fell back to the global
`CMAKE_LINK_DEF_FILE_FLAG`. With IntelLLVM enabled in the same build
tree, that holds `/Qoption,link,/DEF:`, which `link.exe` ignores, so a
CUDA DLL exported nothing from its `.def` file. Commit 8b710d8264
(Linker: Generate per-language module -DEF: flags on Windows,
2025-05-28) covered the other Windows toolchains but missed CUDA.
Fixes: #25598
Issue: #26005
3 lines
24 B
Modula-2
3 lines
24 B
Modula-2
EXPORTS
|
|
moddef_answer
|