Thanks guys - that line 51 of the top level makefile was what I was 
looking for - just want it to build fast code by default otherwise 
FreeDV runs too slow.....

- David

On 16/06/15 06:36, Alexandru Csete wrote:
> 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
>

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

Reply via email to