You might want to try the latest cmake 2.8.6RC, it should have fixed the symlink issues with .tar.gz packaging.
-Johan On Thu, Sep 22, 2011 at 5:35 PM, Michael Jackson < [email protected]> wrote: > I just found that and have been playing with it but if I set it to 1 then I > get the following error: > > CPack: Create package using DragNDrop > CPack: Install projects > CPack: - Run preinstall target for: DREAM3D > CPack: - Install project: DREAM3D > CPack: - Install component: Applications > CPack: - Install component: Unspecified > CPack: Create package > 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" > CPack Error: Error generating temporary disk image. > CPack Error: Problem compressing the directory > CPack Error: Error when generating package: DREAM3D > make: *** [package] Error 1 > > This is reproducible toggling the value between 1 and 0. > ___________________________________________________________ > Mike Jackson www.bluequartz.net > Principal Software Engineer [email protected] > BlueQuartz Software Dayton, Ohio > > On Sep 22, 2011, at 11:17 AM, Clinton Stimpson wrote: > > > > > > > On Thursday, September 22, 2011 09:07:49 am Michael Jackson wrote: > >> Is there an option to pack the entire installation folder _including_ > the > >> folder itself into the dmg disk image during CPack? > >> > >> I have several applications, tools, documents and such and they are all > >> currently put "loose" in the dmg file, I would rather have and enclosing > >> folder. > >> > >> I am using unix symlinks to cut down on repeated frameworks and > libraries > >> so Zip and tgz don't support symlinks correctly which is forcing me to > try > >> the "DragAndDrop" option. > >> > > > > You're probably looking for this: > > set(CPACK_INCLUDE_TOPLEVEL_DIRECTORY 1) > > > > -- > > Clinton Stimpson > > Elemental Technologies, Inc > > Computational Simulation Software, LLC > > www.csimsoft.com > > -- > > > > Powered by www.kitware.com > > > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > > > Please keep messages on-topic and check the CMake FAQ at: > http://www.cmake.org/Wiki/CMake_FAQ > > > > Follow this link to subscribe/unsubscribe: > > http://www.cmake.org/mailman/listinfo/cmake > > -- > > Powered by www.kitware.com > > Visit other Kitware open-source projects at > http://www.kitware.com/opensource/opensource.html > > Please keep messages on-topic and check the CMake FAQ at: > http://www.cmake.org/Wiki/CMake_FAQ > > Follow this link to subscribe/unsubscribe: > http://www.cmake.org/mailman/listinfo/cmake >
-- Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
