<div class="gmail_quote">On Sat, Feb 12, 2011 at 12:41 PM, Peter Kümmel <span dir="ltr">&lt;<a href="mailto:syntheticpp@gmx.net">syntheticpp@gmx.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div class="im">On 12.02.2011 18:26, Peter Kümmel wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
I wanna create a bundle on OSX with fixup_bundle but I have problems with plugins.<br>
<br>
The plugins are build with add_library(MODULE) into ${CMAKE_BINARY_DIR}/plugins.<br>
<br>
set(app ${CMAKE_BINARY_DIR}/bin/b.app)<br>
install(CODE<br>
      &quot;file(GLOB_RECURSE plugins \&quot;\${CMAKE_BINARY_DIR}/plugins/*${CMAKE_SHARED_MODULE_SUFFIX}\&quot;)<br>
      include(BundleUtilities)<br>
      fixup_bundle(\&quot;${app}\&quot; \&quot;\${plugins}\&quot; \&quot;\&quot;)&quot;<br>
      COMPONENT RUNTIME)<br>
<br>
Does not work, cmake says it does &quot;*NOT* copying&quot; the plugin.<br>
</blockquote>
<br></div>
And what does it mean &quot;copying&quot;? from where to where?<div><div></div><div class="h5"><br>
<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Is there a way to enable copying? Or Have I ti install<br>
them into the bundle before calling fixup.<br>
<br>
The examples do not handle shared libraries, too bad.<br>
<br>
Thanks,<br>
Peter<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br>
<br>
</blockquote>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br>
</div></div></blockquote></div><br><br>See this bug and its related issues for details: <a href="http://public.kitware.com/Bug/view.php?id=9744">http://public.kitware.com/Bug/view.php?id=9744</a><br><br>The gist of it is that, yes, you do have to copy/install your plugins into the bundle first before calling fixup_bundle. This is a change in behavior between CMake 2.8.2 and 2.8.3 as a result of the above bug fix.<br>
<br><br>And to answer &quot;
And what does it mean &quot;copying&quot;? from where to where?&quot;:<br><br>Copying from outside the bundle somewhere to inside the bundle in its &quot;embedded&quot; location. As it does with the automatically-pulled-in prerequisite libraries.<br>
<br><br>HTH,<br>David<br><br>