I've created a CMake project which adds resources to XCode similar to this:
set(source_files main.cpp file.cpp blah.cpp)
set(resource_files resource1 resource2 resource3)
set_source_files_properties(${resource_files} PROPERTIES
MACOSX_PACKAGE_LOCATION Resources)
add_executable(MyApp MACOSX_BUNDLE ${source_files} ${resource_files})
Everything seems to work fine but the resource files get duplicated into
the "Source" tree as well as the "Resource" tree. Is there any way to stop
this? I tried removing ${resource_files} from add_executable() but then it
fails to find the resources at all.
Darrell
--
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