summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/CompilerLauncher/CUDA-common.cmake
Commit message (Collapse)AuthorAgeFilesLines
* CUDA: Add CUDA_ARCHITECTURES target propertyRaul Tambre2020-04-151-0/+1
| | | | | | | | | | | Simplifies CUDA target architecture handling. Required for Clang support as Clang doesn't automatically select a supported architecture. We detect a supported architecture during compiler identification and set CMAKE_CUDA_ARCHITECTURES to it. Introduces CMP0104 for backwards compatibility with manually setting code generation flags with NVCC. Implements #17963.
* launcher: support setting a compiler launcher through the environmentBen Boeckel2019-12-051-0/+3
This makes it much easier to use a launcher for all CMake projects in an environment rather than having to remember to pass the setting to every CMake build.