Code Monkey home page Code Monkey logo

sqlitecpp_example's Introduction

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 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:

sqlitecpp_example's People

Contributors

srombauts avatar srombautsu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

sqlitecpp_example's Issues

CMake build error

Following steps from README, CMake reports the following:

CMake Error at CMakeLists.txt:23 (else): A duplicate ELSE command was found inside an IF block. -- Configuring incomplete, errors occurred!
Changing line CMakeLists.txt:line 20 from:

else(UNIX AND APPLE)

to

elseif(UNIX AND APPLE)

resolves the error and is, I think, the intention of the code.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.