← Back to team overview

kicad-developers team mailing list archive

Re: gcc 4.7.x and optimization flags

 

>From another project I am using CMake, this might work:


set_source_files_properties( file1.cpp file2.cpp ... PROPERTIES COMPILE_FLAGS "-O1" )


> Wrap that in "if test" condition of "GCC and 4.7

and *Release* "




References