Dear PDFium Maintainers,
I am writing to formally request the addition of official CMake build support to the PDFium project.
As you know, PDFium currently relies on gn and ninja for its build system. While these tools are highly efficient for Chromium-based projects, many downstream developers and integrators work within ecosystems where CMake is the industry standard.
The inclusion of an official CMakeLists.txt would significantly benefit the community in several ways:
Easier Integration: It would allow developers to include PDFium as a sub-project using add_subdirectory() or via package managers like vcpkg and conan more seamlessly.
Cross-Platform Consistency: CMake provides a unified interface for generating project files for Visual Studio, Xcode, and other popular IDEs without requiring developers to learn gn.
Wider Adoption: Reducing the barrier to entry for building PDFium would likely lead to more contributions and wider usage in non-Chromium C++ applications.
We are aware of several community-maintained CMake wrappers for PDFium, but having an officially supported version would ensure better stability, security updates, and alignment with the main codebase.
Are there any plans to implement CMake support in the near future? If the project is open to it, I would also be happy to discuss how the community might assist in contributing or testing a CMake-based build configuration.
Thank you for your time and for your continued work on this excellent library.
Best regards,