[CMake] CPack for making .deb files?

Christian Convey christian.convey at gmail.com
Mon Jul 23 22:13:16 EDT 2007


Hi guys,

I need my CMake-based project to produce Debian packages in the
near-term, and RPMs probably a few months from now.

I've already worked out how to create .deb files (using a traditional
Makefile and the dpkg-deb and lintian programs).

But then I look at CPack, which appears to be intended to fit this
exact role.  Except, of course, that it doesn't have a .deb generator.

Am I best off:

(A) just defining a custom command to create the .deb files in my
limited situation.

(B) Or is there some plan in the very near term for CPack to start
producing .deb files, that I should wait for?

(C) Or is there some other stable and very bug-free package that
someone else has written that I should use?  (If one exists but is
even a little buggy, I'm thinking that I'd have an easier time
debugging my own implementation of a custom command, since I'd know
how my CMake code was supposed to work.)

Thanks,
Christian


More information about the CMake mailing list