Enable extra CodeBlocks generator on Cygwin

This generator builds correctly on Cygwin so it should be enabled.
Change based on patch from issue #10122.
This commit is contained in:
Brad King 2010-01-13 12:58:08 -05:00
parent fdbe16c1f4
commit 5b5372059c
2 changed files with 3 additions and 7 deletions

View File

@ -167,6 +167,8 @@ SET(SRCS
cmExportFileGenerator.cxx
cmExportInstallFileGenerator.h
cmExportInstallFileGenerator.cxx
cmExtraCodeBlocksGenerator.cxx
cmExtraCodeBlocksGenerator.h
cmExtraEclipseCDT4Generator.cxx
cmExtraEclipseCDT4Generator.h
cmFileTimeComparison.cxx
@ -256,10 +258,6 @@ IF(UNIX)
SET(SRCS ${SRCS} cmGlobalKdevelopGenerator.cxx)
ENDIF(UNIX)
IF(NOT CYGWIN)
SET(SRCS ${SRCS} cmExtraCodeBlocksGenerator.cxx)
ENDIF(NOT CYGWIN)
# XCode only works on apple
IF(APPLE)
SET(SRCS ${SRCS}

View File

@ -82,7 +82,7 @@
#include "cmCallVisualStudioMacro.h"
#endif
#if !defined(__CYGWIN__) && !defined(CMAKE_BOOT_MINGW)
#if !defined(CMAKE_BOOT_MINGW)
# include "cmExtraCodeBlocksGenerator.h"
#endif
@ -1653,10 +1653,8 @@ void cmake::AddDefaultExtraGenerators()
// e.g. kdevelop4 ?
#endif
#if !defined(__CYGWIN__)
this->AddExtraGenerator(cmExtraCodeBlocksGenerator::GetActualName(),
&cmExtraCodeBlocksGenerator::New);
#endif
#ifdef CMAKE_USE_ECLIPSE
this->AddExtraGenerator(cmExtraEclipseCDT4Generator::GetActualName(),