[Kicad-developers] CMakeLists.txt order

2016-01-12 Thread Simon Wells
Currently the add_directory()'s in the main CMakeLists.txt file are before stuff like find_package( Doxygen ) and so it needs to be repeated in pcbnew, Is there a reason for this order? Attached is a patch that changes the order of things to put add_directory at the bottom so all flags in the prim

Re: [Kicad-developers] CMakeLists.txt order

2016-01-13 Thread Simon Wells
i have made some additional changes - Make the link maps only build on linux as -${TO_LINKER},-cref -${TO_LINKER},-Map=blah just gives warnings on osx w/ clang - Make the link maps only build with flag -DKICAD_MAKE_LINK_MAPS as they are highly specific - Moved the code for setting link maps into t

Re: [Kicad-developers] CMakeLists.txt order

2016-02-29 Thread Wayne Stambaugh
Patch committed in product branch r6600. Thanks. On 1/13/2016 7:57 PM, Simon Wells wrote: > - Make the link maps only build on linux as -${TO_LINKER},-cref > -${TO_LINKER},-Map=blah just gives warnings on osx w/ clang > - Make the link maps only build with flag -DKICAD_MAKE_LINK_MAPS as > they ar