[CMake] Thoughts on Cross-compiling with CMake

Bernhard Sputh bernhard.sputh at gmail.com
Mon Apr 30 12:51:23 EDT 2007


Hi Alexander,

On Monday 30 April 2007 13:50, Alexander Neundorf wrote:

> Yes, we'll do so (/me being a cmake developer for the next few months) :-)
> I'm starting to add cross compiling support to cmake right now and will
> reuse the patches in the next days.
> The first step will be to let the user specify the compiler/target platform
> he wants to build for without the cmake automatic detection. This will
> require almost only changes in the script files.

Thank You for working on this. I have another suggestion related to 
cross-compilation. It should be possible to provide Compiler / Environment 
scripts with ones project. These scripts could be located for instance in a  
directory called `${CMAKE_SOURCE_DIR}/CMake_Platform/' or similar. This way a 
cross-compilation project could be distributed without the need to include a, 
potentially non-working, patch to the CMake scripts.

Cheers
Bernhard


More information about the CMake mailing list