You might want to try the latest cmake 2.8.6RC, it should have fixed the symlink issues with .tar.gz packaging.<div><br></div><div>-Johan</div><div><br><br><div class="gmail_quote">On Thu, Sep 22, 2011 at 5:35 PM, Michael Jackson <span dir="ltr">&lt;<a href="mailto:mike.jackson@bluequartz.net">mike.jackson@bluequartz.net</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">I just found that and have been playing with it but if I set it to 1 then I get the following error:<br>
<br>
CPack: Create package using DragNDrop<br>
CPack: Install projects<br>
CPack: - Run preinstall target for: DREAM3D<br>
CPack: - Install project: DREAM3D<br>
CPack: -   Install component: Applications<br>
CPack: -   Install component: Unspecified<br>
CPack: Create package<br>
CPack Error: Error executing: /usr/bin/hdiutil create -ov -srcfolder &quot;/Users/mjackson/Workspace/DREAM3D/Build/_CPack_Packages/Darwin/DragNDrop/ALL_IN_ONE&quot; -volname &quot;DREAM3D-v2.1488.gfb63bc8-OSX&quot; -format UDRW &quot;/Users/mjackson/Workspace/DREAM3D/Build/_CPack_Packages/Darwin/DragNDrop/temp.dmg&quot;<br>

CPack Error: Error generating temporary disk image.<br>
CPack Error: Problem compressing the directory<br>
CPack Error: Error when generating package: DREAM3D<br>
make: *** [package] Error 1<br>
<br>
This is reproducible toggling the value between 1 and 0.<br>
<div class="im">___________________________________________________________<br>
Mike Jackson                      <a href="http://www.bluequartz.net" target="_blank">www.bluequartz.net</a><br>
Principal Software Engineer       <a href="mailto:mike.jackson@bluequartz.net">mike.jackson@bluequartz.net</a><br>
BlueQuartz Software               Dayton, Ohio<br>
<br>
</div><div><div></div><div class="h5">On Sep 22, 2011, at 11:17 AM, Clinton Stimpson wrote:<br>
<br>
&gt;<br>
&gt;<br>
&gt; On Thursday, September 22, 2011 09:07:49 am Michael Jackson wrote:<br>
&gt;&gt; Is there an option to pack the entire installation folder _including_ the<br>
&gt;&gt; folder itself into the dmg disk image during CPack?<br>
&gt;&gt;<br>
&gt;&gt; I have several applications, tools, documents and such and they are all<br>
&gt;&gt; currently put &quot;loose&quot; in the dmg file, I would rather have and enclosing<br>
&gt;&gt; folder.<br>
&gt;&gt;<br>
&gt;&gt; I am using unix symlinks to cut down on repeated frameworks and libraries<br>
&gt;&gt; so Zip and tgz don&#39;t support symlinks correctly which is forcing me to try<br>
&gt;&gt; the &quot;DragAndDrop&quot; option.<br>
&gt;&gt;<br>
&gt;<br>
&gt; You&#39;re probably looking for this:<br>
&gt; set(CPACK_INCLUDE_TOPLEVEL_DIRECTORY 1)<br>
&gt;<br>
&gt; --<br>
&gt; Clinton Stimpson<br>
&gt; Elemental Technologies, Inc<br>
&gt; Computational Simulation Software, LLC<br>
&gt; <a href="http://www.csimsoft.com" target="_blank">www.csimsoft.com</a><br>
&gt; --<br>
&gt;<br>
&gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt;<br>
&gt; 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>
&gt;<br>
&gt; 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>
&gt;<br>
&gt; Follow this link to subscribe/unsubscribe:<br>
&gt; <a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br>
<br>
--<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>
</div></div></blockquote></div><br></div>