COIN-OR::LEMON - Graph Library

Changeset 953:b873350e6258 in lemon-1.2 for CMakeLists.txt


Ignore:
Timestamp:
01/19/12 15:25:06 (7 years ago)
Author:
Alpar Juttner <alpar@…>
Branch:
default
Children:
954:be7dd3a8d6a3, 955:8d281761dea4
Phase:
public
Message:

Intel C++ compatibility fixes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • CMakeLists.txt

    r913 r953  
    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.