[CMake] CMake 2.8, Xcode generator and XIB files
g4 at novadsp.com
g4 at novadsp.com
Fri Sep 30 13:03:48 EDT 2011
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.
More information about the CMake
mailing list