Skip to content

Maggie-M/nanodbc

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Synopsis

A very small C++ wrapper for the native C ODBC API. Please see the online documentation for user information, example usage, propaganda, and detailed source level documentation.

Building

You don't necessarily need to build nanodbc, as you can just drop the header and implementation files into your project. However I have provided CMake files which can be used to build a shared library object, or build and run the included unit tests. The CMake files will also support out of source builds. Unit tests are built using Boost.Test and therefore require Boost be installed.

Example Build Process

cd path/to/nanodbc/repository
mkdir build
cd build
cmake ..
make # creates shared library
make nanodbc # creates shared library
make tests # builds unit tests
make test # runs unit tests
make install # installs nanodbc.h and shared library

About

A very small C++ wrapper for the native C ODBC API.

Resources

Stars

Watchers

Forks

Packages

No packages published