TL;DR Sample project of libuv using CMake. Code is copied from https://github.com/nikhilm/uvbook .cmake file is from https://github.com/luvit/luv 1. get submodules git submodule update --init --recursive 2. build $ mkdir build $ cd build $ cmake .. $ make