CUDA: Add support for [CMAKE_]CUDA_LINKER_LAUNCHER

`CMAKE_<LANG>_LINKER_LAUNCHER` and `<LANG>_LINKER_LAUNCHER` are
already support for C, CXX, OBJC, OBJCXX, and Fortran.  Add CUDA.

Issue: #26967
This commit is contained in:
Maximilian Sander
2025-05-30 14:38:24 +02:00
committed by Brad King
parent ab5866c2d2
commit 77312cc636
16 changed files with 47 additions and 1 deletions
+8
View File
@@ -6,9 +6,17 @@
This property is implemented only when ``<LANG>`` is one of:
* ``C``
* ``CXX``
* ``CUDA``
.. versionadded:: 4.1
* ``OBJC``
* ``OBJCXX``
* ``Fortran``
.. versionadded:: 4.1
+1 -1
View File
@@ -2,6 +2,6 @@ linker-launcher
---------------
* :ref:`Makefile Generators` and :ref:`Ninja Generators` gained support
for adding a linker launcher with ``Fortran``.
for adding a linker launcher with ``Fortran`` and ``CUDA``.
See the :variable:`CMAKE_<LANG>_LINKER_LAUNCHER` variable
and :prop_tgt:`<LANG>_LINKER_LAUNCHER` target property for details.
@@ -8,9 +8,17 @@ variable is used to initialize the property on each target as it is created.
This is done only when ``<LANG>`` is one of:
* ``C``
* ``CXX``
* ``CUDA``
.. versionadded:: 4.1
* ``OBJC``
* ``OBJCXX``
* ``Fortran``
.. versionadded:: 4.1