GitHub - SRombauts/SQLiteCpp_Example: C++ Example project using SQLiteCpp as a Git submodule / CMake subdirectory (original) (raw)
SQLiteC++
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:
- please fill bug reports and feature requests here: https://github.com/SRombauts/SQLiteCpp/issues
- fork the repository, make some small changes and submit them with pull-request