[CMake] Does CMake/CPack not support creating a source-only tarball

Timothy M. Shead tshead at sandia.gov
Tue Nov 18 14:10:21 EST 2008


Bartlett, Roscoe A wrote:
> Hello,
>  
> According to the CMake bashing website:
>  
>     _http://www.remlab.net/op/cmake.shtml_
>  
> CMake/Cpack does not support creating a source-only tarball distribution 
> for a collection of software.
>  
> Is there some way to create a source-only tarball distribution with 
> CMake/Cpack that can selectively pick out files from the original source 
> tree like autotools does?

By default, CPack supports source tarball generation with "make 
source_package", and the generation can be customized in a variety of 
ways (e.g: generating a source package from a subdirectory with a custom 
target, etc).

There is no equivalent to "make distcheck", unless you roll your own 
(which certainly would be doable).

Cheers,
Tim

-- 
Timothy M. Shead
Data Analysis & Visualization (1424)
Sandia National Laboratories
505-284-0139



More information about the CMake mailing list