summaryrefslogtreecommitdiffstats
path: root/Help/variable/CMAKE_LANG_HOST_COMPILER_ID.rst
blob: a4da281f43ff701a276a819fce2fced7d2758a09 (plain)
1
2
3
4
5
6
7
8
9
10
CMAKE_<LANG>_HOST_COMPILER_ID
-----------------------------

.. versionadded:: 3.31

This variable is available when ``<LANG>`` is ``CUDA`` or ``HIP``
and :variable:`CMAKE_<LANG>_COMPILER_ID` is ``NVIDIA``.
It contains the identity of the host compiler invoked by ``nvcc``,
either by default or as specified by :variable:`CMAKE_<LANG>_HOST_COMPILER`,
among possibilities documented by :variable:`CMAKE_<LANG>_COMPILER_ID`.