COIN-OR::LEMON - Graph Library

Opened 10 years ago

Last modified 10 years ago

#390 closed enhancement

Different compilation flags using CMAKE vs. Autotools — at Version 1

Reported by: Alpar Juttner Owned by: Alpar Juttner
Priority: major Milestone: LEMON 1.3 release
Component: build system Version: hg main
Keywords: Cc:
Revision id:

Description (last modified by Alpar Juttner)

  • Autotool uses -g -O2 + a huge set of warning flags by default.
  • Using scripts/, we have a choice to optimize or not (-O2 vs. nothing). This script uses -ggdb instead of -g (not a big diffenerce) and the same warning options.
  • The CMAKE environment uses
    • no warning flags at all!!!
    • one of the following debug/optimization settings
      • -g (DEBUG mode),
      • -Os -DNDEBUG (MINRELSIZE mode),
      • -O2 -g (RELWITHDEBINFO mode), or
      • -O3 -DNDEBUG (RELEASE mode)

Change History (1)

comment:1 Changed 10 years ago by Alpar Juttner

Description: modified (diff)
Note: See TracTickets for help on using tickets.