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