> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf > Of Emmanuel Blot > Sent: 03 February 2008 20:15 > To: [email protected] > Subject: [CMake] Visual Studio generator and cross-compilation > > Hi all, > > Does cmake (2.5 pre) support generation of build files for Visual > Studio (2008 if that matters) projects for cross-compiling to a > different OS/CPU (needs: eCos/ARM). > > It seems that when such a generator is selected, CMake simply ignores > the "force compiler" directives and select CL as the compiler, whereas > the CMake file project does specify an alternate compiler (arm-elf-gcc > in my example). > > Is there any method to tell CMake to generate the IDE files for use > with Visual Studio, but to create regular makefiles such as with the > "Unix Makefiles" target, so that Visual Studio can launch a cross- > compilation session ?
It's not too easy to get it to work under 2.4.x. We've had to quite a fair bit of glue and plasters to make it work, however I'm told that 2.6 has a much improved cross compile infrastructure. I'm looking forward to finding that it works well :). (or submitting loads of bugs if it doesn't :b ). Joe _______________________________________________ CMake mailing list [email protected] http://www.cmake.org/mailman/listinfo/cmake
