Re: [cmake-developers] New RelWithDebInfo flags?

2014-11-22 Thread Ben Boeckel
On Sat, Nov 22, 2014 at 10:12:22 -0700, clin...@elemtech.com wrote: > Perhaps not if people are using that configuration to build release > binaries and stripping debug symbols from it. Ah, true. Maybe it would be better for Debug than RelWithDebInfo? > In my opinion, it *does* interfere with deb

Re: [cmake-developers] New RelWithDebInfo flags?

2014-11-22 Thread clinton
- Original Message - > Hi, > > I just discovered today that it looks like GCC 4.8 shipped with a new > optimization level: > >-Og Optimize debugging experience. -Og enables optimizations that do >not interfere with debugging. It should be the optimization level >of ch

[cmake-developers] New RelWithDebInfo flags?

2014-11-22 Thread Ben Boeckel
Hi, I just discovered today that it looks like GCC 4.8 shipped with a new optimization level: -Og Optimize debugging experience. -Og enables optimizations that do not interfere with debugging. It should be the optimization level of choice for the standard edit-compile-debug cycl