<div><span class="gmail_quote"></span>For the mailing list:<br><br>David,<br><div><br>&nbsp;</div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Thank you for you fast answer.<br><br>1. Yes, I actually want to copy some libOne.dylib directly into the bundle so all the required library can be into the .app bundle (at the same place the executable is) and not outside. Another way to say it would be that I want the bundle to be the only existing file where to install every dependencies/ressources so that the .dmg would only contains the bundle.
<br><br>2. This is good news. I might take a look at the CVS version. When will this updated version of CMake will be officially supported ?<br><br>Regards,<br>Félix C. Morency<br><br><div><span class="gmail_quote">2007/10/11, David Cole &lt;
<a href="mailto:david.cole@kitware.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">david.cole@kitware.com</a>&gt;:</span><div><span class="e" id="q_115901efc9bbe452_1"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On 10/11/07, Félix C. Morency &lt;
<a href="mailto:felix.morency@gmail.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">felix.morency@gmail.com</a>&gt; wrote:<br>&gt; 1. Is there any way to include 3rd party libraries in a generated bundle
<br>&gt; (.app) with CMake/CPack (.dmg) ? Currently, the 3rd party are out of the
<br>&gt; bundle and this is quite ungood since the bundle architecture provides<br>&gt; resources support. Anyone ever done it before ?<br><br>Could you give a concrete example of what you&#39;d like to do here? (Just<br>

copy an existing library or resource file into your bundle somewhere?)<br><br><br>&gt; 2. The PackageMaker (.dmg) and Bundle generator (.app) support seem limited<br>&gt; within CPack. I haven&#39;t found a way yet to change the default installation
<br>&gt; path (from /usr/bin to /Applications) and I think this is quite important.<br>&gt; I&#39;m thinking about logging a bug about this issue. The documentation is also<br>&gt; lacking informations about those tools.
<br>
<br>In CVS CMake, there is support in the INSTALL(TARGETS command for a<br>separate BUNDLE DESTINATION if the target in question is a Mac bundle<br>application. If you use this with an absolute path, like &quot;BUNDLE<br>

DESTINATION /Applications/MyApp&quot; it should work with &quot;make install&quot;<br>and also with any generated CPack installers. If you could try it out<br>with CVS CMake and let the list know your results, that would be
<br>great. The new INSTALL command arguments are not fully documented yet,<br>but the code should work now.<br><br>HTH,<br>David Cole<br></blockquote></span></div></div><br>
</blockquote></div><br>