summaryrefslogtreecommitdiff
path: root/Help/prop_tgt/LINKER_LANGUAGE.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Help/prop_tgt/LINKER_LANGUAGE.rst')
-rw-r--r--Help/prop_tgt/LINKER_LANGUAGE.rst14
1 files changed, 14 insertions, 0 deletions
diff --git a/Help/prop_tgt/LINKER_LANGUAGE.rst b/Help/prop_tgt/LINKER_LANGUAGE.rst
new file mode 100644
index 000000000..b1ca86710
--- /dev/null
+++ b/Help/prop_tgt/LINKER_LANGUAGE.rst
@@ -0,0 +1,14 @@
+LINKER_LANGUAGE
+---------------
+
+Specifies language whose compiler will invoke the linker.
+
+For executables, shared libraries, and modules, this sets the language
+whose compiler is used to link the target (such as "C" or "CXX"). A
+typical value for an executable is the language of the source file
+providing the program entry point (main). If not set, the language
+with the highest linker preference value is the default. See
+documentation of CMAKE_<LANG>_LINKER_PREFERENCE variables.
+
+If this property is not set by the user, it will be calculated at
+generate-time by CMake.