On Mon, Oct 8, 2012 at 10:00 PM, Anders Logg <l...@simula.no> wrote: > On Mon, Oct 08, 2012 at 03:42:12PM -0500, Andy Ray Terrel wrote: >> Hello, >> >> Another question, is there an appropriate cmake flag for getting rid >> of the -O2? Too many things are getting inlined to use the debugger >> effectively. >> >> Unfortunately setting -DCMAKE_BUILD_TYPE=Debug or Developer doesn't do >> it. Even more surprising doing CXXFLAGS=-O0 cmake ... or cmake >> -DCMAKE_CXX_FLAGS gets overwritten as well. I can manually futz with >> CMakeList but thought I would see what is going on here. > > Try looking for CMAKE_CXX_FLAGS_DEVELOPER. > > I recommend using cmake-gui and you will see it in the list. > > -- > Anders
Thanks, it looks like changing the build type ignored the other flags. -- Andy _______________________________________________ Mailing list: https://launchpad.net/~dolfin Post to : dolfin@lists.launchpad.net Unsubscribe : https://launchpad.net/~dolfin More help : https://help.launchpad.net/ListHelp