[CMake] [CPack] Creating .deb package

Bernd Schubert bernd-schubert at gmx.de
Wed Apr 11 11:47:43 EDT 2007


On Wednesday 11 April 2007 15:31:44 Mathieu Malaterre wrote:
> Hello there,
>
>   I am currently looking to create .deb (debian package) for a project
> using CMake. As far as I understand I have two options:
>
> 1. Use dh_make and follow a couple of steps so that dh_make(*) will
> drive the build of the package, or
>
> 2. The structure of a .deb package is fairly simple (**). Which make
> is very close to a .tgz generated by CPack (+ some text file,
> everything archive in a single file). I would simply need to add some
> post cpack operation to archieve this.
>
> Anyone else has done a CMake2Deb script ?

Not personally yet, but I know there's a cdbs cmake.mk script available. AFAIK 
the cdbs maintainer so far refused to include this script into cdbs, since it 
was not sufficiently general, but this was about a year ago, maybe in the 
mean time things have changed.

Cheers,
Bernd


More information about the CMake mailing list