summaryrefslogtreecommitdiff
path: root/Help/variable/CMAKE_CUDA_HOST_COMPILER.rst
blob: 34512b49ddb59addc0a8195de94fa819fbbdfe91 (plain)
1
2
3
4
5
6
7
8
9
10
CMAKE_CUDA_HOST_COMPILER
------------------------

.. versionadded:: 3.10

Executable to use when compiling host code when compiling ``CUDA`` language
files. Maps to the ``nvcc -ccbin`` option.  Will only be used by CMake on the first
configuration to determine a valid host compiler for ``CUDA``. After a valid
host compiler has been found, this value is read-only.  This variable takes
priority over the :envvar:`CUDAHOSTCXX` environment variable.