summaryrefslogtreecommitdiffstats
path: root/Source/cmArchiveWrite.cxx
Commit message (Collapse)AuthorAgeFilesLines
* Add Compress compress support to libarchive-wrapperEric NOULARD2010-08-161-0/+8
|
* Add XZ compress support to libarchive-wrapperEric NOULARD2010-08-131-0/+8
| | | | | | | This is not needed but it does not cost much to do it for all potentially supported format in libarchive. XZ and LZMA are not builtin libarchive and require external lib but if CMAKE_USE_SYSTEM_LIBARCHIVE is ON then we may get it for free.
* Add ZIP archive format and LZMA compress support to libarchive-wrapperEric NOULARD2010-08-131-4/+40
| | | | | | | This will be needed to use cmArchiveWrire in cmCPackArchiveGenerator with the same feature set as before. Note that adding zip support to libarchive-wrapper would also makes it easy to add a new -E zip command to cmake commands.
* cmArchiveWrite: Fix signed/unsigned againBrad King2010-08-111-7/+7
| | | | | | Some stream libraries return size_t from gcount() and some return ssize_t. Add an explicit cast to ios::streamsize for its return value. Also refactor use of nnext to reduce the use of casts.
* cmArchiveWrite: Fix signed/unsigned compare/convertBrad King2010-08-091-4/+8
| | | | | | | | The libarchive interface accepts size_t but returns ssize_t. The std streams interface wants streamsize, which is typically ssize_t. Since no one type for our variable matches without conversions, make the conversions explicit to avoid -Wsign-conversion and -Wsign-compare warnings.
* Create class cmArchiveWrite to wrap libarchive (#11020)Brad King2010-08-061-0/+243