summaryrefslogtreecommitdiffstats
path: root/Tests/CMakeOnly/CompilerIdCUDA/CMakeLists.txt
blob: da14000249fa3198f1c6098b55e09f407a7a9075 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
cmake_minimum_required(VERSION 3.18)
project(CompilerIdCUDA CUDA)

foreach(v
    CMAKE_CUDA_COMPILER
    CMAKE_CUDA_COMPILER_ID
    CMAKE_CUDA_COMPILER_VERSION
    )
  if(${v})
    message(STATUS "${v}=[${${v}}]")
  else()
    message(SEND_ERROR "${v} not set!")
  endif()
endforeach()