← Back to team overview

kicad-developers team mailing list archive

Re: KiCad new look - new icons and new buttons

 

>> I fear the *.png -> to *.cpp step could be a little slow if done in CMake, so it
>> should be based on newness just like a normal conditional operation.
>


It's not slow.  (CMake continues to astound and please its users.)

  
http://bazaar.launchpad.net/~kicad-testing-committers/kicad/testing/view/head:/CMakeModules/PNG2cpp.cmake

It can be run like this:

$ cmake -DinputFile=some.png -DoutCppFile=some.cpp -P CMakeModules/PNG2cpp.cmake




Follow ups

References