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