I vote for a new generator then. A Drag-N-Drop DMG generator == DDD? :-)<br><br><div>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.</div>
<div><br></div><div><br><div class="gmail_quote">On Fri, Jan 16, 2009 at 2:22 PM, Mike Arthur <span dir="ltr"><<a href="mailto:mike@mikearthur.co.uk">mike@mikearthur.co.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="Ih2E3d">On Friday 16 January 2009 19:12:55 Clinton Stimpson wrote:<br>
> To add this capability to the Bundle generator, how about just checking<br>
> if CPACK_BUNDLE_NAME is not set? If its not set, then simply take the<br>
> install tree, and add a /Applications link, maybe a few other options to<br>
> make it fancy, and dmg-ify it. Seems in that case it would be a very<br>
> simple generator, as I really want my "make install" tree to work. And<br>
> in my case where I want a top level directory containing multiple<br>
> bundles and files, I could just set the CPACK_PACKAGING_INSTALL_PREFIX<br>
> to get the same behavior as the PackageMaker generator.<br>
</div>Personally I think that behaviour would be pretty confusing as I'd argue the<br>
CPACK_BUNDLE_NAME should be set by default to the project name, for instance.<br>
<br>
I think the Bundle generator should (continue to) create the bundle, not rely<br>
on one from MACOSX_LOCATION and that you should probably just change your<br>
buildsystem rather than trying to change the generator to meet a scenario that<br>
only you seem to want. Sorry to be blunt, apologies for my rudeness, I just<br>
want to make sure that the Bundle generator improves its consistency in CPack<br>
rather than getting worse.<br>
<div class="Ih2E3d"><br>
--<br>
Cheers,<br>
Mike Arthur<br>
<a href="http://mikearthur.co.uk/" target="_blank">http://mikearthur.co.uk/</a><br>
_______________________________________________<br>
</div><div><div></div><div class="Wj3C7c">CMake mailing list<br>
<a href="mailto:CMake@cmake.org">CMake@cmake.org</a><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>