CUDAHOSTCXX.rst 676 B

12345678910111213
  1. CUDAHOSTCXX
  2. -----------
  3. Preferred executable for compiling host code when compiling ``CUDA``
  4. language files. Will only be used by CMake on the first configuration to
  5. determine ``CUDA`` host compiler, after which the value for ``CUDAHOSTCXX`` is
  6. stored in the cache as :variable:`CMAKE_CUDA_HOST_COMPILER`. For any
  7. configuration run (including the first), the environment variable will be
  8. ignored if the :variable:`CMAKE_CUDA_HOST_COMPILER` variable is defined.
  9. This environment variable is primarily meant for use with projects that
  10. enable ``CUDA`` as a first-class language. The :module:`FindCUDA`
  11. module will also use it to initialize its ``CUDA_HOST_COMPILER`` setting.