CMake/Utilities/cmlibarchive/examples/minitar
Bill Hoffman b9e88cd4c8 remove makefiles as they cause the in source build test of cmake to fail 2009-11-03 10:21:50 -05:00
..
README Switch to using libarchive from libtar for cpack and cmake -E tar 2009-10-30 13:10:56 -04:00
minitar.c Switch to using libarchive from libtar for cpack and cmake -E tar 2009-10-30 13:10:56 -04:00
notes Switch to using libarchive from libtar for cpack and cmake -E tar 2009-10-30 13:10:56 -04:00
tree.c Switch to using libarchive from libtar for cpack and cmake -E tar 2009-10-30 13:10:56 -04:00
tree.h Switch to using libarchive from libtar for cpack and cmake -E tar 2009-10-30 13:10:56 -04:00

README

"minitar" is a minimal example of a program that uses libarchive to
read/write various archive formats.  It's a more ambitious version of
'untar.c' that includes compile-time options to enable/disable various
features, including non-tar formats, archive creation, and automatic
decompression support.

I use this as a test bed to check for "link pollution," ensuring that
a program using libarchive does not pull in unnecessary code.

The "minitar" program is also a good starting point for anyone who
wants to use libarchive for their own purposes, as it demonstrates
basic usage of the library.