Skip to content

antonioborondo/mupdf_wrapper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mupdf_wrapper

Build Status

Description

C++ wrapper for MuPDF.

Features

  • 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.

Libraries

Tools

How to build

Windows (MinGW 64-bit)

  1. Install MSYS2 x86_64: https://msys2.org
  2. Open "MSYS2 MinGW 64-bit".
  3. 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
    
  4. Install Conan:
    pip install conan
    
  5. Clone the repository:
    git clone git@github.com:antonioborondo/mupdf_wrapper.git && cd mupdf_wrapper
    
  6. 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
    

Linux (Ubuntu 20.04 LTS)

  1. Install packages:
    sudo apt install build-essential cmake python3-pip
    
  2. Install Conan:
    sudo pip3 install conan
    
  3. Clone the repository:
    git clone git@github.com:antonioborondo/mupdf_wrapper.git && cd mupdf_wrapper
    
  4. Configure, build and test:
    mkdir build && cd build
    cmake -DCMAKE_BUILD_TYPE=Release -DMUPDF_WRAPPER_ENABLE_TEST=ON ..
    cmake --build .
    ctest --verbose
    

About

C++ wrapper for MuPDF

Resources

License

Stars

Watchers

Forks