Summary
SQLite is designed to integrate into a wide variety of code bases on a broad range of platforms. This flexibility provides a great number of options, even for the most basic situations. While flexibility is usually a good thing, it can make for a lot of confusion when you’re first trying to figure things out.
If you’re just starting out, and all you need is a copy
of the sqlite3
shell, don’t get too
caught up in all the advanced build techniques. You can download one of the
precompiled executables or build
your own with the one-line commands provided in this chapter. That will get
you started.
As your needs evolve, you may need a more specific build
of sqlite3
, or you may start to look at
integrating the SQLite library into your own application. At that point you
can try out different build techniques and see what best matches your needs
and build environment.
While the amalgamation is a somewhat unusual form for source distribution, it has proven itself to be quite useful and well suited for integrating SQLite into larger projects with the minimal amount of fuss. It is also the only officially supported source distribution format. It works well for the majority of projects.
Get Using SQLite now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.