summaryrefslogtreecommitdiff
path: root/Help/envvar/CUDACXX.rst
blob: 10c0f9dd7f56f3238fe582ccb8869dc0e8fa70f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
CUDACXX
-------

.. include:: ENV_VAR.txt

Preferred executable for compiling ``CUDA`` language files. Will only be used by
CMake on the first configuration to determine ``CUDA`` compiler, after which the
value for ``CUDA`` is stored in the cache as
:variable:`CMAKE_CUDA_COMPILER <CMAKE_<LANG>_COMPILER>`. For any configuration
run (including the first), the environment variable will be ignored if the
:variable:`CMAKE_CUDA_COMPILER <CMAKE_<LANG>_COMPILER>` variable is defined.