Well I can't argue with that, but I must admit that I have not read 
CMakeCache.txt ;-)

David 


> -----Original Message-----
> From: Michael Wild [mailto:them...@gmail.com]
> Sent: 01 October 2010 11:53
> To: David Aldrich
> Cc: fat...@crackmonkey.us; cmake@cmake.org
> Subject: Re: [CMake] How to set compiler flags?
> 
> 
> On 1. Oct, 2010, at 12:45 , David Aldrich wrote:
> 
> > Hi Michael
> >
> >> Wrong. CMAKE_CXX_FLAGS is always used, the configuration-specific
> >> values are appended to it.
> >
> > This is where I groan a little. I haven't read that in the online
> documentation.
> >
> > Best regards
> >
> > David
> 
> 
> Couldn't find it in the docs either (just had a superficial look), but in the
> CMakeCache.txt it says cleary:
> 
> //Flags used by the compiler during all build types.
> CMAKE_CXX_FLAGS:STRING=
> 
> //Flags used by the compiler during debug builds.
> CMAKE_CXX_FLAGS_DEBUG:STRING=-g
> 
> ...
> 
> 
> Michael
> 
> --
> There is always a well-known solution to every human problem -- neat,
> plausible, and wrong.
> H. L. Mencken

_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to