summaryrefslogtreecommitdiffstats
path: root/Modules/CMakeFindCodeBlocks.cmake
diff options
context:
space:
mode:
authorAlex Neundorf <neundorf@kde.org>2011-08-01 23:46:39 (GMT)
committerAlex Neundorf <neundorf@kde.org>2011-08-01 23:46:39 (GMT)
commite2e8c0a41225f5449a8139a1ce0219940f902665 (patch)
treea62a704f398e37765df0a50361b58b5f41be9471 /Modules/CMakeFindCodeBlocks.cmake
parent92c0dc50fc73dd9866f48c521b0aff7473eb3a59 (diff)
downloadCMake-e2e8c0a41225f5449a8139a1ce0219940f902665.zip
CMake-e2e8c0a41225f5449a8139a1ce0219940f902665.tar.gz
CMake-e2e8c0a41225f5449a8139a1ce0219940f902665.tar.bz2
Also put builtin include dirs into CodeBlocks project file
Refactor code from CMakeFindEclipseCDT4.cmake so it can be used alkso for CodeBlocks, and move it into new file CMakeExtraGeneratorDetermineCompilerMacrosAndIncludeDirs.cmake. Alex
Diffstat (limited to 'Modules/CMakeFindCodeBlocks.cmake')
-rw-r--r--Modules/CMakeFindCodeBlocks.cmake2
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/CMakeFindCodeBlocks.cmake b/Modules/CMakeFindCodeBlocks.cmake
index c72c8f7..23f2c82 100644
--- a/Modules/CMakeFindCodeBlocks.cmake
+++ b/Modules/CMakeFindCodeBlocks.cmake
@@ -21,3 +21,5 @@ IF(CMAKE_CODEBLOCKS_EXECUTABLE)
SET(CMAKE_OPEN_PROJECT_COMMAND "${CMAKE_CODEBLOCKS_EXECUTABLE} <PROJECT_FILE>" )
ENDIF(CMAKE_CODEBLOCKS_EXECUTABLE)
+# Determine builtin macros and include dirs:
+INCLUDE(${CMAKE_CURRENT_LIST_DIR}/CMakeExtraGeneratorDetermineCompilerMacrosAndIncludeDirs.cmake)