CMakeLists.txt
branch1.1
changeset 847 150004315af4
parent 715 7e13120d90a2
child 722 c5dc4d3124aa
equal deleted inserted replaced
29:08d673c35243 30:13b19a89f2aa
    14 INCLUDE(FindDoxygen)
    14 INCLUDE(FindDoxygen)
    15 INCLUDE(FindGhostscript)
    15 INCLUDE(FindGhostscript)
    16 FIND_PACKAGE(GLPK 4.33)
    16 FIND_PACKAGE(GLPK 4.33)
    17 FIND_PACKAGE(CPLEX)
    17 FIND_PACKAGE(CPLEX)
    18 FIND_PACKAGE(COIN)
    18 FIND_PACKAGE(COIN)
    19 
       
    20 IF(MSVC)
       
    21   SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /wd4250 /wd4355 /wd4503 /wd4800 /wd4996")
       
    22 # Suppressed warnings:
       
    23 # C4250: 'class1' : inherits 'class2::member' via dominance
       
    24 # C4355: 'this' : used in base member initializer list
       
    25 # C4503: 'function' : decorated name length exceeded, name was truncated
       
    26 # C4800: 'type' : forcing value to bool 'true' or 'false' (performance warning)
       
    27 # C4996: 'function': was declared deprecated
       
    28 ENDIF(MSVC)
       
    29 
    19 
    30 INCLUDE(CheckTypeSize)
    20 INCLUDE(CheckTypeSize)
    31 CHECK_TYPE_SIZE("long long" LEMON_LONG_LONG)
    21 CHECK_TYPE_SIZE("long long" LEMON_LONG_LONG)
    32 
    22 
    33 ENABLE_TESTING()
    23 ENABLE_TESTING()