You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
570 B
20 lines
570 B
16 years ago
|
cmake_minimum_required (VERSION 2.6)
|
||
|
PROJECT(CMAKE_LOADED_COMMANDS)
|
||
|
|
||
|
IF (MUDSLIDE_TYPE MATCHES MUCHO)
|
||
|
ADD_DEFINITIONS(-DMUCHO_MUDSLIDE)
|
||
|
ENDIF (MUDSLIDE_TYPE MATCHES MUCHO)
|
||
|
|
||
|
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${CMAKE_ANSI_CXXFLAGS}")
|
||
|
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${CMAKE_ANSI_CFLAGS}")
|
||
|
IF(WATCOM)
|
||
|
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS}")
|
||
|
ENDIF(WATCOM)
|
||
|
INCLUDE_DIRECTORIES(${CMAKE_ROOT}/include ${CMAKE_ROOT}/Source)
|
||
|
|
||
|
ADD_LIBRARY(cmCMAKE_TEST_COMMAND MODULE cmTestCommand.c)
|
||
|
|
||
|
IF(WATCOM)
|
||
|
TARGET_LINK_LIBRARIES(cmCMAKE_TEST_COMMAND clbsdll.lib)
|
||
|
ENDIF(WATCOM)
|