COIN-OR::LEMON - Graph Library

Changeset 913:64260c0f58eb in lemon-1.2 for CMakeLists.txt


Ignore:
Timestamp:
04/07/11 16:57:35 (8 years ago)
Author:
Alpar Juttner <alpar@…>
Branch:
default
Children:
914:60f4aaedb20f, 938:98ddf8d5fda9
Phase:
public
Message:

Better Win CodeBlock?/MinGW support (#418)

  • Remove -ansi compilation flag
  • Don't include sys/times.h when WIN32 is defined
File:
1 edited

Legend:

Unmodified
Added
Removed
  • CMakeLists.txt

    r904 r913  
    5252ELSE()
    5353  IF(CMAKE_COMPILER_IS_GNUCXX)
    54     SET(CXX_WARNING "-Wall -W -Wunused -Wformat=2 -Wctor-dtor-privacy -Wnon-virtual-dtor -Wno-char-subscripts -Wwrite-strings -Wno-char-subscripts -Wreturn-type -Wcast-qual -Wcast-align -Wsign-promo -Woverloaded-virtual -ansi -fno-strict-aliasing -Wold-style-cast -Wno-unknown-pragmas")
     54    SET(CXX_WARNING "-Wall -W -Wunused -Wformat=2 -Wctor-dtor-privacy -Wnon-virtual-dtor -Wno-char-subscripts -Wwrite-strings -Wno-char-subscripts -Wreturn-type -Wcast-qual -Wcast-align -Wsign-promo -Woverloaded-virtual -fno-strict-aliasing -Wold-style-cast -Wno-unknown-pragmas")
    5555    SET(CMAKE_CXX_FLAGS_DEBUG CACHE STRING "-ggdb")
    5656    SET(CMAKE_C_FLAGS_DEBUG CACHE STRING "-ggdb")
Note: See TracChangeset for help on using the changeset viewer.