Commit Graph

2 Commits

Author SHA1 Message Date
Thomas1664
079419e66b
[sqlite3] Update to 3.42.0 (#31703)
* [sqlite3] Update to 3.42.0

* version

* Add cmake wrapper

* Test cmake wrapper

* version

* Add libsqlite3 to library names

* version

* WIP

* version

* restore original

* Remove cmake wrapper

* version

* Remove wrapper

* Remove all unused features

* version

* Remove unused features

* version

* only remove 1 variable

* version

* .

* version

* make json1 default feature

* version
2023-06-13 22:53:09 -07:00
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