summaryrefslogtreecommitdiffstats
path: root/Modules/FindCUDA
diff options
context:
space:
mode:
authorJames Bigler <jamesbigler@gmail.com>2015-03-27 05:46:35 (GMT)
committerBrad King <brad.king@kitware.com>2015-04-09 15:41:36 (GMT)
commit8313de2d5adf4514f0b3cccca747e78ca07d3ad3 (patch)
treed0a296ad0efb5c543e25db21a2c1f95a4e340bf2 /Modules/FindCUDA
parent48040c19d5f1bcec55a130fcf8f8d83db27291b4 (diff)
downloadCMake-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