summaryrefslogtreecommitdiffstats
path: root/Help/envvar
diff options
context:
space:
mode:
authorunknown <rmaynard@nvidia.com>2021-04-21 13:51:31 (GMT)
committerBrad King <brad.king@kitware.com>2021-04-22 15:40:46 (GMT)
commit625ef88a92d6632e3efd5ee4d6578bfc77928679 (patch)
treed9c7f1c29ca6f25483b1104ce7ca734226d19ab4 /Help/envvar
parent995be1097c35fd3187d147494156bbfb9da7037f (diff)
downloadCMake-625ef88a92d6632e3efd5ee4d6578bfc77928679.zip
CMake-625ef88a92d6632e3efd5ee4d6578bfc77928679.tar.gz
CMake-625ef88a92d6632e3efd5ee4d6578bfc77928679.tar.bz2
CUDA: Add CMAKE_CUDA_HOST_COMPILER support on Windows non-VS generators
Diffstat (limited to 'Help/envvar')
-rw-r--r--Help/envvar/CUDAHOSTCXX.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Help/envvar/CUDAHOSTCXX.rst b/Help/envvar/CUDAHOSTCXX.rst
index 963f9d1..cf65927 100644
--- a/Help/envvar/CUDAHOSTCXX.rst
+++ b/Help/envvar/CUDAHOSTCXX.rst
@@ -15,6 +15,10 @@ ignored if the :variable:`CMAKE_CUDA_HOST_COMPILER` variable is defined.
This environment variable is primarily meant for use with projects that
enable ``CUDA`` as a first-class language.
+.. note::
+
+ Ignored when using :ref:`Visual Studio Generators`.
+
.. versionadded:: 3.13
The :module:`FindCUDA`
module will use this variable to initialize its ``CUDA_HOST_COMPILER`` setting.