[CMake] CPack DragNDrop, adding an additional file to DMG

Clinton Stimpson clinton at elemtech.com
Thu Sep 25 13:45:48 EDT 2014


On Thursday, September 25, 2014 10:19:23 AM jmerkow wrote:
> Yes.
> 
> Im actually using the Bundle generator.  We don't use bundle when compiling.
> We only use bundles to launch for the binaries.  DESTINATION "." points to
> Contents/Resources/ in this case.
> 
> -Jameson
> 

Sorry, the Bundle generator doesn't let you do that.

This is one of the reasons we have the DragNDrop generator, so you should use 
that instead.  To do that, you'll also need to change your application to be a 
bundle in the build directory.  You can also use variables for the DESTINATION 
parameter in your install() commands.

Clint


More information about the CMake mailing list