summaryrefslogtreecommitdiffstats
path: root/Help/variable/CMAKE_CUDA_HOST_COMPILER.rst
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/variable/CMAKE_CUDA_HOST_COMPILER.rst
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/variable/CMAKE_CUDA_HOST_COMPILER.rst')
-rw-r--r--Help/variable/CMAKE_CUDA_HOST_COMPILER.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Help/variable/CMAKE_CUDA_HOST_COMPILER.rst b/Help/variable/CMAKE_CUDA_HOST_COMPILER.rst
index d5fcb7d..9817b1a 100644
--- a/Help/variable/CMAKE_CUDA_HOST_COMPILER.rst
+++ b/Help/variable/CMAKE_CUDA_HOST_COMPILER.rst
@@ -23,3 +23,7 @@ is read-only and changes to it are undefined behavior.
:variable:`CMAKE_CUDA_COMPILER_ID <CMAKE_<LANG>_COMPILER_ID>` is ``NVIDIA``,
it does not make sense to set ``CMAKE_CUDA_HOST_COMPILER`` without also
setting ``CMAKE_CUDA_COMPILER`` to NVCC.
+
+.. note::
+
+ Ignored when using :ref:`Visual Studio Generators`.