CMakeLists.txt
changeset 717 926c47568a56
parent 705 ebdcc68fe79e
child 718 da70af8844b9
equal deleted inserted replaced
28:d4641db525d2 29:08d673c35243
    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 
    19 
    20 IF(MSVC)
    20 IF(MSVC)
    21   SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /wd4250 /wd4355 /wd4800 /wd4996")
    21   SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /wd4250 /wd4355 /wd4503 /wd4800 /wd4996")
    22 # Suppressed warnings:
    22 # Suppressed warnings:
    23 # C4250: 'class1' : inherits 'class2::member' via dominance
    23 # C4250: 'class1' : inherits 'class2::member' via dominance
    24 # C4355: 'this' : used in base member initializer list
    24 # C4355: 'this' : used in base member initializer list
       
    25 # C4503: 'function' : decorated name length exceeded, name was truncated
    25 # C4800: 'type' : forcing value to bool 'true' or 'false' (performance warning)
    26 # C4800: 'type' : forcing value to bool 'true' or 'false' (performance warning)
    26 # C4996: 'function': was declared deprecated
    27 # C4996: 'function': was declared deprecated
    27 ENDIF(MSVC)
    28 ENDIF(MSVC)
    28 
    29 
    29 INCLUDE(CheckTypeSize)
    30 INCLUDE(CheckTypeSize)