CMAKE_EXECUTABLE_FORMAT should not be shown in CMake GUI
CMAKE_EXECUTABLE_FORMAT
is an undocumented variable set by CMakeDetermineCompilerId.cmake
. The way it is set/defined is inconsistent depending on its value. Usually it is set as an INTERNAL
cache variable, but at this line only, it is set as an ordinary string variable. This makes it show up in the CMake GUI even for a basic project, but we should probably hide it and make it INTERNAL
everywhere.
This has been present since CMake 3.14. It was essentially pre-existing code that !2722 (merged) uncommented and made active.