[CMake] How to add a resource .bundle into xcode using cmake?

Frankie Chan frankie.chan at ubisoft.com
Wed Feb 11 14:01:17 EST 2015


I am trying to add a resource bundle into a generated xcode project with cmake. However I am having trouble getting this out. This is what i have so far?
set(MACOSX_BUNDLE_RESOURCES "${CMAKE_SOURCE_DIR}/resource.bundle")
set_source_files_properties(MACOSX_BUNDLE_RESOURCES PROPERTIES MACOSX_PACKAGE_LOCATION Resources)
add_executable(project MACOSX_BUNDLE ${FILES_SRC} ${FILES_RSC})
It seems it doesn't see resource.bundle package at all. Any help will be appreciated.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake/attachments/20150211/8f05fb75/attachment.html>


More information about the CMake mailing list