diff options
author | Brad King <brad.king@kitware.com> | 2018-10-10 17:23:07 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2018-10-10 17:29:47 (GMT) |
commit | faf3d7d224ae2292e88b8238271a7ff97950ddf9 (patch) | |
tree | 8eff3b13fc5a12187f55b71423759147d627de70 /Help/envvar/CMAKE_OSX_ARCHITECTURES.rst | |
parent | 592064e026b1a3d6402496b5d37199e213569665 (diff) | |
download | CMake-faf3d7d224ae2292e88b8238271a7ff97950ddf9.zip CMake-faf3d7d224ae2292e88b8238271a7ff97950ddf9.tar.gz CMake-faf3d7d224ae2292e88b8238271a7ff97950ddf9.tar.bz2 |
VS: Add workaround for CUDA compiler PDB location with space
CUDA Toolkit Visual Studio Integration for version 9.2 and above does
honor the `ClCompile.ProgramDataBaseFileName` field when telling `nvcc`
how to invoke `cl`. Unfortunately it does not quote paths with spaces
correctly:
-Xcompiler "... /Fd"C:\path\with space\foo.pdb" ..."
Work around this by converting the PDB location to a relative path.
Likely we could always do this, but for now make a minimal change
just for CUDA support.
Fixes: #18440
Diffstat (limited to 'Help/envvar/CMAKE_OSX_ARCHITECTURES.rst')
0 files changed, 0 insertions, 0 deletions