CMAKE_LANG_LINKER_PREFERENCE.rst 530 B

1234567891011
  1. CMAKE_<LANG>_LINKER_PREFERENCE
  2. ------------------------------
  3. Preference value for linker language selection.
  4. The "linker language" for executable, shared library, and module
  5. targets is the language whose compiler will invoke the linker. The
  6. :prop_tgt:`LINKER_LANGUAGE` target property sets the language explicitly.
  7. Otherwise, the linker language is that whose linker preference value
  8. is highest among languages compiled and linked into the target. See
  9. also the :variable:`CMAKE_<LANG>_LINKER_PREFERENCE_PROPAGATES` variable.