CMAKE_CODEBLOCKS_COMPILER_ID — CMake 3.16.2 Documentation

# CMAKE_CODEBLOCKS_COMPILER_ID

Change the compiler id in the generated CodeBlocks project files.

CodeBlocks uses its own compiler id string which differs from `CMAKE_<LANG>_COMPILER_ID`. If this variable is left empty, CMake tries to recognize the CodeBlocks compiler id automatically. Otherwise the specified string is used in the CodeBlocks project file. See the CodeBlocks documentation for valid compiler id strings.

Other IDEs like QtCreator that also use the CodeBlocks generator may ignore this setting.