[Cmake-commits] [cmake-commits] bigler committed FindCUDA.cmake 1.13 1.14

cmake-commits at cmake.org cmake-commits at cmake.org
Thu Jan 28 13:08:58 EST 2010


Update of /cvsroot/CMake/CMake/Modules
In directory public:/mounts/ram/cvs-serv15241

Modified Files:
	FindCUDA.cmake 
Log Message:
Updated the documentation on what kinds of flags you can use when setting target properties.


Index: FindCUDA.cmake
===================================================================
RCS file: /cvsroot/CMake/CMake/Modules/FindCUDA.cmake,v
retrieving revision 1.13
retrieving revision 1.14
diff -C 2 -d -r1.13 -r1.14
*** FindCUDA.cmake	8 Jan 2010 17:57:43 -0000	1.13
--- FindCUDA.cmake	28 Jan 2010 18:08:56 -0000	1.14
***************
*** 107,113 ****
  #     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).
  #
  #  CUDA_ADD_LIBRARY( cuda_target file0 file1 ...
--- 107,116 ----
  #     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().  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 ...



More information about the Cmake-commits mailing list