Commit Graph

3 Commits

Author SHA1 Message Date
Billy O'Neal
185a7aa23a
[sqlite3] Control features with a configuration header (#29376)
* [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
2023-02-06 12:00:37 -08:00
Jack·Boos·Yu
7f3e168d8f
[sqlite3] Add more features (#23009)
* [sqlite3] Add more features

* version

* Add dependency zlib for feature zlib

* version

* Remove -DSQLITE_API=extern

* version

* Add pre-defines to pkgconfig

* Add new option CFLAGS to get all clfags

* Get pkgconfig cflags, add sqlite3 feature dependency

* version

* doc
2022-02-16 13:00:36 -08:00
Be
93885afd50
[libdjinterop] update to 0.16.0 (#20136)
* [libdjinterop] update to 0.16.0

* [sqlite3] add pkgconfig file

Linux distributions typically use the SQLite autoconf package,
but this port uses the SQLite amalgamation package with a custom
CMakeLists.txt so the port needs to take care of installing the
pkgconfig file.
2021-09-22 13:00:06 -07:00