mirror of
https://github.com/reactos/CMake.git
synced 2024-12-02 08:37:09 +00:00
d1aa17a7b0
As of CMake 2.6 this variable is not defined, and the ANSI flags for the HP compiler are simply hard-coded in the default C flags.
18 lines
446 B
CMake
18 lines
446 B
CMake
cmake_minimum_required (VERSION 2.6)
|
|
PROJECT(CMAKE_LOADED_COMMANDS)
|
|
|
|
IF (MUDSLIDE_TYPE MATCHES MUCHO)
|
|
ADD_DEFINITIONS(-DMUCHO_MUDSLIDE)
|
|
ENDIF (MUDSLIDE_TYPE MATCHES MUCHO)
|
|
|
|
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)
|