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"><<a href="mailto:mike.jackson@bluequartz.net">mike.jackson@bluequartz.net</a>></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 "/Users/mjackson/Workspace/DREAM3D/Build/_CPack_Packages/Darwin/DragNDrop/ALL_IN_ONE" -volname "DREAM3D-v2.1488.gfb63bc8-OSX" -format UDRW "/Users/mjackson/Workspace/DREAM3D/Build/_CPack_Packages/Darwin/DragNDrop/temp.dmg"<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>
><br>
><br>
> On Thursday, September 22, 2011 09:07:49 am Michael Jackson wrote:<br>
>> Is there an option to pack the entire installation folder _including_ the<br>
>> folder itself into the dmg disk image during CPack?<br>
>><br>
>> I have several applications, tools, documents and such and they are all<br>
>> currently put "loose" in the dmg file, I would rather have and enclosing<br>
>> folder.<br>
>><br>
>> I am using unix symlinks to cut down on repeated frameworks and libraries<br>
>> so Zip and tgz don't support symlinks correctly which is forcing me to try<br>
>> the "DragAndDrop" option.<br>
>><br>
><br>
> You're probably looking for this:<br>
> set(CPACK_INCLUDE_TOPLEVEL_DIRECTORY 1)<br>
><br>
> --<br>
> Clinton Stimpson<br>
> Elemental Technologies, Inc<br>
> Computational Simulation Software, LLC<br>
> <a href="http://www.csimsoft.com" target="_blank">www.csimsoft.com</a><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>
<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>