uvcc
libuv C++ bindings
Compiling

uvcc consists only of header files. You need just to copy files and subfolders from /src/include directory into one of the directories being searched for header files in your project and include uvcc.hpp header into your source files.

To compile bundled examples and tests use the following make goal:

make example/SOURCE_FILE_BASE_NAME test/SOURCE_FILE_BASE_NAME

where SOURCE_FILE_BASE_NAME is the base name (i.e. the name without extension) of one of the source files located in /example (or /test) subdirectory.

On Windows you can use Mingw-w64 compiler, make utility, and the command shell that are packaged with Cygwin or Msys2 projects. Then add the definition for "platform=WINDOWS" environment variable as a command line argument:

make platform=WINDOWS example/SOURCE_FILE_BASE_NAME

You will get Windows native binaries built against the libuv Windows release saved in /libuv-x64-v1.9.1.build10 subdirectory. If you don't have libuv installed in your Windows system root folder don't forget to copy libuv.dll from the saved libuv release subdirectory and put it along with the resulting executable files.

For debug builds add a non-empty definition for "DEBUG" environment variable as one of the command line arguments before specifying any make target.

make DEBUG=1 example/SOURCE_FILE_BASE_NAME

All the build results will be placed in /build/example subdirectory from the uvcc root directory.