Giter VIP home page Giter VIP logo

pdfium-cmake's Introduction

CMake build system for pdfium

This repo provides cmake build scripts for pdfium. The upstream project uses gn, one of many symptoms of Google's NIH syndrome.

The aim of this repo is to ease building pdfium for multiple platforms. Third party dependencies are provided by system packages, instead of vendored libraries.

Usage

  1. Download pdfium sources using the download_pdfium.py python script.
  2. Run cmake with the PDFIUM_ROOT configuration variable set to the location of the downloaded sources. It has some options to enable/disable features (not all features are currently supported). All pdfium related options have a PDF_ prefix.

sources.yml

This file contains the git hashes + urls where the pdfium sources + essential dependencies can be downloaded. It provides 2 versions of pdfium sources: current and master.

  • current is a collection of fixed git hashes of pdfium sources which are guaranteed to build with these cmake scripts.
  • master contains the dynamic develop git branches of pdfium. Because these are dynamic in nature, they might fail.

Test coverage

Tested platforms

The cmake scripts are tested by CI on:

  • Linux:
    • ubuntu packages
    • conan packages
  • Macos:
    • conan packages
  • Windows:
    • conan packages

Patches for testing + running on other platforms are welcome.

Tested options

  • Pdfium is built in static and shared configuration

Only the default options are currently tested. Code for building pdfium sources making use of skia/v8 is implemented but not working. Patches are welcome.

pdfium-cmake's People

Contributors

madebr avatar cyriuz avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.