CMake/Tests/LoadCommand/CMakeCommands/CMakeLists.txt

17 lines
481 B
CMake

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)