On Mon, Jun 15, 2015 at 10: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?

Hi David,

I think the issue is that the default build type is set to Debug (-O0)
rather than Release.
If you specify  -DCMAKE_BUILD_TYPE=release you may get the same improvement.

Or change the default build type at line 51 in the top level
CMakeLists.txt file.

Alex

------------------------------------------------------------------------------
_______________________________________________
Freetel-codec2 mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freetel-codec2

Reply via email to