← Back to team overview

kicad-developers team mailing list archive

Re: Optimization flags in 3d-viewer

 

Yes I added it, because for 3D we need *speeeeeed* :P

What kind of warnings it is causing? O_o

Mario
________________________________________
From: Kicad-developers [kicad-developers-bounces+mrluzeiro=ua.pt@xxxxxxxxxxxxxxxxxxx] on behalf of Simon Richter [Simon.Richter@xxxxxxxxxx]
Sent: 23 February 2017 15:25
To: KiCad Developers
Subject: [Kicad-developers] Optimization flags in 3d-viewer

Hi,

in 3d-viewer/CMakeLists.txt we have

set( CMAKE_C_FLAGS_RELEASE   "-O3" )
set( CMAKE_CXX_FLAGS_RELEASE "-O3" )

Is that intentional?

 - it seems to be unused in the Make based builds
 - it overwrites any existing flags in these variables
 - it causes warnings on MSVC

   Simon



Follow ups

References