On Sunday 03 February 2008, Emmanuel Blot wrote: > 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 ?
This is currently not supported for the MSVC generator. How about using Eclipse and the CMake Eclipse generator ? It currently has issues with out-of-source builds, but as long as you use the Eclipse generator with in-source builds it should work nicely :-) Alex _______________________________________________ CMake mailing list [email protected] http://www.cmake.org/mailman/listinfo/cmake
