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.

CMAKE_EXECUTABLE_SUFFIX_<LANG> overrides this for language <LANG>.

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

© 2000–2024 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/latest/variable/CMAKE_EXECUTABLE_SUFFIX.html