Skip to content

VS: Fix support for CUDA flags in a few cases

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

We accidentally left out target_compile_options flags for CUDA in the VS generator. Fix them.

Also improve our workaround for a CUDA VS integration bug that puts -Xcompiler= in the wrong place on command lines. Instead of dropping the flags, put them in a different place ourselves.

Merge request reports