Hi Daniel

On 30/09/2011 15:14, Daniel Dekkers wrote:

I've been battling with .xibs for weeks. What I am finally doing now is not 
trying to compile and add them to the bundle via CMake myself using custom 
commands.
I just add them as sources to ADD_EXECUTABLE(... ${RESOURCES}) and set
SET_TARGET_PROPERTIES(... PROPERTIES RESOURCE ${RESOURCES}) to make Xcode 
"aware" of them.

They then appear in the top level /Resources folder and Xcode will compile them and place them in the bundle.

Excellent, thanks. That looks like the missing part of the puzzle. I will report back when I get a chance to try this.


--

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