summaryrefslogtreecommitdiffstats
path: root/Modules/CMakeFindCodeBlocks.cmake
blob: 8f54b75fecec6f0b69054aadb591a1bb2b3fe170 (plain)
1
2
3
4
5
6
7
8
9
# This file is included in CMakeSystemSpecificInformation.cmake if
# the CodeBlocks extra generator has been selected.

FIND_PROGRAM(CMAKE_CODEBLOCKS_EXECUTABLE NAMES codeblocks DOC "The CodeBlocks executable")

IF(CMAKE_CODEBLOCKS_EXECUTABLE)
   SET(CMAKE_OPEN_PROJECT_COMMAND "${CMAKE_CODEBLOCKS_EXECUTABLE} <PROJECT_FILE>" )
ENDIF(CMAKE_CODEBLOCKS_EXECUTABLE)