CMakeLists.txt 570 B

12345678910111213141516171819
  1. cmake_minimum_required (VERSION 2.6)
  2. PROJECT(CMAKE_LOADED_COMMANDS)
  3. IF (MUDSLIDE_TYPE MATCHES MUCHO)
  4. ADD_DEFINITIONS(-DMUCHO_MUDSLIDE)
  5. ENDIF (MUDSLIDE_TYPE MATCHES MUCHO)
  6. SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${CMAKE_ANSI_CXXFLAGS}")
  7. SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} ${CMAKE_ANSI_CFLAGS}")
  8. IF(WATCOM)
  9. SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS}")
  10. ENDIF(WATCOM)
  11. INCLUDE_DIRECTORIES(${CMAKE_ROOT}/include ${CMAKE_ROOT}/Source)
  12. ADD_LIBRARY(cmCMAKE_TEST_COMMAND MODULE cmTestCommand.c)
  13. IF(WATCOM)
  14. TARGET_LINK_LIBRARIES(cmCMAKE_TEST_COMMAND clbsdll.lib)
  15. ENDIF(WATCOM)