=== modified file 'Source/cmExtraEclipseCDT4Generator.cxx'
--- old/Source/cmExtraEclipseCDT4Generator.cxx	2012-05-24 17:38:13 +0000
+++ new/Source/cmExtraEclipseCDT4Generator.cxx	2012-06-03 07:01:26 +0000
@@ -34,6 +34,10 @@
   this->SupportedGlobalGenerators.push_back("MinGW Makefiles");
 //  this->SupportedGlobalGenerators.push_back("MSYS Makefiles");
 #endif
+// TODO: install a proxy Makefile or set "CMAKE_MAKE_PROGRAM" to ninja!
+#ifdef CMAKE_USE_NINJA
+  this->SupportedGlobalGenerators.push_back("Ninja");
+#endif
   this->SupportedGlobalGenerators.push_back("Unix Makefiles");
 
   this->SupportsVirtualFolders = true;

=== modified file 'Source/cmGlobalKdevelopGenerator.cxx'
--- old/Source/cmGlobalKdevelopGenerator.cxx	2011-08-16 21:01:47 +0000
+++ new/Source/cmGlobalKdevelopGenerator.cxx	2012-06-03 09:46:35 +0000
@@ -44,6 +44,9 @@
 :cmExternalMakefileProjectGenerator()
 {
   this->SupportedGlobalGenerators.push_back("Unix Makefiles");
+#ifdef CMAKE_USE_NINJA
+  this->SupportedGlobalGenerators.push_back("Ninja");
+#endif
 }
 
 void cmGlobalKdevelopGenerator::Generate()

