mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-29 09:52:19 +08:00
86e3ce7d29
This PR adds a configuration option that allows you to enable snapshots of SQLite3. https://sqlite.org/c3ref/snapshot.html The main use case is handling in WAL mode. Previously, SQLite3 in vcpkg did not support database snapshot handling. This PR will extend the functionality of SQLite3 by supporting it. - [x] Changes comply with the [maintainer guide](https://github.com/microsoft/vcpkg-docs/blob/main/vcpkg/contributing/maintainer-guide.md). - [x] SHA512s are updated for each updated download. - [x] The "supports" clause reflects platforms that may be fixed by this new version. - [x] Any fixed [CI baseline](https://github.com/microsoft/vcpkg/blob/master/scripts/ci.baseline.txt) entries are removed from that file. - [x] Any patches that are no longer applied are deleted from the port's directory. - [x] The version database is fixed by rerunning `./vcpkg x-add-version --all` and committing the result. - [x] Only one version is added to each modified port's versions file.
31 lines
1.0 KiB
C
31 lines
1.0 KiB
C
/*
|
|
* This file was generated to inject vcpkg feature selections into the installed copy of
|
|
* sqlite so that consumers need not get the values from pkgconfig or CMake configs.
|
|
*
|
|
* No include guard: intentionally reuses the include guard from sqlite3.h.
|
|
*/
|
|
|
|
#ifndef SQLITE_API
|
|
#cmakedefine SQLITE_API @SQLITE_API@
|
|
#endif
|
|
|
|
#define SQLITE_ENABLE_UNLOCK_NOTIFY 1
|
|
#cmakedefine SQLITE_ENABLE_FTS3
|
|
#cmakedefine SQLITE_ENABLE_FTS4
|
|
#cmakedefine SQLITE_ENABLE_FTS5
|
|
#cmakedefine SQLITE_ENABLE_MEMSYS3
|
|
#cmakedefine SQLITE_ENABLE_MEMSYS5
|
|
#cmakedefine SQLITE_ENABLE_MATH_FUNCTIONS
|
|
#cmakedefine SQLITE_ENABLE_UPDATE_DELETE_LIMIT
|
|
#cmakedefine SQLITE_ENABLE_RTREE
|
|
#cmakedefine SQLITE_ENABLE_SESSION
|
|
#cmakedefine SQLITE_ENABLE_SNAPSHOT
|
|
#cmakedefine SQLITE_ENABLE_PREUPDATE_HOOK
|
|
#cmakedefine SQLITE_OMIT_LOAD_EXTENSION
|
|
#cmakedefine SQLITE_ENABLE_GEOPOLY
|
|
#cmakedefine SQLITE_OMIT_JSON
|
|
#cmakedefine SQLITE_OS_WIN @SQLITE_OS_WIN@
|
|
#cmakedefine SQLITE_OS_WINRT @SQLITE_OS_WINRT@
|
|
#define SQLITE_ENABLE_COLUMN_METADATA 1
|
|
#cmakedefine SQLITE_OS_UNIX @SQLITE_OS_UNIX@
|