[CMake] fixup_bundle() and stripping prerequisites
KC Jones
kc.jones at skype.net
Mon Jan 10 12:17:22 EST 2011
I'm interested in this too. My CPack script is limping along now, but the resulting bundle yields reams of log messages like:
1/6/11 5:50:49 PM [0x0-0x2d42d4].myspp[23814] objc[23814]: Class QCocoaColorPanelDelegate is implemented in both /Users/kcjones/projects/myspp/build/_CPack_Packages/Darwin/DragNDrop/SkypeKit-UiKit/qtsimpleclient.app/Contents/MacOS/../Frameworks/QtGui.framework/Versions/4/QtGui and /Library/Frameworks/QtGui.framework/Versions/4/QtGui. One of the two will be used. Which one is undefined.
Wondering if stripping would silence these warnings?
KC Jones
kc.jones at skype.net
SkypeId: bernalkc
On Jan 8, 2011, at 6:39 AM, Crni Gorac wrote:
> Have CPack setup working great on my Qt-based project - fixup_bundle()
> is able to find all required Qt libraries, together with needed
> plugins, and include them into installer. However, these libraries
> and plugin files are not stripped, so the resulting installer file is
> rather large, and I'd really like to trim its size. I can understand
> that "set(CPACK_STRIP_FILES TRUE)" is working only on the targets in
> my program, but I'm wondering - is there any way to have
> fixup_bundle() to strip prerequisites?
>
> Thanks.
> _______________________________________________
> 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
More information about the CMake
mailing list