[sqlpp11] add postgres support (#28989)

This commit is contained in:
Francisco Facioni 2023-01-17 20:28:56 +01:00 committed by GitHub
parent f19f5d98b2
commit c60b65d099
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 17 additions and 5 deletions

View File

@ -11,9 +11,10 @@ vcpkg_from_github(
vcpkg_check_features(
OUT_FEATURE_OPTIONS FEATURE_OPTIONS
FEATURES
sqlite3 BUILD_SQLITE3_CONNECTOR
mariadb BUILD_MARIADB_CONNECTOR
mysql BUILD_MYSQL_CONNECTOR
sqlite3 BUILD_SQLITE3_CONNECTOR
mariadb BUILD_MARIADB_CONNECTOR
mysql BUILD_MYSQL_CONNECTOR
postgresql BUILD_POSTGRESQL_CONNECTOR
)
# Use sqlpp11's own build process

View File

@ -1,7 +1,7 @@
{
"name": "sqlpp11",
"version": "0.61",
"port-version": 1,
"port-version": 2,
"description": "A type safe embedded domain specific language for SQL queries and results in C++.",
"homepage": "https://github.com/rbock/sqlpp11",
"license": "BSD-2-Clause",
@ -29,6 +29,12 @@
"libmysql"
]
},
"postgresql": {
"description": "Use PostgreSQL connector",
"dependencies": [
"libpq"
]
},
"sqlite3": {
"description": "Use SQLite3 connector",
"dependencies": [

View File

@ -7322,7 +7322,7 @@
},
"sqlpp11": {
"baseline": "0.61",
"port-version": 1
"port-version": 2
},
"sqlpp11-connector-mysql": {
"baseline": "0.61",

View File

@ -1,5 +1,10 @@
{
"versions": [
{
"git-tree": "1800c18be7c4fe76b515891d6f7d51525873f264",
"version": "0.61",
"port-version": 2
},
{
"git-tree": "d7384489fec593161753c46383d26f666a751847",
"version": "0.61",