Hi,

I'm targeting Xcode,  I have different apps and a single library the apps 
depend on.
The resources of the individual apps are added simply by appending them to 
ADD_EXECUTABLE(... ${RESOURCES}) in the CMakeLists.txt of the individual 
project.
After this, Xcode is made "aware" of them by setting 
SET_TARGET_PROPERTIES(${APP_NAME} PROPERTIES RESOURCE "${RESOURCES}").  This is 
needed so Xcode knows it has to copy them to the bundle (and sometimes compile 
them first, like with .xib files).

Now my problem is that all the resources of all the apps are inserted in a top 
level Xcode directory "Recources". And not in the "Resources" directory of the 
individual apps.
Does anyone know how i could achieve 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

Reply via email to