Skip to content

Latest commit

 

History

History
39 lines (26 loc) · 1.07 KB

README.md

File metadata and controls

39 lines (26 loc) · 1.07 KB

pbwt

Portable Multithreaded Burrows-Wheeler Transform + Run Length Encoding Compressor/Decompressor

Build & Install

After git clone or downloaded and extracted zip file (assuming CMake is installed):

cd bwt/src
cmake -B build
cmake --build build
sudo cmake --install build --strip

Install part is optional, but if it's done, build dir can be deleted.

When using multi-config generators such as "Xcode" or "Visual Studio *" you need to provide an extra config argument to the build and install commands:

cmake --build build --config Release
sudo cmake --install build --strip --config Release

By default, CMake will build a shared library. To build a static library you can pass a custom flag to the generator command:

cmake -B build -DBUILD_SHARED_LIBS=OFF

Important note: When building a shared library on Windows, without install part, shared lib (*.dll) needs to be copied to the same dir as *.exe file after build process.

Usage

pbwt [OPTIONS] [<input_file>]

For detailed help run pbwt -h.