Skip to content

elsamuko/xz_test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

xz_test

brief

xz_test is a simple C++-wrapper for xz utils, based on the sample programs from xz.

usage

Add all files from src/xz and log.hpp to your source files. Then you can use xz::compress( std::istream& istream, std::ostream& ostream ), which is based on 01_compress_easy.c and xz::decompress( std::istream& istream, std::ostream& ostream ) which is based on 02_decompress.c

building

To build 64 Bit static libs for Linux, Mac and Windows, just run the corresponding build script from the scripts folder. Note: The Windows build script builds MT and MD libs.

examples

In build/qmake are two sample projects, which use xz::compress and xz::decompress with std::cin and std::cout. Note: These are linked with static CRT (MT) under Windows.

In testing/roundtrip_test is a Qt based unit test, which tests xz::compress and xz::decompress with std::strings and files. Note: These are linked with dynamic CRT (MD) under Windows.

About

Simple c++ wrapper for xz utils

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published