summaryrefslogtreecommitdiffstats
path: root/Tests/LoadCommand/CMakeCommands/CMakeLists.txt
blob: 3cbaa5e87d2b339b68579dd6ec57498a10e27ce7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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}")

INCLUDE_DIRECTORIES(${CMAKE_ROOT}/include ${CMAKE_ROOT}/Source)

IF(APPLE)
  ADD_LIBRARY(cmCMAKE_TEST_COMMAND MODULE cmTestCommand.c)
ELSE(APPLE)
  ADD_LIBRARY(cmCMAKE_TEST_COMMAND SHARED cmTestCommand.c)
ENDIF(APPLE)