Commit 99b3152a authored by Ken Martin's avatar Ken Martin

add COdeWarrior back in for testing

parent 304582d2
......@@ -56,6 +56,15 @@ 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)
IF (WIN32)
IF(NOT UNIX)
SET(SRCS ${SRCS}
......
This diff is collapsed.
......@@ -70,7 +70,12 @@ private:
const char *ext, const char *comp,
const char *edit, bool precomp,
bool launch, bool res, bool ignored);
private:
// lists the names of the output files of the various targets
std::map<std::string, std::string> m_TargetOutputFiles;
// lists which target first references another target's output
std::map<std::string, std::string> m_TargetReferencingList;
};
#endif
......
......@@ -40,6 +40,7 @@
#include <sys/types.h>
#include <sys/time.h>
#include <sys/resource.h>
#include "cmGlobalCodeWarriorGenerator.h"
#endif
......@@ -652,6 +653,9 @@ void cmake::GetRegisteredGenerators(std::vector<std::string>& names)
names.push_back(cmGlobalBorlandMakefileGenerator::GetActualName());
names.push_back(cmGlobalNMakeMakefileGenerator::GetActualName());
#else
#ifdef __APPLE__
names.push_back(cmGlobalCodeWarriorGenerator::GetActualName());
#endif
names.push_back(cmGlobalUnixMakefileGenerator::GetActualName());
#endif
}
......@@ -681,6 +685,13 @@ cmGlobalGenerator* cmake::CreateGlobalGenerator(const char* name)
ret->SetCMakeInstance(this);
}
#else
#ifdef __APPLE__
if (!strcmp(name,cmGlobalCodeWarriorGenerator::GetActualName()))
{
ret = new cmGlobalCodeWarriorGenerator;
ret->SetCMakeInstance(this);
}
#endif
if (!strcmp(name,cmGlobalUnixMakefileGenerator::GetActualName()))
{
ret = new cmGlobalUnixMakefileGenerator;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment