mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-09-25 04:09:36 +03:00
Report them in `CMAKE_<LANG>_HOST_COMPILER_{ID,VERSION}` variables.
Fixes: #20901
9 lines
332 B
ReStructuredText
9 lines
332 B
ReStructuredText
cuda-host-compiler-id
|
|
---------------------
|
|
|
|
* The :variable:`CMAKE_<LANG>_HOST_COMPILER_ID` and
|
|
:variable:`CMAKE_<LANG>_HOST_COMPILER_VERSION` variables were added,
|
|
where ``<LANG>`` is either ``CUDA`` or ``HIP``. They are populated
|
|
when :variable:`CMAKE_<LANG>_COMPILER_ID` is ``NVIDIA`` to identify
|
|
NVCC's host compiler.
|