This repository provides a convenient way to compile specific versions of SQLite3 from its source code using CMake.
For example, to compile SQLite3 version 3.8.10, use the following command:
-
Clone the repository:
git clone https://github.com/kzolti/sqlite3.git && \ cd sqlite3
-
Check build_options.txt to see the available options for SQLite3 version. For detailed information on available options, refer to SQLite3 Compile-time Options.
-
Create a build directory and run CMake:
mkdir build && cd build && \
cmake -DSQLITE_VERSION=3.8.10 .. && cmake --build .Include and target files are copied to CMAKE_CURRENT_SOURCE_DIR/include and CMAKE_CURRENT_SOURCE_DIR/target.
This repository provides a convenient way to compile specific versions of SQLite3 from its source code using CMake.