Skip to content

CUDA: Fix default compiler flags on Windows

Brad King requested to merge brad.king/cmake:cuda-msvc-flags into master

Fix the default values of CMAKE_CUDA_FLAGS[_<CONFIG>] on Windows to make the host compiler flags match those produced for C++ by the Platform/Windows-MSVC module. This makes the flags consistent with those used for C++.

Merge request reports