> I really like FLTK, but wished that it was a little more > cross-compiler > friendly. Recently I decided to look into this. Not being > adept with > autotools, I decided to look at how to do it in CMake. > > It was already working mostly. The only issues were getting > it to use > the build host's fluid and making the backwards compatibility links > depend on the host and not the target. > > So here's my patch against fltk-1.3.x-r7037, although I > suspect that it > should work on other recent builds. Of course I tried > carefully to not > break native builds. > > This little project has definitely made me a CMake convert. > > To cross-compile you will need a few other things. > > 1. A native install of FLTK on your build machine to provide > fluid. The > compile will work without this if you don't build the test > directory and > don't use fluid yourself. > > 2. A cross-compiler for your target machine, of course. > > 3. CMake 2.6 or later and a CMake toolchain file. The > toolchain file is > quite simple and the CMake wiki has the details. This will > also be used > to cross-compile your own projects if you use CMake for them as well. > > Enjoy.
Best to log this in an STR, please, so it does not get lost. Also; we are always looking for someone to maintain the cmake files.... SELEX Galileo Ltd Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 3EL A company registered in England & Wales. Company no. 02426132 ******************************************************************** This email and any attachments are confidential to the intended recipient and may also be privileged. If you are not the intended recipient please delete it from your system and notify the sender. You should not copy it or use it for any purpose nor disclose or distribute its contents to any other person. ******************************************************************** _______________________________________________ fltk mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk

