https://github.com/Kitware/CMake
Raw File
Tip revision: 7612abd52f192a13848a4d74191633a008892449 authored by Brad King on 20 September 2021, 16:43:52 UTC
CMake 3.21.3
Tip revision: 7612abd
KEEP_EXTENSION.rst
KEEP_EXTENSION
--------------

Make the output file have the same extension as the source file.

If this property is set then the file extension of the output file
will be the same as that of the source file.  Normally the output file
extension is computed based on the language of the source file, for
example ``.cxx`` will go to a ``.o`` extension.
back to top