summaryrefslogtreecommitdiffstats
path: root/Modules/FindCUDA
Commit message (Collapse)AuthorAgeFilesLines
* Fix spelling and typos (affecting binary data / module messages)Andreas Mohr2013-05-071-1/+1
|
* Merge topic 'topics/FindCUDA/Add-CUDA_HOST_COMPILER'David Cole2012-09-181-2/+10
|\ | | | | | | | | db207e4 FindCUDA: Added CUDA_HOST_COMPILER variable.
| * FindCUDA: Added CUDA_HOST_COMPILER variable.James Bigler2012-08-201-2/+10
| | | | | | | | | | | | | | | | | | Added a new CUDA variable for specifying the CUDA_HOST_COMPILER. This will allow users to be able to specify which host compiler to use for invoking NVCC with. By default it will use the compiler used for host compilation. This is convenient for when you want to specify a different compiler than the default compiler. You end up using the same compiler for both the NVCC compilation and the host compilation instead of using the default compiler in the path for NVCC.
* | Remove CMake-language block-end command argumentsKitware Robot2012-08-133-10/+10
|/ | | | | | | | | | | | | | | | | Ancient versions of CMake required else(), endif(), and similar block termination commands to have arguments matching the command starting the block. This is no longer the preferred style. Run the following shell code: for c in else endif endforeach endfunction endmacro endwhile; do echo 's/\b'"$c"'\(\s*\)(.\+)/'"$c"'\1()/' done >convert.sed && git ls-files -z -- bootstrap '*.cmake' '*.cmake.in' '*CMakeLists.txt' | egrep -z -v '^(Utilities/cm|Source/kwsys/)' | egrep -z -v 'Tests/CMakeTests/While-Endwhile-' | xargs -0 sed -i -f convert.sed && rm convert.sed
* Merge topic 'topics/FindCUDA/Quote-fixes'David Cole2011-12-061-15/+15
|\ | | | | | | | | c3c7a0c Fixes for handling quotes in args and other places (Fix Bug 11726 and 12099).
| * Fixes for handling quotes in args and other places (Fix Bug 11726 and 12099).James Bigler2011-12-061-15/+15
| |
* | Add work around for CUDA in UNC paths.James Bigler2011-12-051-2/+16
|/ | | | | | Nvcc can emit '/path' instead of '//path' which can cause a lot of grief later. We test to see if the file exists, if it doesn't then we see if the file exists with '/' prepended. Files that don't exist won't be added to the list.
* Define __CUDACC__ during dependency scanning, since NVCC doesn't.James Bigler2010-01-281-0/+7
|
* Reordered the arguments, so that user generated arguments go last and thus ↵James Bigler2010-01-081-7/+7
| | | | get precedence.
* Don't allow -G -M on CUDA versions less than 3.0.James Bigler2009-11-301-1/+15
|
* Fix Xcode build.James Bigler2009-10-071-6/+0
| | | | | 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-053-6/+3
|
* Updated the license on top of each file.James Bigler2009-09-293-48/+93
|
* Convert FindCUDA helper newlines from CRLF to LFBrad King2009-09-282-309/+309
| | | | | These files were committed to the repository with Windows newlines. This converts them to Unix newlines so they will show up natively.
* Added a command to make the output directory. This is to fix the XCode ↵James Bigler2009-09-231-0/+6
| | | | build that uses a different output directory than other systems, and rather than try to match that we'll just make it.
* Initial version of FindCUDA script. Still needs documentation formatting.James Bigler2009-09-153-0/+408