[CMake] [CPack] Creating .deb package

Mathieu Malaterre mathieu.malaterre at gmail.com
Wed Apr 11 09:31:44 EDT 2007


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 ?

thanks,
-Mathieu

(*)
http://www.debian-administration.org/articles/337
(**)
http://www.debian-administration.org/articles/116

-- 
Mathieu
Tel: +33 6 32 13 33 40


More information about the CMake mailing list