CMakeLists.txt
changeset 677 936355864d6e
parent 668 b536eaacb39b
parent 540 8a144437db7d
child 678 d21b38647e53
equal deleted inserted replaced
25:7c0a027b4d13 26: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})