[cmake-developers] Allowing CPack to generate RPMs and DEBs on OSX

Tom Hughes tomtheengineer at gmail.com
Tue Apr 17 17:44:19 EDT 2012


Currently CPack doesn't let you generate DEBs or RPMs on OSX, but it is
possible to install those tools on OSX (e.g., through homebrew:
http://mxcl.github.com/homebrew/). I created a bug a while ago (
http://cmake.org/Bug/view.php?id=13064) and attached a simple patch to fix
this. Eric Noulard suggested that a better solution would be to check for
existence of the build tool at runtime (e.g., rpmbuild for RPMs) and I
created an updated patch.

Can we get some feedback on this so that it could potentially be merged? I
realize it's late for 2.8.8, but the first patch (
http://cmake.org/Bug/file_download.php?file_id=4264&type=bug) is simple
enough that maybe it would be acceptable to take at this point.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20120417/cc6c438a/attachment.html>

More information about the cmake-developers mailing list