On 2006-09-06 02:19, Michael Casadevall said: >I wish to add support for cross-compiling to CMake since its a tool I >use a lot, and I can finally kill the last few of my projects using >autotools. To my knowledge, autotools is the only system that >provides cross-compiling, and poorly at that, and I've been thinking >on ways to add it to CMake. Here's what I got so far:
I'd just like to mention that the Mac community would dearly love to see cross-compilation support in cmake. Are you familiar with Apple's concept of a "Universal Binary": <http://en.wikipedia.org/wiki/Universal_binary> Basically, it's a kind of cross compilation. On a PowerPC Mac you can compile your executable for both PPC and Intel Macs, and vice versa. CMake does support Universal Binaries actually, you may want to see this bug for background: <http://www.vtk.org/Bug/bug.php?op=show&bugid=2492> However, the whole idea of TRY_COMPILE is of course incompatible with this, since the minute you assume that the machine doing the building is the same type as the machine you are building for, you are in trouble... -- ____________________________________________________________ Sean McBride, B. Eng [EMAIL PROTECTED] Rogue Research www.rogue-research.com Mac Software Developer Montréal, Québec, Canada _______________________________________________ CMake mailing list [email protected] http://www.cmake.org/mailman/listinfo/cmake
