[CMake] cpack bundle generator qq

Timothy M. Shead tshead at sandia.gov
Fri Jan 16 17:04:42 EST 2009


David Cole wrote:
> I vote for a new generator then. A Drag-N-Drop DMG generator == DDD? :-)

I prefer this to changing the bundle generator behavior.

> Maybe just good documentation about the existing generators and what 
> sorts of assumptions they make would be a good place to start. I think 
> the main problem here is that people expect the "bundle generator" to 
> deal with bundles properly, when in fact, what it does is create a 
> bundle for you at packaging time. It's a name overloading / human 
> understanding problem... not a problem with the code.

I would nuance this to suggest that the current MACOSX_BUNDLE behavior 
blurs the line between building and packaging, which causes much of the 
confusion.  Arguably, a dmg+bundle IS-A package - so creating a bundle 
in the build directory is the wrong division of labor.  If there was 
NSIS-specific stuff that got created in the build directory every time 
you specified WIN32_EXECUTABLE, we'd be having the same sort of 
confusion on Win32.

Cheers,
Tim

-- 
Timothy M. Shead
Data Analysis & Visualization (1424)
Sandia National Laboratories
505-284-0139



More information about the CMake mailing list