-O2 in Debug build?

2008-07-18 Thread Andreas Pakulat
Hi, Whats the reasoning behind using -O2 in the Debug CXX flags? A debug build shouldn't use _any_ optimizations IMHO. And the _DEBUGFULL versions are meaningless as there's no such buildtype (at least with cmake 2.6). Andreas -- You have many friends and very few living enemies. _

Re: -O2 in Debug build?

2008-07-18 Thread Alexander Neundorf
On Friday 18 July 2008, Andreas Pakulat wrote: > Hi, > > Whats the reasoning behind using -O2 in the Debug CXX flags? A debug > build shouldn't use _any_ optimizations IMHO. I think there were lengthy discussion about the flags for the different build types. I guess this was the result. /me hasn'

Re: -O2 in Debug build?

2008-07-18 Thread Thiago Macieira
Alexander Neundorf wrote: >On Friday 18 July 2008, Andreas Pakulat wrote: >> Hi, >> >> Whats the reasoning behind using -O2 in the Debug CXX flags? A debug >> build shouldn't use _any_ optimizations IMHO. > >I think there were lengthy discussion about the flags for the different > build types. I gu

Re: -O2 in Debug build?

2008-07-18 Thread Alexander Neundorf
On Friday 18 July 2008, Thiago Macieira wrote: > Alexander Neundorf wrote: > >On Friday 18 July 2008, Andreas Pakulat wrote: > >> Hi, > >> > >> Whats the reasoning behind using -O2 in the Debug CXX flags? A debug > >> build shouldn't use _any_ optimizations IMHO. > > > >I think there were lengthy d

Re: -O2 in Debug build?

2008-07-18 Thread Andreas Pakulat
On 18.07.08 17:55:50, Thiago Macieira wrote: > Alexander Neundorf wrote: > >On Friday 18 July 2008, Andreas Pakulat wrote: > >> Hi, > >> > >> Whats the reasoning behind using -O2 in the Debug CXX flags? A debug > >> build shouldn't use _any_ optimizations IMHO. > > > >I think there were lengthy dis

Re: -O2 in Debug build?

2008-07-18 Thread Thiago Macieira
Andreas Pakulat wrote: >Damn, actually I have a slight feeling I've asked this already. Any >objections against putting this information close to the gcc-version of >setting the flags. So neither I nor anybody else need to ask stupid >questions again? >Ok, I guess that means I can add "debugfull"

Re: -O2 in Debug build?

2008-07-18 Thread Andreas Pakulat
On 18.07.08 23:06:50, Alexander Neundorf wrote: > On Friday 18 July 2008, Thiago Macieira wrote: > > Alexander Neundorf wrote: > > >On Friday 18 July 2008, Andreas Pakulat wrote: > > >> Hi, > > >> > > >> Whats the reasoning behind using -O2 in the Debug CXX flags? A debug > > >> build shouldn't use

Re: -O2 in Debug build?

2008-07-18 Thread David Faure
On Saturday 19 July 2008, Andreas Pakulat wrote: > Please can you have a look at the attached patch and let > me know wether thats ok with you. Looks good to me, except that you're removing a find_library call for kjsapi, unrelated to what you wanted to do. -- David Faure, [EMAIL PROTECTED], sp

Re: -O2 in Debug build?

2008-07-19 Thread Alexander Neundorf
On Saturday 19 July 2008, Andreas Pakulat wrote: ... > and more importantly make Debugfull work with CMake 2.6. As I didn't > find a reference of CMAKE_CONFIGURATION_TYPES for cmake 2.4 I've set it > only for 2.6. Please can you have a look at the attached patch and let > me know wether thats ok wi

Re: -O2 in Debug build?

2008-07-19 Thread Andreas Pakulat
On 19.07.08 10:28:41, Alexander Neundorf wrote: > On Saturday 19 July 2008, Andreas Pakulat wrote: > ... > > and more importantly make Debugfull work with CMake 2.6. As I didn't > > find a reference of CMAKE_CONFIGURATION_TYPES for cmake 2.4 I've set it > > only for 2.6. Please can you have a look

Re: -O2 in Debug build?

2008-07-19 Thread Alexander Neundorf
On Saturday 19 July 2008, Andreas Pakulat wrote: > On 19.07.08 10:28:41, Alexander Neundorf wrote: > > On Saturday 19 July 2008, Andreas Pakulat wrote: > > ... > > > > > and more importantly make Debugfull work with CMake 2.6. As I didn't > > > find a reference of CMAKE_CONFIGURATION_TYPES for cmak

Re: -O2 in Debug build?

2008-07-19 Thread Andreas Pakulat
On 18.07.08 18:26:58, Thiago Macieira wrote: > Andreas Pakulat wrote: > >Damn, actually I have a slight feeling I've asked this already. Any > >objections against putting this information close to the gcc-version of > >setting the flags. So neither I nor anybody else need to ask stupid > >questions

Re: -O2 in Debug build?

2008-08-04 Thread Alexander Neundorf
On Saturday 19 July 2008, Andreas Pakulat wrote: > On 19.07.08 10:28:41, Alexander Neundorf wrote: > > On Saturday 19 July 2008, Andreas Pakulat wrote: > > ... > > > > > and more importantly make Debugfull work with CMake 2.6. As I didn't > > > find a reference of CMAKE_CONFIGURATION_TYPES for cmak

Re: -O2 in Debug build?

2008-08-05 Thread Andreas Pakulat
On 05.08.08 02:02:21, Alexander Neundorf wrote: > On Saturday 19 July 2008, Andreas Pakulat wrote: > > On 19.07.08 10:28:41, Alexander Neundorf wrote: > > > On Saturday 19 July 2008, Andreas Pakulat wrote: > > > ... > > > > > > > and more importantly make Debugfull work with CMake 2.6. As I didn't

Re: -O2 in Debug build?

2008-11-05 Thread Alexander Neundorf
On Saturday 19 July 2008, Andreas Pakulat wrote: > On 18.07.08 23:06:50, Alexander Neundorf wrote: > > On Friday 18 July 2008, Thiago Macieira wrote: > > > Alexander Neundorf wrote: > > > >On Friday 18 July 2008, Andreas Pakulat wrote: > > > >> Hi, > > > >> > > > >> Whats the reasoning behind using

Re: -O2 in Debug build?

2008-11-05 Thread Andreas Pakulat
On 06.11.08 00:34:08, Alexander Neundorf wrote: > On Saturday 19 July 2008, Andreas Pakulat wrote: > > On 18.07.08 23:06:50, Alexander Neundorf wrote: > > > Thanks for the explanation :-) > > > Can you put that on techbase, somewhere related to cmake/building ? > > > > I'm putting it on techbase in