2002-09-17 00:27:00 +04:00
|
|
|
PROJECT(CMAKE_LOADED_COMMANDS)
|
|
|
|
|
2002-09-18 19:38:15 +04:00
|
|
|
IF (MUDSLIDE_TYPE MATCHES MUCHO)
|
|
|
|
ADD_DEFINITIONS(-DMUCHO_MUDSLIDE)
|
|
|
|
ENDIF (MUDSLIDE_TYPE MATCHES MUCHO)
|
|
|
|
|
2002-09-23 22:11:57 +04:00
|
|
|
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${CMAKE_ANSI_CXXFLAGS}")
|
|
|
|
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${CMAKE_ANSI_CFLAGS}")
|
|
|
|
|
2002-09-17 00:27:00 +04:00
|
|
|
INCLUDE_DIRECTORIES(${CMAKE_ROOT}/include ${CMAKE_ROOT}/Source)
|
2002-09-24 01:24:47 +04:00
|
|
|
|
|
|
|
IF(APPLE)
|
|
|
|
ADD_LIBRARY(cmCMAKE_TEST_COMMAND MODULE cmTestCommand.c)
|
|
|
|
ELSE(APPLE)
|
|
|
|
ADD_LIBRARY(cmCMAKE_TEST_COMMAND SHARED cmTestCommand.c)
|
|
|
|
ENDIF(APPLE)
|