Corvusoft / restbed

Corvusoft's Restbed framework brings asynchronous RESTful functionality to C++14 applications.
http://www.corvusoft.co.uk
Other
1.93k stars 377 forks source link

Please add a pkg-config file? #512

Open bredelings opened 2 years ago

bredelings commented 2 years ago

Hi,

I am building some software with meson (which serves a similar role to cmake) and it would be much easier to consume restbed if restbed would install a pkg-config file.

Specifically

Here is one method for generating the pkg-config file from cmake: https://www.scivision.dev/cmake-generate-pkg-config/

-BenRI

P.S. I did notice #138. That issue made it sound like (1) restbed initially installed a FindRestbed.cmake module, and then was extended to (2) install a pkg-config file as well. However, when installing restbed it doesn't look like restbed installs EITHER a cmake file to find restbed, OR a pkg-config file. So perhaps I am confused.

bredelings commented 2 years ago

Actually meson does the right thing when I coded the meson.build file in a better way. However, the first issue about using the right flags to link against libcurl and openssl remains.