[CMake] cross compiling

Josef Karthauser joe.karthauser at geomerics.com
Fri Nov 30 03:54:14 EST 2007


Did I miss something?  Does cmake support cross compiling now?

 

Joe

 

From: cmake-bounces+joe.karthauser=geomerics.com at cmake.org
[mailto:cmake-bounces+joe.karthauser=geomerics.com at cmake.org] On Behalf
Of Jesse Corrington
Sent: 29 November 2007 18:56
To: Salvatore Iovene
Cc: cmake at cmake.org; a.neundorf-work at gmx.net
Subject: Re: [CMake] cross compiling

 

I definitely want to go the first route of adding support to generate
mmp and inf files. We are using the carbide plugin for eclipse which
loads those files, so it's needed. I don't really know much more about
the tool chain stuff, I just had read a previous mailing list email
where someone was talking about symbian and pointed in the direction of
the cross compiling article on the cmake wiki.  I am doing this work at
my current job where we have software that needs to be built on Symbian
v2, v2.1, v3, windows mobile 5 and 6, the new linux java mobile
platform, windows desktop, and other platforms in the future. Currently
we have a mess of MSVC project files, makefiles, mmp/inf, etc, so it
really needs to change so they are all generated from a common script.
It is only for our internal builds, not so that others can build our
software on whatever platform they want.

Jesse

On Nov 29, 2007 10:36 AM, Salvatore Iovene
<salvatore.iovene+cmake at googlemail.com> wrote:

On Nov 29, 2007 8:19 PM, Jesse Corrington <jesse.corrington at gmail.com>
wrote:
> The inf and mmp files are the build files for symbian. They are
similar to a 
> make file, but simpler and with a different sytax. These are what I
need to
> generate. Currently I am very confused as to where I will need to
write the
> code/script to generate these files. I am hearing that I only need to
write 
> a new platform module file, is this true, or do I need to extend the
cpp
> source with a new output generator, or whatever they are called. I
should
> have no problem writting the cmake scripts and/or cpp code, but I
really 
> need some clarity on where I need to put everything. Thanks.

Hi Jesse,
I'm very interested to your issue, as, for work reasons, I'm
considering to do the
same.

I was inspecting 2 possibilities: 

1) Hack CMake so that it would have a new Generator, that would generate
.inf and .mmp files (rather than Unix Makefiles, or NMake Makefiles or
VS
Project files).

2) Hack CMake so that it would cross compile for Symbian using Unix 
Makefiles and the gcce compiler.

Number 2) seems obviously less work, even tho number 1) is attractive,
because would let developers use their favorite IDE which loads and
interprets .mmp files.

Can you give me more information about the toolchain approach you 
mentioned?

I'm interested in cooperating into branching cmake for symbian support
(my company is willing to support this effort).

Of course I'd like to contribute everything I can to the cmake project. 

--
Salvatore Iovene
http://www.iovene.com/
Key Fingerprint: 5647 944D D5AD 2E87 00B4  7D54 2864 359D FF20 16D8

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/cmake/attachments/20071130/0b87ce4c/attachment.htm


More information about the CMake mailing list