1
0
mirror of https://github.com/Kitware/CMake.git synced 2025-10-14 02:08:27 +08:00

Help: Document CMAKE_EXECUTABLE_SUFFIX_<LANG> explicitly

Documentation for `CMAKE_EXECUTABLE_SUFFIX_<LANG>`, useful when
cross-compiling, is buried in section `CMAKE_EXECUTABLE_SUFFIX`.
This commit is contained in:
Lorenzo Cappelletti
2021-07-19 10:31:41 +02:00
committed by Brad King
parent 05a3bafe65
commit 09bc0785ee
3 changed files with 10 additions and 1 deletions

View File

@@ -53,6 +53,7 @@ Variables that Provide Information
/variable/CMAKE_DOTNET_TARGET_FRAMEWORK_VERSION
/variable/CMAKE_EDIT_COMMAND
/variable/CMAKE_EXECUTABLE_SUFFIX
/variable/CMAKE_EXECUTABLE_SUFFIX_LANG
/variable/CMAKE_EXTRA_GENERATOR
/variable/CMAKE_EXTRA_SHARED_LIBRARY_SUFFIXES
/variable/CMAKE_FIND_DEBUG_MODE

View File

@@ -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>``.

View File

@@ -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>``.