Vince Harron | 091caaf | 2015-06-02 18:37:41 -0700 | [diff] [blame^] | 1 | |
| 2 | #============================================================================= |
| 3 | # Copyright 2009 Kitware, Inc. |
| 4 | # |
| 5 | # Distributed under the OSI-approved BSD License (the "License"); |
| 6 | # see accompanying file Copyright.txt for details. |
| 7 | # |
| 8 | # This software is distributed WITHOUT ANY WARRANTY; without even the |
| 9 | # implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
| 10 | # See the License for more information. |
| 11 | #============================================================================= |
| 12 | # (To distribute this file outside of CMake, substitute the full |
| 13 | # License text for the above reference.) |
| 14 | |
| 15 | # This file is included in CMakeSystemSpecificInformation.cmake if |
| 16 | # the CodeBlocks extra generator has been selected. |
| 17 | |
| 18 | find_program(CMAKE_CODEBLOCKS_EXECUTABLE NAMES codeblocks DOC "The CodeBlocks executable") |
| 19 | |
| 20 | if(CMAKE_CODEBLOCKS_EXECUTABLE) |
| 21 | set(CMAKE_OPEN_PROJECT_COMMAND "${CMAKE_CODEBLOCKS_EXECUTABLE} <PROJECT_FILE>" ) |
| 22 | endif() |
| 23 | |
| 24 | # Determine builtin macros and include dirs: |
| 25 | include(${CMAKE_CURRENT_LIST_DIR}/CMakeExtraGeneratorDetermineCompilerMacrosAndIncludeDirs.cmake) |