A modern CMake build system to build, install, and integrate the official SQLite Amalgamation into C/C++ projects.
- Drop-in replacement: Includes vendored SQLite sources in the
source/directory. - Integrity Verification: Includes a SHA3-256 checksum file
source/sqlite3.sha3sumto verify code authenticity. - Highly Configurable: Native CMake options mapping directly to the official SQLite compile-time options.
- Customizable: Swap the included sources with a customized SQLite amalgamation if needed.
- Modern CMake: Provides standard CMake export targets for seamless integration.
After building and installing this project, you can integrate it into your own CMake project using the standard CONFIG mode:
find_package(SQLite3 CONFIG REQUIRED)
target_link_libraries(your_target PRIVATE SQLite3::SQLite3)Other supported integrations include FetchContent and add_subdirectory.
This repository uses a dual-license structure:
- The CMake build configurations and tools are dedicated to the public domain under CC0-1.0.
- The SQLite source code files in the
source/directory are licensed under the official SQLite Blessing (blessing).
This project is fully REUSE compliant.
This repository is an independent open-source project and is not affiliated with, endorsed by, or associated with D. Richard Hipp or the official SQLite contributors. The term "SQLite" and any associated logos are trademarks of Hipp, Wyrick & Company, Inc., and are used in this repository solely for nominative purposes to identify the software being configured and built.