瀏覽代碼

ENH: remove code warrior classes

Ken Martin 20 年之前
父節點
當前提交
78ca400d33
共有 2 個文件被更改,包括 0 次插入17 次删除
  1. 0 9
      Source/CMakeLists.txt
  2. 0 8
      Source/cmake.cxx

+ 0 - 9
Source/CMakeLists.txt

@@ -80,15 +80,6 @@ INCLUDE_DIRECTORIES(${CMake_SOURCE_DIR}/Source)
 # let cmake know it is supposed to use it
 ADD_DEFINITIONS(-DCMAKE_BUILD_WITH_CMAKE)
 
-IF (APPLE)
-  SET(SRCS ${SRCS}
-    cmGlobalCodeWarriorGenerator.cxx
-    cmLocalCodeWarriorGenerator.cxx
-    cmGlobalCodeWarriorGenerator.h
-    cmLocalCodeWarriorGenerator.h
-    )
-ENDIF (APPLE)
-
 # Kdevelop only works on UNIX and not windows
 IF(UNIX)
   SET(SRCS ${SRCS}

+ 0 - 8
Source/cmake.cxx

@@ -63,9 +63,6 @@
 #  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
@@ -1453,11 +1450,6 @@ void cmake::AddDefaultGenerators()
     &cmGlobalBorlandMakefileGenerator::New;
   m_Generators[cmGlobalNMakeMakefileGenerator::GetActualName()] =
     &cmGlobalNMakeMakefileGenerator::New;
-#else
-# if defined(__APPLE__) && defined(CMAKE_BUILD_WITH_CMAKE)
-  m_Generators[cmGlobalCodeWarriorGenerator::GetActualName()] =
-    &cmGlobalCodeWarriorGenerator::New;
-# endif
 #endif
   m_Generators[cmGlobalUnixMakefileGenerator::GetActualName()] =
     &cmGlobalUnixMakefileGenerator::New;