CMAKE__OUTPUT_EXTENSION

From Get docs
Cmake/docs/3.21/variable/cmake lang output extension


CMAKE__OUTPUT_EXTENSION

Extension for the output of a compile for a single file.

This is the extension for an object file for the given <LANG>. For example .obj for C on Windows.

© 2000–2021 Kitware, Inc. and Contributors
Licensed under the BSD 3-clause License.
https://cmake.org/cmake/help/v3.21/variable/CMAKE_LANG_OUTPUT_EXTENSION.html