summaryrefslogtreecommitdiff
path: root/Help/variable/CMAKE_CUDA_HOST_COMPILER.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Help/variable/CMAKE_CUDA_HOST_COMPILER.rst')
-rw-r--r--Help/variable/CMAKE_CUDA_HOST_COMPILER.rst8
1 files changed, 8 insertions, 0 deletions
diff --git a/Help/variable/CMAKE_CUDA_HOST_COMPILER.rst b/Help/variable/CMAKE_CUDA_HOST_COMPILER.rst
new file mode 100644
index 000000000..6d34c5ccc
--- /dev/null
+++ b/Help/variable/CMAKE_CUDA_HOST_COMPILER.rst
@@ -0,0 +1,8 @@
+CMAKE_CUDA_HOST_COMPILER
+------------------------
+
+Executable to use when compiling host code when compiling ``CUDA`` language
+files. Maps to the ``nvcc -ccbin`` option. Will only be used by CMake on the first
+configuration to determine a valid host compiler for ``CUDA``. After a valid
+host compiler has been found, this value is read-only. This variable takes
+priority over the :envvar:`CUDAHOSTCXX` environment variable.