cmake/Help/variable/CMAKE_LANG_LINKER_PREFERENCE.rst

12 lines
530 B
ReStructuredText
Raw Normal View History

2014-08-03 19:52:23 +02:00
CMAKE_<LANG>_LINKER_PREFERENCE
------------------------------
Preference value for linker language selection.
The "linker language" for executable, shared library, and module
targets is the language whose compiler will invoke the linker. The
2015-11-17 17:22:37 +01:00
:prop_tgt:`LINKER_LANGUAGE` target property sets the language explicitly.
2014-08-03 19:52:23 +02:00
Otherwise, the linker language is that whose linker preference value
is highest among languages compiled and linked into the target. See
2015-11-17 17:22:37 +01:00
also the :variable:`CMAKE_<LANG>_LINKER_PREFERENCE_PROPAGATES` variable.