I'm curious to know too. I would like to use cmake to cross compile. So far the most recent comment I found is in this page: http://wiki.kdenews.org/tiki-index.php?page=KDE%204%20Build%20Systems%20Feature%20Map and the way cross compilation is done is by setting all the proper CMAKE_* variables. I wonder if there's a better way.
Eric Noulard wrote: > Let's say I want to cross-compile my Windows application/library > on my Linux box using a cross-gcc (like mingw)? > > Is it possible to indicate to CMake that we will use > a cross compiler? > > In order to avoid (for example) to get a mylib.so file > if we want a mylib.dll. > > Does CMake support cross-compiling in any way? > If not is it planned? > -- Marco Canini _______________________________________________ CMake mailing list [email protected] http://www.cmake.org/mailman/listinfo/cmake
