summaryrefslogtreecommitdiffstats
path: root/Source/cmake.cxx
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2007-07-13 04:58:43 (GMT)
committerAlexander Neundorf <neundorf@kde.org>2007-07-13 04:58:43 (GMT)
commit378a8e99f90a844b95f049afd751176e9455fe54 (patch)
tree7924d64d9db737ae19a4e2bc463f797ffa682742 /Source/cmake.cxx
parent2509e24afe23f2e3d4d15c73a9e2f6843daf9062 (diff)
downloadCMake-378a8e99f90a844b95f049afd751176e9455fe54.zip
CMake-378a8e99f90a844b95f049afd751176e9455fe54.tar.gz
CMake-378a8e99f90a844b95f049afd751176e9455fe54.tar.bz2
ENH: add a simple CodeBlocks extra generator, early alpha stage, there seems
to be interest in it Alex
Diffstat (limited to 'Source/cmake.cxx')
-rw-r--r--Source/cmake.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx
index 7e64476..c928603 100644
--- a/Source/cmake.cxx
+++ b/Source/cmake.cxx
@@ -72,6 +72,7 @@
#ifdef CMAKE_USE_KDEVELOP
# include "cmGlobalKdevelopGenerator.h"
+# include "cmExtraCodeBlocksGenerator.h"
#endif
#include <stdlib.h> // required for atoi
@@ -1447,6 +1448,8 @@ void cmake::AddDefaultExtraGenerators()
#endif
// e.g. eclipse ?
#ifdef CMAKE_USE_KDEVELOP
+ this->AddExtraGenerator(cmExtraCodeBlocksGenerator::GetActualName(),
+ &cmExtraCodeBlocksGenerator::New);
this->AddExtraGenerator(cmGlobalKdevelopGenerator::GetActualName(),
&cmGlobalKdevelopGenerator::New);
// for kdevelop also add the generator with just the name of the