Commit Graph

4 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
SvenPStarFinanz
b3bf291c9a
[Sqlitecpp] update to 3.2.0 (#27807)
* [SQLiteCpp] Update to 3.2.0

* x-add-version

* Update ports/sqlitecpp/portfile.cmake

Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>

* Update ports/sqlitecpp/portfile.cmake

Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>

* Updating to vcpkg_cmake_* functions.

* x-add-version

* Update ports/sqlitecpp/portfile.cmake

Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>

* x-add-version

* Update ports/sqlitecpp/vcpkg.json

Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>

* Update ports/sqlitecpp/vcpkg.json

Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>

* corrected

* x-add-version

* Add comment about new setting to indicate that it doesn't conflict with VCPKG_CRT_LINKAGE, add quotes and formatting.

Co-authored-by: JonLiu1993 <63675417+JonLiu1993@users.noreply.github.com>
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
2022-11-16 13:20:56 -08:00
Reder
8b7ac186bf
[sqlitecpp] do not use stack protection (#25761)
* do not use stack protection
fixes #25760

* update version

* update baseline

* only remove stack protection for mingw64

* update version

* Make variable visible even if unused

Co-authored-by: Cheney Wang <38240633+Cheney-W@users.noreply.github.com>

* update version

Co-authored-by: Cheney Wang <38240633+Cheney-W@users.noreply.github.com>
2022-07-18 15:09:27 -07:00
nicole mazzuca
68a74950d0
[vcpkg] Rename port_versions to versions (#15784) 2021-01-21 09:53:22 -08:00