[CMake] Does CMake/CPack not support creating a source-only tarball
Bartlett, Roscoe A
rabartl at sandia.gov
Tue Nov 18 16:39:05 EST 2008
Thanks, that did the trick. Note that this tars up *everything* in the source tree which might actually be a good thing if you want, for example, to build doxygen documentation first and then tar up and distribute you code.
> -----Original Message-----
> From: Shead, Timothy
> Sent: Tuesday, November 18, 2008 1:46 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:
> >> 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?
> Correction - it's "package_source", not "source_package" ...
> Truly Yours,
> Timothy M. Shead
> Data Analysis & Visualization (1424)
> Sandia National Laboratories
More information about the CMake