summaryrefslogtreecommitdiffstats
path: root/Help/variable/CMAKE_EXECUTABLE_SUFFIX.rst
blob: e445c984e425e1871cdcdcf431be4b8f82ee94ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
CMAKE_EXECUTABLE_SUFFIX
-----------------------

The suffix for executables on the target platform.

The suffix to use for the end of an executable filename if any, ``.exe``
on Windows.

:variable:`CMAKE_EXECUTABLE_SUFFIX_<LANG>` overrides this for
language ``<LANG>``.


See the :variable:`CMAKE_HOST_EXECUTABLE_SUFFIX` variable for the
executable suffix on the host platform.