Installing the library

C++ API

To install the C++ API, simply add the following files to your project:

  1. urll.h
  2. urll.cpp

C API

To install the C API, simply add all the C++ API files, and the following C files:

  1. curll.h
  2. curll.cpp

Unix libraries

On Unix based systems, the library needs to be linked against libdl.

Configuring

std::function support

The library offers optional std::function support when the URLL_USE_FUNCTIONAL macro is enabled.

Exporting functions out of DLL boundaries

If you want to export the symbols from the library out of a DLL, simply define the UVK_LOG_EXPORT_FROM_LIBRARY macro. Then when building the library, make sure the macro UVK_LIB_COMPILE is enabled.