diff options
author | Brad King <brad.king@kitware.com> | 2017-06-21 17:44:43 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-06-21 18:23:46 (GMT) |
commit | f2059585e6302446707560b123c7b785df5f5859 (patch) | |
tree | e29520e82e81a0e4fb5ffba8447bcf7edb7cded6 /Source/cmCreateTestSourceList.cxx | |
parent | ab4c3270ae7062a8f3296055b9f6443b80f3aef2 (diff) | |
download | CMake-f2059585e6302446707560b123c7b785df5f5859.zip CMake-f2059585e6302446707560b123c7b785df5f5859.tar.gz CMake-f2059585e6302446707560b123c7b785df5f5859.tar.bz2 |
VS: Fix target_compile_options for CUDA
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.
Diffstat (limited to 'Source/cmCreateTestSourceList.cxx')
0 files changed, 0 insertions, 0 deletions