mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-14 02:59:53 -06:00
Provide it whenever we can detect a target architecture from the compiler during compiler inspection. In order to avoid changing existing IDs, do this only for compilers where we don't already detect a target architecture during compiler identification. Fixes: #17702
14 lines
661 B
Plaintext
14 lines
661 B
Plaintext
(-- CMAKE_CUDA_COMPILER='[^']+'
|
|
-- CMAKE_CUDA_COMPILER_ID='NVIDIA'
|
|
-- CMAKE_CUDA_COMPILER_VERSION='([0-9]+)(\.([0-9]+))?(\.([0-9]+))?(\.([0-9]+))?'
|
|
-- CMAKE_CUDA_COMPILER_ARCHITECTURE_ID='[A-Za-z0-9_;]+'
|
|
-- CMAKE_CUDA_HOST_COMPILER_ID='[A-Za-z]+'
|
|
-- CMAKE_CUDA_HOST_COMPILER_VERSION='([0-9]+)(\.([0-9]+))?(\.([0-9]+))?(\.([0-9]+))?'
|
|
|-- CMAKE_CUDA_COMPILER='[^']+'
|
|
-- CMAKE_CUDA_COMPILER_ID='([^N]|N[^V]|NV[^I]|NVI[^D]|NVID[^I]|NVIDI[^A])[A-Za-z]*'
|
|
-- CMAKE_CUDA_COMPILER_VERSION='([0-9]+)(\.([0-9]+))?(\.([0-9]+))?(\.([0-9]+))?'
|
|
-- CMAKE_CUDA_COMPILER_ARCHITECTURE_ID='[A-Za-z0-9_;]+'
|
|
-- CMAKE_CUDA_HOST_COMPILER_ID=''
|
|
-- CMAKE_CUDA_HOST_COMPILER_VERSION=''
|
|
)
|