Re: [CMake] make CFLAGS= support

2009-03-11 Thread Mathieu Malaterre
On Wed, Mar 11, 2009 at 9:52 AM, Vladimir Prus wrote: > > Hello, > I have cmake version '2.6-patch 2', and after I generate makefiles, > and build with > >make CFLAGS=-O2 > > I don't see -O2 being used in the compiler command line. Is this > the expected behaviour? > > I realize that CFLAG

[CMake] make CFLAGS= support

2009-03-11 Thread Vladimir Prus
Hello, I have cmake version '2.6-patch 2', and after I generate makefiles, and build with make CFLAGS=-O2 I don't see -O2 being used in the compiler command line. Is this the expected behaviour? I realize that CFLAGS is a automake convention, so I am not saying cmake should support it,