https://github.com/Kitware/CMake
Raw File
Tip revision: 1eed682d7cca9bb2c2b0709a6c3202a3b08613b2 authored by Brad King on 14 December 2023, 15:47:27 UTC
CMake 3.28.1
Tip revision: 1eed682
HIPHOSTCXX.rst
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`.
back to top