Back to Cmake

CMAKE_EXECUTABLE_SUFFIX

Help/variable/CMAKE_EXECUTABLE_SUFFIX.rst

4.3.2377 B
Original Source

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.