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 CUDAHOSTCXX
environment variable.
© 2000–2020 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/v3.17/variable/CMAKE_CUDA_HOST_COMPILER.html