[CMake] cross compiling

Salvatore Iovene salvatore.iovene+cmake at googlemail.com
Thu Nov 29 13:36:20 EST 2007


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


More information about the CMake mailing list