summaryrefslogtreecommitdiffstats
path: root/Help/variable/CMAKE_CODEBLOCKS_COMPILER_ID.rst
blob: ad2709dc3f30df226810ab19741375063769c09c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
CMAKE_CODEBLOCKS_COMPILER_ID
----------------------------

Change the compiler id in the generated CodeBlocks project files.

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