Skip to content
  • Brad King's avatar
    VS: Fix target_compile_options for CUDA · f2059585
    Brad King authored
    Fix the VS generator to honor `COMPILE_OPTIONS` for CUDA.  The exclusion
    added by commit v3.9.0-rc1~431^2~7 (VS: Do not pass CUDA compile options
    to C compiler, 2017-03-07) was correct but we need additional logic to
    pass the CUDA compile options to the CUDA compiler.  Also we should
    still pass the CXX or C options to MSVC (ClCompile) when those languages
    are enabled even if the link language is CUDA.
    f2059585