Back to Cmake

CMAKE_HOST_EXECUTABLE_SUFFIX

Help/variable/CMAKE_HOST_EXECUTABLE_SUFFIX.rst

4.3.2359 B
Original Source

CMAKE_HOST_EXECUTABLE_SUFFIX

.. versionadded:: 3.31

The suffix for executables on the host platform. This may differ from the suffix for the target platform, :variable:CMAKE_EXECUTABLE_SUFFIX.

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

See also :variable:CMAKE_EXECUTABLE_SUFFIX.