[CMake] make dist?

Alan W. Irwin irwin at beluga.phys.uvic.ca
Wed Jul 26 19:18:41 EDT 2006


>Mr.Prise wrote:
>> Hello,
>> Im new to CMake. I used autools before.
>> Does CMake have similar function to make an archive from the source
>> like autotools has with make dist?
>> I would like to type a make archive to make a .tar.gz from all my
>> source and other files which are needed for the project.
>> 
>> Regards,
>> Mr.Prise
>> _______________________________________________
>> CMake mailing list
>> CMake at cmake.org
>> http://www.cmake.org/mailman/listinfo/cmake
>> 
>> 
>http://public.kitware.com/pipermail/cmake/2006-May/009060.html

I struggled with this question myself two weeks ago until a google search
found that most helpful thread that you referenced.

Aside from that thread I could find no information, and the usual high
standards of the CMake documentation fall down in this case.  I noticed the
following issues: this important question about the equivalent of autotools
"make dist" should be in the FAQ; "cmake --help-module CPack" only returns
"Pick a configuration file" (at least for cmake-2.4.2), and "cpack
--help-full" gives no information about the necessary lines in the top-level
CMakeLists.txt file.

Alan
__________________________
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state implementation
for stellar interiors (freeeos.sf.net); PLplot scientific plotting software
package (plplot.org); the Yorick front-end to PLplot (yplot.sf.net); the
Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project
(lbproject.sf.net).
__________________________

Linux-powered Science
__________________________


More information about the CMake mailing list