summaryrefslogtreecommitdiffstats
path: root/Source/cmake.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2004-10-11 15:32:14 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2004-10-11 15:32:14 (GMT)
commit766c093d69d24200e54d4c7eb22ebeae221ece06 (patch)
tree4f3ba4a5e7c9eee7adb1088c4e9e94e66ef7df87 /Source/cmake.cxx
parent4b7f37159314d80321025bc44950e6f623d9cdea (diff)
downloadCMake-766c093d69d24200e54d4c7eb22ebeae221ece06.zip
CMake-766c093d69d24200e54d4c7eb22ebeae221ece06.tar.gz
CMake-766c093d69d24200e54d4c7eb22ebeae221ece06.tar.bz2
NEW: add kdevelop patch from Alexander Neundorf
Diffstat (limited to 'Source/cmake.cxx')
-rw-r--r--Source/cmake.cxx38
1 files changed, 21 insertions, 17 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx
index 340766e..b365353 100644
--- a/Source/cmake.cxx
+++ b/Source/cmake.cxx
@@ -25,29 +25,29 @@
// include the generator
#if defined(_WIN32) && !defined(__CYGWIN__)
-#include "cmGlobalVisualStudio6Generator.h"
-#if !defined(__MINGW32__)
-#include "cmGlobalVisualStudio7Generator.h"
-#include "cmGlobalVisualStudio71Generator.h"
-#include "cmGlobalVisualStudio8Generator.h"
-#endif
-#include "cmGlobalBorlandMakefileGenerator.h"
-#include "cmGlobalNMakeMakefileGenerator.h"
-#include "cmGlobalUnixMakefileGenerator.h"
-#include "cmWin32ProcessExecution.h"
+# include "cmGlobalVisualStudio6Generator.h"
+# if !defined(__MINGW32__)
+# include "cmGlobalVisualStudio7Generator.h"
+# include "cmGlobalVisualStudio71Generator.h"
+# include "cmGlobalVisualStudio8Generator.h"
+# endif
+# include "cmGlobalBorlandMakefileGenerator.h"
+# include "cmGlobalNMakeMakefileGenerator.h"
+# include "cmWin32ProcessExecution.h"
#else
-#include "cmGlobalUnixMakefileGenerator.h"
#endif
+#include "cmGlobalUnixMakefileGenerator.h"
+#include "cmGlobalKdevelopGenerator.h"
#include <stdlib.h> // required for atoi
#ifdef __APPLE__
-#include <sys/types.h>
-#include <sys/time.h>
-#include <sys/resource.h>
-#if defined(CMAKE_BUILD_WITH_CMAKE)
-#include "cmGlobalCodeWarriorGenerator.h"
-#endif
+# include <sys/types.h>
+# include <sys/time.h>
+# include <sys/resource.h>
+# if defined(CMAKE_BUILD_WITH_CMAKE)
+# include "cmGlobalCodeWarriorGenerator.h"
+# endif
#endif
#include <memory> // auto_ptr
@@ -1415,6 +1415,10 @@ void cmake::AddDefaultGenerators()
#endif
m_Generators[cmGlobalUnixMakefileGenerator::GetActualName()] =
&cmGlobalUnixMakefileGenerator::New;
+#if !defined(_WIN32)
+ m_Generators[cmGlobalKdevelopGenerator::GetActualName()] =
+ &cmGlobalKdevelopGenerator::New;
+#endif
}
int cmake::LoadCache()