Home

Awesome

SQLiteC++

release license GitHub Actions Build status

SQLiteC++ (SQLiteCpp) is a smart and easy to use C++ SQLite3 wrapper.

See SQLiteC++ website on GitHub.

Keywords: sqlite, sqlite3, C, library, wrapper C++, simple example

About SQLiteC++:

SQLiteC++ offers an encapsulation around the native C APIs of SQLite, with a few intuitive and well documented C++ classes.

License:

Copyright (c) 2012-2020 Sébastien Rombauts (sebastien.rombauts@gmail.com) <a href="https://www.paypal.me/SRombauts" title="Pay Me a Beer! Donate with PayPal :)"><img src="https://www.paypalobjects.com/webstatic/paypalme/images/pp_logo_small.png" width="118"></a>

Distributed under the MIT License (MIT) (See accompanying file LICENSE.txt or copy at http://opensource.org/licenses/MIT)

Getting started

Git:

Use git to clone the repository. Then init and update submodule "SQLiteCpp".

git clone https://github.com/SRombauts/SQLiteCpp_Example.git
cd SQLiteCpp_Example
git submodule init
git submodule update

CMake and build:

Use build.bat or ./build.sh script, or cmake command line (example for Linux):

mkdir -p build
cd build

# Generate a Makefile for GCC (or Clang, depanding on CC/CXX envvar)
cmake ..

# Build (ie 'make')
cmake --build .

On Windows, you can also open the Visual Studio Solution (in the build/ subdirectory).

Run

Launch build/SQLiteCpp_Example(.exe) from the command line

How to contribute

GitHub website

The most efficient way to help and contribute to this wrapper project is to use the tools provided by GitHub: