diff options
author | Brad King <brad.king@kitware.com> | 2018-09-20 13:35:39 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2018-09-20 13:35:45 (GMT) |
commit | 99648081085d8ec48a7846c918bee39a2bdde908 (patch) | |
tree | 5312266843a91b1a2b990d7509bb6dcd5e80eab5 /Help | |
parent | cc6e2b95d92d233c755c4649ba2d6914255a1e04 (diff) | |
parent | 8085799ce3a311e3f0f3c2f2119ae0dcb8b2e0a3 (diff) | |
download | CMake-99648081085d8ec48a7846c918bee39a2bdde908.zip CMake-99648081085d8ec48a7846c918bee39a2bdde908.tar.gz CMake-99648081085d8ec48a7846c918bee39a2bdde908.tar.bz2 |
Merge topic 'FindCUDA-ccbin-env'
8085799ce3 FindCUDA: Add option to set CUDA_HOST_COMPILER via environment
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !2391
Diffstat (limited to 'Help')
-rw-r--r-- | Help/envvar/CUDAHOSTCXX.rst | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Help/envvar/CUDAHOSTCXX.rst b/Help/envvar/CUDAHOSTCXX.rst index f0f94f6..bb786ca 100644 --- a/Help/envvar/CUDAHOSTCXX.rst +++ b/Help/envvar/CUDAHOSTCXX.rst @@ -7,3 +7,7 @@ determine ``CUDA`` host compiler, after which the value for ``CUDAHOSTCXX`` is stored in the cache as :variable:`CMAKE_CUDA_HOST_COMPILER`. For any configuration run (including the first), the environment variable will be 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. The :module:`FindCUDA` +module will also use it to initialize its ``CUDA_HOST_COMPILER`` setting. |