jwezorek / vs_pdfium

Google's pdfium codebase set up as a Visual Studio solution that compiles to a static library on Windows.
BSD 3-Clause "New" or "Revised" License
40 stars 20 forks source link

linux #7

Closed hdf15804299051 closed 5 months ago

hdf15804299051 commented 1 year ago

if I want build a linux render pdf, what can i do?

hdf15804299051 commented 1 year ago

I need write cmakelist ,and Which library files do I need to replace

TechnicalGaur commented 1 year ago

1-Create a CMakeLists.txt File 2- Determine Library Dependencies Here are some common ways to identify library dependencies:

Check Your Code: Look through your code for #include statements that reference external libraries. These statements can give you clues about which libraries your project uses.

Read Documentation: If you're using third-party libraries, consult their documentation or README files to understand their dependencies.

Check Package Manager Files: If you're using a package manager like CMake's FetchContent or Conan, check the configuration files (e.g., CMakeLists.txt or conanfile.txt) for library dependencies.

Examine Build Errors: If you encounter build errors related to missing libraries, the error messages may provide information about which libraries are needed.

Consult Project Documentation: If your project has documentation, it may list its library dependencies.