equal
deleted
inserted
replaced
1 CMAKE_MINIMUM_REQUIRED(VERSION 2.8) |
1 CMAKE_MINIMUM_REQUIRED(VERSION 2.8) |
2 |
2 |
3 IF(POLICY CMP0048) |
3 IF(POLICY CMP0048) |
4 CMAKE_POLICY(SET CMP0048 OLD) |
4 CMAKE_POLICY(SET CMP0048 OLD) |
5 ENDIF(POLICY CMP0048) |
5 ENDIF(POLICY CMP0048) |
|
6 |
|
7 IF(POLICY CMP0043) |
|
8 CMAKE_POLICY(SET CMP0043 OLD) |
|
9 ENDIF(POLICY CMP0043) |
6 |
10 |
7 SET(PROJECT_NAME "LEMON") |
11 SET(PROJECT_NAME "LEMON") |
8 PROJECT(${PROJECT_NAME}) |
12 PROJECT(${PROJECT_NAME}) |
9 |
13 |
10 INCLUDE(FindPythonInterp) |
14 INCLUDE(FindPythonInterp) |
223 |
227 |
224 SET( CMAKE_BUILD_TYPE "${CMAKE_BUILD_TYPE}" CACHE STRING |
228 SET( CMAKE_BUILD_TYPE "${CMAKE_BUILD_TYPE}" CACHE STRING |
225 "Choose the type of build, options are: None(CMAKE_CXX_FLAGS or CMAKE_C_FLAGS used) Debug Release RelWithDebInfo MinSizeRel Maintainer." |
229 "Choose the type of build, options are: None(CMAKE_CXX_FLAGS or CMAKE_C_FLAGS used) Debug Release RelWithDebInfo MinSizeRel Maintainer." |
226 FORCE ) |
230 FORCE ) |
227 |
231 |
|
232 SET_DIRECTORY_PROPERTIES(PROPERTIES |
|
233 COMPILE_DEFINITIONS_DEBUG "LEMON_ENABLE_DEBUG" |
|
234 COMPILE_DEFINITIONS_MAINTAINER "LEMON_ENABLE_DEBUG" |
|
235 ) |
228 |
236 |
229 INCLUDE(CheckTypeSize) |
237 INCLUDE(CheckTypeSize) |
230 CHECK_TYPE_SIZE("long long" LONG_LONG) |
238 CHECK_TYPE_SIZE("long long" LONG_LONG) |
231 SET(LEMON_HAVE_LONG_LONG ${HAVE_LONG_LONG}) |
239 SET(LEMON_HAVE_LONG_LONG ${HAVE_LONG_LONG}) |
232 |
240 |