Re: [CMake] Visual Studio generator and cross-compilation
On Monday 04 February 2008, Emmanuel Blot wrote: > > 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 :-) > > Sure, but I really don' t like/don't want to use Eclipse. > > I'm looking for a solution to use with Visual Studio Express for our > customers. > I personally use VIm and SlickEdit. Would CodeBlocks be an option ? If not, you have to take a close look at the Visual Studio file generator and the file format and figure out if this can be modified to support cross compiling. Alex ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake
Re: [CMake] Visual Studio generator and cross-compilation
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 :-) Sure, but I really don' t like/don't want to use Eclipse. I'm looking for a solution to use with Visual Studio Express for our customers. I personally use VIm and SlickEdit. Thanks, Emmanuel. ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake
Re: [CMake] Visual Studio generator and cross-compilation
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 CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake
RE: [CMake] Visual Studio generator and cross-compilation
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf > Of Emmanuel Blot > Sent: 03 February 2008 20:15 > To: cmake@cmake.org > 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 CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake
[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 ? Thanks, Emmanuel. ___ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake