[CMake] dmg CPack Options

Clinton Stimpson clinton at elemtech.com
Thu Sep 22 11:17:11 EDT 2011



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


More information about the CMake mailing list