C++ wrapper for MuPDF.
- MuPDF fully integrated in CMake as an external project.
- MuPDF wrapped in C++ using the RAII technique.
- BDD unit tests implemented with Catch2.
- Packages managed with Conan.
- CI implemented with Travis CI.
- Catch2: https://github.com/catchorg/Catch2
- Clara: https://github.com/catchorg/Clara
- MuPDF: https://mupdf.com
- CMake: https://cmake.org
- Conan: https://conan.io
- Travis CI: https://travis-ci.com
- Install MSYS2 x86_64: https://msys2.org
- Open "MSYS2 MinGW 64-bit".
- Install packages:
pacman -S git make mingw-w64-x86_64-cmake mingw-w64-x86_64-gcc mingw-w64-x86_64-make mingw-w64-x86_64-python-pip
- Install Conan:
pip install conan
- Clone the repository:
git clone git@github.com:antonioborondo/mupdf_wrapper.git && cd mupdf_wrapper
- Configure, build and test:
mkdir build && cd build cmake -G "MinGW Makefiles" -DCMAKE_BUILD_TYPE=Release -DMUPDF_WRAPPER_ENABLE_TEST=ON .. cmake --build . ctest --verbose
- Install packages:
sudo apt install build-essential cmake python3-pip
- Install Conan:
sudo pip3 install conan
- Clone the repository:
git clone git@github.com:antonioborondo/mupdf_wrapper.git && cd mupdf_wrapper
- Configure, build and test:
mkdir build && cd build cmake -DCMAKE_BUILD_TYPE=Release -DMUPDF_WRAPPER_ENABLE_TEST=ON .. cmake --build . ctest --verbose