mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-26 04:49:02 +08:00
185a7aa23a
* [sqlite3] Control features with a configuration header rather than CMake or pkgconfig. Resolves https://github.com/microsoft/vcpkg/pull/29335 Alternate of https://github.com/microsoft/vcpkg/pull/29258 @Neumann-A points out that controlling features through CMake configs and pkgconfig causes MSBuild customers to be left out in the cold. Moreover, attempting to add parenthesis to the SQLITE_API marco breaks autotools. This change makes such parenthesis unnecessary and ensures the configuration bits are used with automatic linking. * Ensure feature controls affect the .c too, use less MAYBE_UNUSED. * Correctly note that zlib has no effect without tools. * Always add DL_LIBS even when static linking. * [sqlitecpp] Unconditionally enable column metadata because that is done in the sqlite3 port. * Add missing -l prefix on CMAKE_DL_LIBS
37 lines
726 B
JSON
37 lines
726 B
JSON
{
|
|
"name": "sqlitecpp",
|
|
"version": "3.2.0",
|
|
"port-version": 1,
|
|
"description": "SQLiteC++ (SQLiteCpp) is a smart and easy to use C++ SQLite3 wrapper.",
|
|
"homepage": "https://github.com/SRombauts/SQLiteCpp",
|
|
"license": "MIT",
|
|
"dependencies": [
|
|
"sqlite3",
|
|
{
|
|
"name": "vcpkg-cmake",
|
|
"host": true
|
|
},
|
|
{
|
|
"name": "vcpkg-cmake-config",
|
|
"host": true
|
|
}
|
|
],
|
|
"default-features": [
|
|
"sqlite"
|
|
],
|
|
"features": {
|
|
"sqlcipher": {
|
|
"description": "Use the sqlcipher port",
|
|
"dependencies": [
|
|
{
|
|
"name": "sqlcipher",
|
|
"default-features": false
|
|
}
|
|
]
|
|
},
|
|
"sqlite": {
|
|
"description": "Deprecated; no effects"
|
|
}
|
|
}
|
|
}
|