2012/1/4 Hertout Julien <julien.hert...@neomades.com>:
>
> Is it possible to know why you need that?
>
> Of course.
> We develop software to help to develop applications for mobile phones. From
> a source code written in Java with our APIs we generate projects for JavaME,
> Android, Blackberry, WP7 and (almost) for iPhone. For JavaME, Android and
> Blackberry we generate Java project for Eclipse and for WP7 a Visual Studio
> for Windows Phone project. We want to generate a Xcode project for iPhone.
> Actually all the source code are  generated by our tool but not the Xcode
> project. It is where CMake can help. Except for iPhone, all the projects can
> be generated from any OS (even if the project for WP7 cannot be open from a
> Mac). It is a feature we propose : user just have to push a button to have
> all its projects. Then, to build or modify the projects, each project can be
> copied or sent to another computer.

Ok I see.

> CMake can be a way to quickly generate the project from the sources we
> generate for iPhone (moreover, it is quite difficult to manualy generate a
> XCode project). However if you say that the  generated project files are not
> meant to be relocable, we might think to do it in an other way or to adapt
> our product.

I let people with more experience than me with
XCode, iphone & Co. comment on that.

However,  a general rule with CMake is to consider that cmake itself becomes
a requirement of your build system.
With CMake (at least currently) the developer/user cannot work without CMake
if the project (makefiles, IDE project files (Visual Studio, XCode, Eclipse)
has been generated with it.

see e.g.
http://www.cmake.org/Wiki/CMake_FAQ#Why_does_CMake_use_full_paths.2C_or_can_I_copy_my_build_tree.3F
or
http://www.cmake.org/Bug/view.php?id=11095


-- 
Erk
Membre de l'April - « promouvoir et défendre le logiciel libre » -
http://www.april.org
--

Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to