summaryrefslogtreecommitdiff
path: root/Help/variable/CMAKE_CODEBLOCKS_COMPILER_ID.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Help/variable/CMAKE_CODEBLOCKS_COMPILER_ID.rst')
-rw-r--r--Help/variable/CMAKE_CODEBLOCKS_COMPILER_ID.rst13
1 files changed, 13 insertions, 0 deletions
diff --git a/Help/variable/CMAKE_CODEBLOCKS_COMPILER_ID.rst b/Help/variable/CMAKE_CODEBLOCKS_COMPILER_ID.rst
new file mode 100644
index 000000000..ad2709dc3
--- /dev/null
+++ b/Help/variable/CMAKE_CODEBLOCKS_COMPILER_ID.rst
@@ -0,0 +1,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.