Skip to content

C++ Example project using SQLiteCpp as a Git submodule / CMake subdirectory

License

Notifications You must be signed in to change notification settings

SRombauts/SQLiteCpp_Example

Repository files navigation

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 ([email protected])

Distributed under the MIT License (MIT) (See accompanying file LICENSE.txt or copy at https://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:

About

C++ Example project using SQLiteCpp as a Git submodule / CMake subdirectory

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published