diff options
author | James Bigler <jamesbigler@gmail.com> | 2015-03-27 05:46:35 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2015-04-09 15:41:36 (GMT) |
commit | 8313de2d5adf4514f0b3cccca747e78ca07d3ad3 (patch) | |
tree | d0a296ad0efb5c543e25db21a2c1f95a4e340bf2 /Modules/FindCUDA | |
parent | 48040c19d5f1bcec55a130fcf8f8d83db27291b4 (diff) | |
download | CMake-8313de2d5adf4514f0b3cccca747e78ca07d3ad3.zip CMake-8313de2d5adf4514f0b3cccca747e78ca07d3ad3.tar.gz CMake-8313de2d5adf4514f0b3cccca747e78ca07d3ad3.tar.bz2 |
FindCUDA: Allow setting CUDA_SOURCE_PROPERTY_FORMAT for non-.cu files.
A previously undocumented feature allowed overriding the format
specified to CUDA_WRAP_SRCS with a source file property called
CUDA_SOURCE_PROPERTY_FORMAT. I added documentation for this feature as
well as added the ability to let nvcc compile any file regardless of
type if this property was found.
In addition, I also fixed a couple of bugs with the calls to
_cuda_get_important_host_flags that weren't garding the arguments with
"" to prevent empty values from causing errors.
Diffstat (limited to 'Modules/FindCUDA')
0 files changed, 0 insertions, 0 deletions