On 21. May, 2010, at 22:31 , Jerome Vernet wrote: > Le 21/05/10 22:08, Michael Wild a écrit : >> Yes, you have to copy every file individually. AFAIK there is a source file >> property you can set to specify the location inside the bundle. >> >> >> > >>> That is not a file, but really a folder and maybe that is messing up >>> CMake? >>> > Localized resources are not files, but directory (for example, > French.lproj/SDLMain.nib > > /InfoPlist.strings) > > That's why > > set_source_files_properties( > ${APP_RSRCS} > PROPERTIES > MACOSX_PACKAGE_LOCATION Resources) > > doesn't work. It try to copy *a file*, not a directory. But, it's a resources. > I also want to understand what exactly does fixup_bundle... Seems that it's > not exactly to do that, but it succeed to copy library and frameworks. > > Thanks for your help and to Werner. Things are coming. > > Jerome
You're not thinking far enough ;-) set(APP_RSRCS_FRENCH French.lproj/SDLMain.nib ...) set_source_files_properties(${APP_RSRCS_FRENCH} PROPERTIES MACOSX_PACKAGE_LOCATION Resources/French.lproj) HTH Michael _______________________________________________ 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