SRombauts / SQLiteCpp_Example

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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)

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:

About

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

License:MIT License


Languages

Language:C++ 60.8%Language:CMake 21.5%Language:Batchfile 9.9%Language:Shell 7.8%