<div><span class="gmail_quote"></span>For the mailing list:<br><br>David,<br><div><br> </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 <
<a href="mailto:email@example.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">firstname.lastname@example.org</a>>:</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 <
<a href="mailto:email@example.com" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">firstname.lastname@example.org</a>> wrote:<br>> 1. Is there any way to include 3rd party libraries in a generated bundle
<br>> (.app) with CMake/CPack (.dmg) ? Currently, the 3rd party are out of the
<br>> bundle and this is quite ungood since the bundle architecture provides<br>> resources support. Anyone ever done it before ?<br><br>Could you give a concrete example of what you'd like to do here? (Just<br>
copy an existing library or resource file into your bundle somewhere?)<br><br><br>> 2. The PackageMaker (.dmg) and Bundle generator (.app) support seem limited<br>> within CPack. I haven't found a way yet to change the default installation
<br>> path (from /usr/bin to /Applications) and I think this is quite important.<br>> I'm thinking about logging a bug about this issue. The documentation is also<br>> lacking informations about those tools.
<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 "BUNDLE<br>
DESTINATION /Applications/MyApp" it should work with "make install"<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>