brechtsanders / xlsxio

XLSX I/O - C library for reading and writing .xlsx files
MIT License
397 stars 113 forks source link

Add pkgconfig file #95

Closed taozuhong closed 3 years ago

brechtsanders commented 3 years ago

I agree a .pc file should be added. However this one is not produced by CMake (e.g. the version and paths are directly in the file), and it's one file for both libraries. This should be split in 2. I will look into this as soon as I find some time.

taozuhong commented 3 years ago

Agreed with you.

Someone ask to merge them into one library, so we should consider this situation.

FYI: I have submitted a PR to MSYS MINGW package for xlsxio: https://github.com/msys2/MINGW-packages/pull/8109

brechtsanders commented 3 years ago

I added some code to generate .pc files.

Libraries will remain separate, as applications may only need to use one or the other. They also have different dependancies, and their code is completely separate.