mirror of
https://github.com/reactos/CMake.git
synced 2025-02-24 05:53:21 +00:00

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()
|