>> 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



_______________________________________________
Mailing list: https://launchpad.net/~kicad-developers
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp

Reply via email to