Howdy folks,

I'm currently in the process of converting our internal projects from premake 
to cmake. The process is almost complete. However I've been stuck on a 
seemingly simple problem the last few days that I could need some help /advise 
on. Since premake as well as CMake don't have an option to integrate Icon and 
LaunchImage support for iOS builds in XCode, we have a bash script, that 
patches the generated project files, to insert the appropriate lines to enable 
the icon support (this basically is 1.) copying the images into the app folder 
2.) including the prepared xcasset file into the resource "folder" of the 
project and 3.) creating a "Copy Bundle Resources" build phase step with the 
.xcassets file in the targets build phases). The script is currently run after 
cmake is done (in our projects batch file) and this works fine so far for 
premake as well as cmake. The problem now is that if something is changed, 
cmake will regenerate the project files and erase those changes. The logical 
idea would be to execute the script whenever cmake is run. However there is no 
such functionality in cmake as far as anyone could tell me so far. I would be 
willing to contribute the changes that would be necessary to give us such an 
option (Basically a post-generate step / command). Another way would be to 
include support for iOS Icons into cmake. However I'm not sure if I do get 
enough time from my employer to implement that solution nor am I confident that 
I actually have enough knowledge of XCode and the build phases to provide a 
generally working and stable solution for this. I'd very much like to have your 
feedback on this because if we create a feature we would of course like to get 
that feature into the official source at some point so we wouldn't have to 
constantly push people to use some "patched" version of cmake that we provide 
locally.

Greetz

Daniel

--
Daniel Dewald
Build Engineer
___________________________________________________________________________________
Deep Silver FISHLABS
Koch Media GmbH
Ludwig-Erhard-Straße 1 | 20459 Hamburg | Germany (Time zone UTC +1)
Fon: +49.40.88 88 00 - 227 | Fax: - 166
Mail: d.dew...@dsfishlabs.com<mailto:d.dew...@dsfishlabs.com> | Web: 
www.dsfishlabs.com<http://www.dsfishlabs.com/>
District Court Munich HRB 105290 | Managing Partner Dr. Klemens Kundratitz, 
Stefan Kapelari
____________________________________________________________________________________
________________________________
Diese E-mail enthält VERTRAULICHE UND PERSÖNLICHE INFORMATIONEN und/oder 
PRIVILEGIERTE UND VERTRAULICHE MITTEILUNGEN, die ausschließlich für die 
angesprochenen Empfänger bestimmt sind. Ohne ausdrückliche schriftliche 
Zustimmung des Absenders dürfen diese Informationen und Mitteilungen nicht an 
irgendeinen Dritten außerhalb der Organisation des Empfängers weitergeleitet 
oder zur Kenntnis gebracht werden. Wenn Sie diese E-mail versehentlich 
empfangen haben, teilen Sie dies bitte dem Absender umgehend telefonisch oder 
durch Rücksendung dieser E-mail mit, und zerstören Sie die Mail sowie Ihre 
evtl. Rückmail bitte anschließend, ohne eine Kopie zu erstellen. Koch Media 
übernimmt keinerlei Verantwortung für mögliche Verluste oder Beschädigungen, 
resultierend aus virus-infizierten E-mails bzw. Viren in Anhängen.

This e-mail may contain CONFIDENTIAL AND PROPRIETARY INFORMATION and/or 
PRIVILEGED AND CONFIDENTIAL COMMUNICATION intended solely for the recipient 
and, therefore, may not be retransmitted to any party outside of the 
recipient's organization without the prior written consent of the sender. If 
you have received this e-mail in error please notify the sender immediately by 
telephone or reply e-mail and destroy the original message without making a 
copy. Koch Media accepts no liability for any losses or damages resulting from 
infected e-mail transmissions and viruses in e-mail attachment.
-- 

Powered by www.kitware.com

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

Kitware offers various services to support the CMake community. For more 
information on each offering, please visit:

CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html

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

Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake-developers

Reply via email to