diff options
author | Brad King <brad.king@kitware.com> | 2017-11-29 13:25:44 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2017-11-29 13:32:26 (GMT) |
commit | c07b18d8835fbc4ddc0364f6f3531cc515f309fc (patch) | |
tree | 41a259caec80fc76547b6d66825368dfa7e6cb6e /Modules | |
parent | 71c28bddba25847f65cfebefe884d8e88eedc1af (diff) | |
parent | e04f1d1b47f395cd702574041aa17e52e71499d8 (diff) | |
download | CMake-c07b18d8835fbc4ddc0364f6f3531cc515f309fc.zip CMake-c07b18d8835fbc4ddc0364f6f3531cc515f309fc.tar.gz CMake-c07b18d8835fbc4ddc0364f6f3531cc515f309fc.tar.bz2 |
Merge topic 'CodeBlocks-custom-compiler-id'
e04f1d1b CodeBlocks: add option for the CB compiler ID
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1512
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/CMakeFindCodeBlocks.cmake | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/CMakeFindCodeBlocks.cmake b/Modules/CMakeFindCodeBlocks.cmake index b76e5c5..13bceb1 100644 --- a/Modules/CMakeFindCodeBlocks.cmake +++ b/Modules/CMakeFindCodeBlocks.cmake @@ -28,3 +28,6 @@ endif() # This variable is used by the CodeBlocks generator and appended to the make invocation commands. set(CMAKE_CODEBLOCKS_MAKE_ARGUMENTS "${_CMAKE_CODEBLOCKS_INITIAL_MAKE_ARGS}" CACHE STRING "Additional command line arguments when CodeBlocks invokes make. Enter e.g. -j<some_number> to get parallel builds") + +# This variable is used by the CodeBlocks generator and allows the user to overwrite the autodetected CodeBlocks compiler id +set(CMAKE_CODEBLOCKS_COMPILER_ID "" CACHE STRING "Id string of the compiler for the CodeBlocks IDE. Automatically detected when left empty") |