[CMake] [ANN] 'make dist(check)' support

Enrico Scholz enrico.scholz at informatik.tu-chemnitz.de
Fri Dec 29 16:18:47 EST 2006


Hello,

I wrote a small module which adds support for 'make dist' and 'make
distcheck'. It is available at

                http://ensc.de/cmake/FindMakeDist.cmake


There are the following limitations:

* works probably only with the 'make' generator
* requires at least a SUSv3/POSIX compliant system; some parts
  (e.g. bzip2-tarballs) depend on some GNUisms; this should be made
  configurable perhaps
* there could be added some more tests (e.g. gnit-style (check for
  existence of required files and a proper VERSION format))
* it is somehow ugly, to see hundreds of 'Built target .distdir' messages
* is is ugly that all sources must be specified for enable_makedist();
  there should be added support to 'cmake' to enumerate targets and
  their sources


Due to the last item, these targets are not so powerful and easy to use
like their 'automake' counterparts. But they are an huge improvement to
the current situation where there is nearly no support for creating
source tarballs.




Enrico
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 480 bytes
Desc: not available
Url : http://public.kitware.com/pipermail/cmake/attachments/20061229/d9d5d90e/attachment.pgp


More information about the CMake mailing list