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

Bartlett, Roscoe A rabartl at sandia.gov
Tue Nov 18 15:36:10 EST 2008


Tim,

> -----Original Message-----
> From: Shead, Timothy
> Sent: Tuesday, November 18, 2008 12:10 PM
> To: Bartlett, Roscoe A
> Cc: cmake at cmake.org
> Subject: Re: [CMake] Does CMake/CPack not support creating a
> source-only tarball
>
> 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).

This target does not appear to be supported as shown by:

    [rabartl at gabriel SERIAL_DEBUG]$ make source_package
    make: *** No rule to make target `source_package'.  Stop.

Is there some special way that we need to configure Trilinos or set up Cpack to support this?

Thanks,

- Ross



More information about the CMake mailing list