summaryrefslogtreecommitdiffstats
path: root/Help/envvar/HIPHOSTCXX.rst
blob: 871fbfb1ebfba74592e0de26cb14919b495dc2f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
HIPHOSTCXX
-----------

.. versionadded:: 3.28

.. include:: ENV_VAR.txt

Preferred executable for compiling host code when compiling ``HIP``
language files with the NVIDIA CUDA Compiler. Will only be used by CMake
on the first configuration to determine ``HIP`` host compiler, after which
the value for ``HIPHOSTCXX`` is stored in the cache as
:variable:`CMAKE_HIP_HOST_COMPILER <CMAKE_<LANG>_HOST_COMPILER>`.

This environment variable is primarily meant for use with projects that
enable ``HIP`` as a first-class language.

.. note::

  Ignored when using :ref:`Visual Studio Generators`.