summaryrefslogtreecommitdiffstats
path: root/Help/variable
diff options
context:
space:
mode:
authorLorenzo Cappelletti <lorenzo.cappelletti@gmail.com>2021-07-19 08:31:41 (GMT)
committerBrad King <brad.king@kitware.com>2021-07-20 15:51:19 (GMT)
commit09bc0785eeae95e23f9ac5c2e945fa89cb994912 (patch)
tree1b40ffd8145ebd5b335c59c9ca31d3ffd0d370c9 /Help/variable
parent05a3bafe650ae7f567c50abbdf626fca9ac2b3df (diff)
downloadCMake-09bc0785eeae95e23f9ac5c2e945fa89cb994912.zip
CMake-09bc0785eeae95e23f9ac5c2e945fa89cb994912.tar.gz
CMake-09bc0785eeae95e23f9ac5c2e945fa89cb994912.tar.bz2
Help: Document CMAKE_EXECUTABLE_SUFFIX_<LANG> explicitly
Documentation for `CMAKE_EXECUTABLE_SUFFIX_<LANG>`, useful when cross-compiling, is buried in section `CMAKE_EXECUTABLE_SUFFIX`.
Diffstat (limited to 'Help/variable')
-rw-r--r--Help/variable/CMAKE_EXECUTABLE_SUFFIX.rst3
-rw-r--r--Help/variable/CMAKE_EXECUTABLE_SUFFIX_LANG.rst7
2 files changed, 9 insertions, 1 deletions
diff --git a/Help/variable/CMAKE_EXECUTABLE_SUFFIX.rst b/Help/variable/CMAKE_EXECUTABLE_SUFFIX.rst
index 356590f..bc4b9df 100644
--- a/Help/variable/CMAKE_EXECUTABLE_SUFFIX.rst
+++ b/Help/variable/CMAKE_EXECUTABLE_SUFFIX.rst
@@ -6,4 +6,5 @@ The suffix for executables on this platform.
The suffix to use for the end of an executable filename if any, ``.exe``
on Windows.
-``CMAKE_EXECUTABLE_SUFFIX_<LANG>`` overrides this for language ``<LANG>``.
+:variable:`CMAKE_EXECUTABLE_SUFFIX_<LANG>` overrides this for
+language ``<LANG>``.
diff --git a/Help/variable/CMAKE_EXECUTABLE_SUFFIX_LANG.rst b/Help/variable/CMAKE_EXECUTABLE_SUFFIX_LANG.rst
new file mode 100644
index 0000000..a68150e
--- /dev/null
+++ b/Help/variable/CMAKE_EXECUTABLE_SUFFIX_LANG.rst
@@ -0,0 +1,7 @@
+CMAKE_EXECUTABLE_SUFFIX_<LANG>
+------------------------------
+
+The suffix to use for the end of an executable filename of ``<LANG>``
+compiler target architecture, if any.
+
+It overrides :variable:`CMAKE_EXECUTABLE_SUFFIX` for language ``<LANG>``.