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 (not the target) and 3.) creating a "Copy Bundle Resources" build phase 
step with the .xcassets file in the target's build phases tab). 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. Anybody 
has any clue as to whether cmake supports anything in that area. All ow this 
has to be done BEFORE the build process is started and AFTER the project files 
have been created. Otherwise it won't work. We really need this because some 
genius from Apple decided it would be a good idea for the apps to decide what 
resolution an app should use on whatever lauch image resolution was choosen O_o.

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: [email protected]<mailto:[email protected]> | 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

Reply via email to