diff options
author | Raul Tambre <raul@tambre.ee> | 2020-03-12 13:31:47 +0200 |
---|---|---|
committer | Raul Tambre <raul@tambre.ee> | 2020-04-15 17:55:41 +0300 |
commit | e98588aabad578a9b33aae05e77f6ec5b3ff2e46 (patch) | |
tree | 34c2ee6ab9b11721b5287a6a9a2b01afb04a5943 /Tests/Cuda/MixedStandardLevels1 | |
parent | 71a06093795efc55c4ef3575b5c4177d38894870 (diff) | |
download | cmake-e98588aabad578a9b33aae05e77f6ec5b3ff2e46.tar.gz |
CUDA: Add CUDA_ARCHITECTURES target property
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.
Diffstat (limited to 'Tests/Cuda/MixedStandardLevels1')
0 files changed, 0 insertions, 0 deletions