CMAKE_CODEBLOCKS_COMPILER_ID

From Get docs
Cmake/docs/3.21/variable/cmake codeblocks compiler id


CMAKE_CODEBLOCKS_COMPILER_ID

New in version 3.11.


Change the compiler id in the generated CodeBlocks project files.

CodeBlocks uses its own compiler id string which differs from CMAKE__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.

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