diff options
author | James Bigler <jbigler@nvidia.com> | 2010-01-28 18:08:56 (GMT) |
---|---|---|
committer | James Bigler <jbigler@nvidia.com> | 2010-01-28 18:08:56 (GMT) |
commit | f04f91269458f538846ce0fafcc95469e4436ffd (patch) | |
tree | 3ba163c4a8c7d2f7cb635beddac7234ecbbe36c9 /Modules | |
parent | d2d3672f1c0b4bb2a2ca25aa1ca46d2edef436a8 (diff) | |
download | CMake-f04f91269458f538846ce0fafcc95469e4436ffd.zip CMake-f04f91269458f538846ce0fafcc95469e4436ffd.tar.gz CMake-f04f91269458f538846ce0fafcc95469e4436ffd.tar.bz2 |
Updated the documentation on what kinds of flags you can use when setting target properties.
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/FindCUDA.cmake | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/Modules/FindCUDA.cmake b/Modules/FindCUDA.cmake index 9601bc7..2c60cfc 100644 --- a/Modules/FindCUDA.cmake +++ b/Modules/FindCUDA.cmake @@ -106,9 +106,12 @@ # specified. All of the non CUDA C files are compiled using the standard # build rules specified by CMAKE and the cuda files are compiled to object # files using nvcc and the host compiler. In addition CUDA_INCLUDE_DIRS is -# added automatically to include_directories(). Standard CMake target calls -# can be used on the target after calling this macro -# (e.g. set_target_properties and target_link_libraries). +# added automatically to include_directories(). Some standard CMake target +# calls can be used on the target after calling this macro +# (e.g. set_target_properties and target_link_libraries), but setting +# properties that adjust compilation flags will not affect code compiled by +# nvcc. Such flags should be modified before calling CUDA_ADD_EXECUTABLE, +# CUDA_ADD_LIBRARY or CUDA_WRAP_SRCS. # # CUDA_ADD_LIBRARY( cuda_target file0 file1 ... # [STATIC | SHARED | MODULE] [EXCLUDE_FROM_ALL] [OPTIONS ...] ) |