<LANG>_LINKER_LAUNCHERΒΆ

Added in version 3.21.

This property is implemented only when <LANG> is one of:

  • C

  • CXX

  • CUDA

    Added in version 4.5.

  • OBJC

  • OBJCXX

  • Fortran

    Added in version 4.1.

  • HIP

    Added in version 4.5.

  • SYCL

    Added in version 4.5.

    Note

    Experimental. Gated by CMAKE_EXPERIMENTAL_SYCL.

Specify a semicolon-separated list containing a command line for a linker launching tool. The Makefile Generators and the Ninja generator will run this tool and pass the linker and its arguments to the tool. This is useful for tools such as static analyzers.

This property is initialized by the value of the CMAKE_<LANG>_LINKER_LAUNCHER variable if it is set when a target is created.

Added in version 3.27: The property value may use generator expressions.

The launcher is used only for linking executables, shared libraries, and module libraries. It is not used when creating static libraries.

Added in version 4.5: Any wrappers specified by LINK_WRAPPERS and INTERFACE_LINK_WRAPPERS are placed before the launcher command line. See LINK_WRAPPERS for details.