CMake/Tests/LoadCommandOneConfig/CMakeCommands/CMakeLists.txt

20 lines
570 B
CMake
Raw Normal View History

2008-03-25 18:27:18 +03:00
cmake_minimum_required (VERSION 2.6)
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}")
IF(WATCOM)
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS}")
ENDIF(WATCOM)
2002-09-17 00:27:00 +04:00
INCLUDE_DIRECTORIES(${CMAKE_ROOT}/include ${CMAKE_ROOT}/Source)
2002-09-24 01:24:47 +04:00
2003-01-16 01:02:35 +03:00
ADD_LIBRARY(cmCMAKE_TEST_COMMAND MODULE cmTestCommand.c)
IF(WATCOM)
TARGET_LINK_LIBRARIES(cmCMAKE_TEST_COMMAND clbsdll.lib)
ENDIF(WATCOM)