taocpp / taopq

C++ client library for PostgreSQL
Boost Software License 1.0
265 stars 40 forks source link

Support Conan package #8

Closed uilianries closed 6 years ago

uilianries commented 6 years ago

What?
Provide Conan package support for this project

Why?
Distribute taocpp::postgres over Bintray as a package

How?

uilianries commented 6 years ago

I found find_package (PostgreSQL REQUIRED) at https://github.com/taocpp/postgres/blob/master/taocpp-postgres.cmake#L9

So I suppose libpq is required for this project. We could add libpq as requirement for this package. So the user will not need to solve Postgres lib by itself.

uilianries commented 6 years ago

Now we have libpq recipe on Bincrafters' repo: https://github.com/bincrafters/conan-libpq, however it is not on Conan center yet.

IMO we could wait for Conan admin review before to integrate with PEGTL.

d-frey commented 6 years ago

Thanks! And I agree we should probably wait for libpq to be available through Conan Center, there is not pressure from our side. In fact, taocpp/postgres still needs more documentation before we can stick a 1.0.0 label on it :)