Skip to content

Latest commit

 

History

History
54 lines (40 loc) · 1.6 KB

README.md

File metadata and controls

54 lines (40 loc) · 1.6 KB

uvxamples

Special thanks to Saúl Ibarra for the recomendation of using Cmake to build Libuv and this project, also, a huge part of this code was taken from his project txiki.js https://github.com/saghul/txiki.js

This project is just for showcasing some examples of libuv API. Read basics of libuv first.

Building:

This use CMake and Make as building tools, so we can run multiplatform!

Run FILE=fileRoute ./build.sh, yes, that's it!

Debug objects could be generated by providing the BUILD_TYPE environment variable ("Release" is the default build mode):

$ BUILD_TYPE=Debug FILE=./src/timer/timer.c ./build.sh

Buidling and running examples:

$ FILE=./src/timer/timer.c ./build.sh
$ ./build/example

Example index:

Dependencies:

  1. Cmake (at least 3.0).
  2. Make.
  3. Your preferred C compiler

PS: the content presented here is just for educational purposes.