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

Timothy M. Shead tshead at sandia.gov
Tue Nov 18 16:50:07 EST 2008

Bartlett, Roscoe A wrote:

> 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.

If there's something in your source dir that you *don't* want to 
distribute, you can set CPACK_SOURCE_IGNORE_FILES to a list of regex 
expressions that will be ignored.  Note that the default value for this 
variable is used to strip CVS/.svn cruft out when packaging the sources.


Timothy M. Shead
Data Analysis & Visualization (1424)
Sandia National Laboratories

More information about the CMake mailing list