CMAKE_LANG_HOST_COMPILER_ID.rst 423 B

12345678910
  1. CMAKE_<LANG>_HOST_COMPILER_ID
  2. -----------------------------
  3. .. versionadded:: 3.31
  4. This variable is available when ``<LANG>`` is ``CUDA`` or ``HIP``
  5. and :variable:`CMAKE_<LANG>_COMPILER_ID` is ``NVIDIA``.
  6. It contains the identity of the host compiler invoked by ``nvcc``,
  7. either by default or as specified by :variable:`CMAKE_<LANG>_HOST_COMPILER`,
  8. among possibilities documented by :variable:`CMAKE_<LANG>_COMPILER_ID`.