summaryrefslogtreecommitdiffstats
path: root/Modules/FindCUDA.cmake
Commit message (Collapse)AuthorAgeFilesLines
* Fix #9970: Use execute_process instead of deprecated exec_program.James Bigler2009-12-011-1/+1
|
* Fix -fPIC from being used on executable object files.James Bigler2009-11-041-14/+36
| | | | BUILD_SHARED_LIBS is now only recognized when calling CUDA_ADD_LIBRARY. If you want the CMAKE_SHARED_LIBRARY_C/CXX_FLAGS to be used, pass SHARED as an argument. This prevents -fPIC from being used on objects destined for executables by default.
* Look for nvcc in the 32 bit bin directory before the 64 bin directory.James Bigler2009-10-271-2/+2
|
* Fix Xcode build.James Bigler2009-10-071-0/+2
| | | | | Move the make_directory command to the main target, so that CMAKE_CFG_INTDIR will get expanded by the build tool.
* Updated copyright notice to conform to NVIDIA guidelines.James Bigler2009-10-051-2/+1
|
* Removed support for cutil library and header file.James Bigler2009-09-291-41/+54
| | | | | | | | Cutil was never intented to be used outside of the SDK. The removal of this code is in support of this. The CUDA_SDK_ROOT_DIR will continue to be supported, in case users wish to use this to find files in the SDK. There are also two examples of how to use CUDA_SDK_ROOT_DIR to find header files and libraries if users so wish.
* Fixed CUDA_PROPAGATE_HOST_FLAGS, added path for Mac SDK.James Bigler2009-09-291-15/+22
| | | | | | The CUDA_PROPAGATE_HOST_FLAGS was incorrect in that it prevented the CUDA_NVCC_FLAGS_CONFIG variable from getting filled. Also, added a search path for the CUDA SDK install on Macs.
* Convert newlines from CRLF to LFBrad King2009-09-251-1205/+1205
| | | | | These files were committed to the repository with Windows newlines. This converts them to Unix newlines so they will show up natively.
* Documentation fixes, new CUDA_PROPAGATE_HOST_FLAGS, changed output directory.James Bigler2009-09-251-136/+168
| | | | | | | | | - Finished updating and formatting documentation. - Added CUDA_PROPAGATE_HOST_FLAGS (Default ON) that can disable the C flag propagation to the host compiler. _ Changed the output directory for support files from ${CMAKE_CURRENT_BINARY_DIR} to ${CMAKE_CURRENT_BINARY_DIR}/CMakeFiles. This will hopefully reduce the clutter in the binary directory.
* Updated formatting of documentation plus a little reorganization.James Bigler2009-09-231-141/+145
|
* Initial version of FindCUDA script. Still needs documentation formatting.James Bigler2009-09-151-0/+1169