summaryrefslogtreecommitdiffstats
path: root/Modules/CMakeKDevelop3.cmake
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2009-05-10 10:00:27 (GMT)
committerAlexander Neundorf <neundorf@kde.org>2009-05-10 10:00:27 (GMT)
commit352fb9ff66787f6eaffdfa964794de62877bd965 (patch)
tree912f8e9dc6790edcf2626b8f3095c5f88d4d308b /Modules/CMakeKDevelop3.cmake
parent2ab4e7df8109548a233a39fac79a571538d4d196 (diff)
downloadCMake-352fb9ff66787f6eaffdfa964794de62877bd965.zip
CMake-352fb9ff66787f6eaffdfa964794de62877bd965.tar.gz
CMake-352fb9ff66787f6eaffdfa964794de62877bd965.tar.bz2
ENH: move the code which queries gcc for the system include dirs from
CMakeSystemSpecificInformation.cmake into a separate file, CMakeEclipseCDT4.cmake -if CMAKE_EXTRA_GENERATOR is set, i.e. either CodeBlocks or KDevelop3 or EclipseCDT4, load a matching cmake script file, which can do things specific for this generator - added such files for Eclipse, KDevelop and CodeBlocks, one thing they all do is they try to find the respective IDE and store it in the CMAKE_(KDEVELOP3|CODEBLOCKS|ECLIPSE)_EXECUTABLE variable. This could be used by cmake-gui to open the project it just generated with the gui (not sure this is possible with eclipse). Alex
Diffstat (limited to 'Modules/CMakeKDevelop3.cmake')
-rw-r--r--Modules/CMakeKDevelop3.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/Modules/CMakeKDevelop3.cmake b/Modules/CMakeKDevelop3.cmake
new file mode 100644
index 0000000..9167967
--- /dev/null
+++ b/Modules/CMakeKDevelop3.cmake
@@ -0,0 +1,5 @@
+# This file is included in CMakeSystemSpecificInformation.cmake if
+# the KDevelop3 extra generator has been selected.
+
+FIND_PROGRAM(CMAKE_KDEVELOP3_EXECUTABLE NAMES kdevelop DOC "The KDevelop3 executable")
+