COIN-OR::LEMON - Graph Library

Changeset 1125:b873350e6258 in lemon for CMakeLists.txt


Ignore:
Timestamp:
01/19/12 15:25:06 (8 years ago)
Author:
Alpar Juttner <alpar@…>
Branch:
default
Children:
1126:a30455cd0107, 1127:be7dd3a8d6a3, 1128:426a704d7483, 1140:8d281761dea4
Phase:
public
Message:

Intel C++ compatibility fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CMakeLists.txt

    r1053 r1125  
    6767    # C4996: 'function': was declared deprecated
    6868  ELSE()
    69     SET(CXX_WARNING "-Wall -W")
     69    SET(CXX_WARNING "-Wall")
    7070  ENDIF()
    7171ENDIF()
     
    7474SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${LEMON_CXX_WARNING_FLAGS}")
    7575
    76 SET( CMAKE_CXX_FLAGS_MAINTAINER "-Werror -ggdb" CACHE STRING
     76SET( CMAKE_CXX_FLAGS_MAINTAINER "-Werror -ggdb -O0" CACHE STRING
    7777    "Flags used by the C++ compiler during maintainer builds."
    7878    FORCE )
    79 SET( CMAKE_C_FLAGS_MAINTAINER "-Werror" CACHE STRING
     79SET( CMAKE_C_FLAGS_MAINTAINER "-Werror -O0" CACHE STRING
    8080    "Flags used by the C compiler during maintainer builds."
    8181    FORCE )
Note: See TracChangeset for help on using the changeset viewer.