|
@@ -70,9 +70,12 @@
|
|
|
#endif
|
|
#endif
|
|
|
#include "cmGlobalUnixMakefileGenerator3.h"
|
|
#include "cmGlobalUnixMakefileGenerator3.h"
|
|
|
|
|
|
|
|
|
|
+#if !defined(__CYGWIN__) && !defined(CMAKE_BOOT_MINGW)
|
|
|
|
|
+# include "cmExtraCodeBlocksGenerator.h"
|
|
|
|
|
+#endif
|
|
|
|
|
+
|
|
|
#ifdef CMAKE_USE_KDEVELOP
|
|
#ifdef CMAKE_USE_KDEVELOP
|
|
|
# include "cmGlobalKdevelopGenerator.h"
|
|
# include "cmGlobalKdevelopGenerator.h"
|
|
|
-# include "cmExtraCodeBlocksGenerator.h"
|
|
|
|
|
#endif
|
|
#endif
|
|
|
|
|
|
|
|
#include <stdlib.h> // required for atoi
|
|
#include <stdlib.h> // required for atoi
|
|
@@ -1472,15 +1475,17 @@ void cmake::AddExtraGenerator(const char* name,
|
|
|
|
|
|
|
|
void cmake::AddDefaultExtraGenerators()
|
|
void cmake::AddDefaultExtraGenerators()
|
|
|
{
|
|
{
|
|
|
|
|
+#if defined(CMAKE_BUILD_WITH_CMAKE)
|
|
|
#if defined(_WIN32) && !defined(__CYGWIN__)
|
|
#if defined(_WIN32) && !defined(__CYGWIN__)
|
|
|
-# if !defined(CMAKE_BOOT_MINGW)
|
|
|
|
|
- // e.g. codeblocks, kdevelop4 ?
|
|
|
|
|
-# endif
|
|
|
|
|
|
|
+ // e.g. kdevelop4 ?
|
|
|
#endif
|
|
#endif
|
|
|
-// e.g. eclipse ?
|
|
|
|
|
-#ifdef CMAKE_USE_KDEVELOP
|
|
|
|
|
- this->AddExtraGenerator(cmExtraCodeBlocksGenerator::GetActualName(),
|
|
|
|
|
|
|
+
|
|
|
|
|
+#if !defined(__CYGWIN__)
|
|
|
|
|
+ this->AddExtraGenerator(cmExtraCodeBlocksGenerator::GetActualName(),
|
|
|
&cmExtraCodeBlocksGenerator::New);
|
|
&cmExtraCodeBlocksGenerator::New);
|
|
|
|
|
+#endif
|
|
|
|
|
+
|
|
|
|
|
+#ifdef CMAKE_USE_KDEVELOP
|
|
|
this->AddExtraGenerator(cmGlobalKdevelopGenerator::GetActualName(),
|
|
this->AddExtraGenerator(cmGlobalKdevelopGenerator::GetActualName(),
|
|
|
&cmGlobalKdevelopGenerator::New);
|
|
&cmGlobalKdevelopGenerator::New);
|
|
|
// for kdevelop also add the generator with just the name of the
|
|
// for kdevelop also add the generator with just the name of the
|
|
@@ -1488,6 +1493,8 @@ void cmake::AddDefaultExtraGenerators()
|
|
|
this->ExtraGenerators[cmGlobalKdevelopGenerator::GetActualName()]
|
|
this->ExtraGenerators[cmGlobalKdevelopGenerator::GetActualName()]
|
|
|
= &cmGlobalKdevelopGenerator::New;
|
|
= &cmGlobalKdevelopGenerator::New;
|
|
|
#endif
|
|
#endif
|
|
|
|
|
+
|
|
|
|
|
+#endif
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
|