senshu/Sozi — pull request #79 by polch (2011-10-09 17:22:19+00:00)
Title: Add package target.

Here is a first attempt to support packaging.

Here is an example of how to use the cmake build process and see what happen :
# cd Sozi
# mkdir build
# cd build
# cmake ../
# make
# make install DESTDIR=install
# make package

The changes :
- remove the version script and compute the version at the cmake level, so we have a SOZI_VERSION variable
- add the installation of the doc
- add the component differentiation.
- add cpack directives for building tar.gz archives

It still lacks the path of the archive to be the same as it used to be.

But, we can expect a gui interface for installation (http://www.vtk.org/Wiki/CMake:Component_Install_With_CPack).