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

.. versionadded:: 3.11

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.