CMakeLists.txt
changeset 645 cb8270a98660
parent 621 b536eaacb39b
parent 500 8a144437db7d
child 631 d21b38647e53
equal deleted inserted replaced
20:7c0a027b4d13 21:e50b54923d03
    26 # C4355: 'this' : used in base member initializer list
    26 # C4355: 'this' : used in base member initializer list
    27 # C4800: 'type' : forcing value to bool 'true' or 'false' (performance warning)
    27 # C4800: 'type' : forcing value to bool 'true' or 'false' (performance warning)
    28 # C4996: 'function': was declared deprecated
    28 # C4996: 'function': was declared deprecated
    29 ENDIF(MSVC)
    29 ENDIF(MSVC)
    30 
    30 
       
    31 ADD_DEFINITIONS(-DHAVE_CONFIG_H)
       
    32 
    31 INCLUDE(CheckTypeSize)
    33 INCLUDE(CheckTypeSize)
    32 CHECK_TYPE_SIZE("long long" LONG_LONG)
    34 CHECK_TYPE_SIZE("long long" LEMON_LONG_LONG)
    33 
    35 
    34 ENABLE_TESTING()
    36 ENABLE_TESTING()
    35 
    37 
    36 ADD_SUBDIRECTORY(lemon)
    38 ADD_SUBDIRECTORY(lemon)
    37 IF(${CMAKE_SOURCE_DIR} STREQUAL ${PROJECT_SOURCE_DIR})
    39 IF(${CMAKE_SOURCE_DIR} STREQUAL ${PROJECT_SOURCE_DIR})