mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-22 14:23:10 -05:00
134e795fa9
The CUDA Toolkit Visual Studio Integration does not honor the `ClCompile.ProgramDataBaseFileName` field when telling `nvcc` how to invoke `cl`. Work around this problem by passing `-Xcompiler=-Fd...` ourselves through `AdditionalOptions`. Fixes: #17647
11 lines
226 B
CMake
11 lines
226 B
CMake
if(NOT "${config}" MATCHES "[Dd][Ee][Bb]")
|
|
return()
|
|
endif()
|
|
foreach(pdb ${pdbs})
|
|
if(EXISTS "${pdb}")
|
|
message(STATUS "PDB Exists: ${pdb}")
|
|
else()
|
|
message(SEND_ERROR "PDB MISSING:\n ${pdb}")
|
|
endif()
|
|
endforeach()
|