[CMake] Xcode resources for different projects in different directories.

Johan Björk phb at spotify.com
Sat Oct 8 10:37:23 EDT 2011


Sounds like a bug/missing feature. File a bug with a example project that
demonstrates the issue on the bugtracker, and hopefully someone will have
time to take a look at it ;)

/Johan


On Sat, Oct 8, 2011 at 4:00 PM, Daniel Dekkers <d.dekkers at cthrough.nl>wrote:

> Hi,
>
> I think I've asked this earlier, but still no solution, so i'll try again.
>
> I'm targeting Xcode (iOS) and would like to have multiple projects (and one
> library) in a single workspace. In the individual projects, I set...
>
> SET_TARGET_PROPERTIES( ${APP_NAME} PROPERTIES RESOURCE "${RSRC_FILES}" )
>
> ...to make Xcode aware of the resources (so Xcode will copy them to the
> bundle before building).
>
> But.. all the resources of all the projects end up in /Resources, a top
> level Xcode folder, except for the Info.plist, that goes in a /Resources
> folder in the project itself. This (of course) gives problems because there
> are different files with the same names (icons) and I don't want all the
> resources of all the projects in all the bundles.
>
> So, it would be nice of I could let CMake put the resources of an
> individual project in the /Resources directory of that individual project.
> But no idea how to do that.
>
> Kind Regards,
>
> Daniel Dekkers
>
>
>
>
> --
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20111008/44298c54/attachment.htm>


More information about the CMake mailing list