Skip to content

TotalCross/totalcross-sqlite3-build

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TotalCross SQLite3 Static Build

This project builds SQLite3 as a static library using the same SQLite compile options used by the TotalCross VM build.

It builds the plain upstream SQLite3 amalgamation.

Source Inputs

The build accepts one of these source inputs:

  • -DSQLITE3_SOURCE_DIR=/path/to/source
  • -DSQLITE3_SOURCE_ARCHIVE=/path/to/sqlite.tar.gz
  • -DSQLITE3_SOURCE_URL=https://.../sqlite.tar.gz

If none is provided, the plain upstream SQLite amalgamation sqlite-amalgamation-3320300.zip is downloaded from sqlite.org.

The source directory or archive must contain exactly one sqlite3.c and one sqlite3.h.

Local Build

cmake -S . -B build -G Ninja \
  -DCMAKE_BUILD_TYPE=Release
cmake --build build
cmake --install build --prefix build/install

Artifact Layout

Packaged artifacts use this layout:

sqlite3/
  <platform>/<arch>/
    include/
      sqlite3.h
      sqlite3ext.h
    lib/
      libsqlite3.a
    manifest.txt

About

This project builds SQLite3 as a static library using the same SQLite compile options used by the TotalCross VM build.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors