On Mon, Jun 15, 2015 at 3:53 PM, David Rowe <[email protected]> wrote:
> Hi Richard, > > I'd like to specify -DCMAKE_C_FLAGS=-O3 as a default for building > codec2-dev, its gives a 10x improvement in execution speeds. > > Can you pls tell me if there is a way to make this happen by default? > cmake honors the usual environment variables CFLAGS and CPPFLAGS so I think you could: $ export CFLAGS=-03 $ cmake /path/to/src and it should work. I'm also about committing a change that could copy the flags to all the release types we might use (NONE, DEBUG, or RELEASE). Thanks, Richard
------------------------------------------------------------------------------
_______________________________________________ Freetel-codec2 mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/freetel-codec2
