COIN-OR::LEMON - Graph Library

Changeset 507:e6ae4999cf22 in lemon-1.2 for CMakeLists.txt


Ignore:
Timestamp:
01/22/09 15:46:15 (10 years ago)
Author:
Alpar Juttner <alpar@…>
Branch:
default
Phase:
public
Message:

Suppress or fix VS2008 warnings + turn off faulty tests using CMAKE (#208)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CMakeLists.txt

    r473 r507  
    1313
    1414ADD_DEFINITIONS(-DHAVE_CONFIG_H)
     15
     16IF(MSVC)
     17  SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /wd4250 /wd4355 /wd4800 /wd4996")
     18# Suppressed warnings:
     19# C4250: 'class1' : inherits 'class2::member' via dominance
     20# C4355: 'this' : used in base member initializer list
     21# C4800: 'type' : forcing value to bool 'true' or 'false' (performance warning)
     22# C4996: 'function': was declared deprecated
     23ENDIF(MSVC)
    1524
    1625IF(GLPK_FOUND)
Note: See TracChangeset for help on using the changeset viewer.