summaryrefslogtreecommitdiff
path: root/share/cmake-3.18/Help/variable/CMAKE_LANG_LINKER_PREFERENCE.rst
diff options
context:
space:
mode:
Diffstat (limited to 'share/cmake-3.18/Help/variable/CMAKE_LANG_LINKER_PREFERENCE.rst')
-rw-r--r--share/cmake-3.18/Help/variable/CMAKE_LANG_LINKER_PREFERENCE.rst11
1 files changed, 11 insertions, 0 deletions
diff --git a/share/cmake-3.18/Help/variable/CMAKE_LANG_LINKER_PREFERENCE.rst b/share/cmake-3.18/Help/variable/CMAKE_LANG_LINKER_PREFERENCE.rst
new file mode 100644
index 0000000..ff82f8b
--- /dev/null
+++ b/share/cmake-3.18/Help/variable/CMAKE_LANG_LINKER_PREFERENCE.rst
@@ -0,0 +1,11 @@
+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
+:prop_tgt:`LINKER_LANGUAGE` target property sets the language explicitly.
+Otherwise, the linker language is that whose linker preference value
+is highest among languages compiled and linked into the target. See
+also the :variable:`CMAKE_<LANG>_LINKER_PREFERENCE_PROPAGATES` variable.