mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-22 06:59:01 -06:00
CodeBlocks: add option for the CB compiler ID
CodeBlocks uses his own compiler ID string which may differ from CMAKE_<LANG>_COMPILER_ID. In particular CodeBlocks supports a large number of different compiler configurations (with different IDs) This commit adds a cache variable "CMAKE_CODEBLOCKS_COMPILER_ID", so the user might adjust it when needed.
This commit is contained in:
committed by
Brad King
parent
85ae0ba796
commit
e04f1d1b47
13
Help/variable/CMAKE_CODEBLOCKS_COMPILER_ID.rst
Normal file
13
Help/variable/CMAKE_CODEBLOCKS_COMPILER_ID.rst
Normal file
@@ -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.
|
||||
Reference in New Issue
Block a user