Here are all examples explained in my blog post.
- C Compiler (GCC or Clang)
- CMake >= 2.8
- Lua Development Library
Inside the repository, create a build
directory and change to the directory:
mkdir build
cd build
Inside build
directory use cmake
to generate de project files:
cmake ..
Inside build folder you will find the projects for your IDE ou building tools, in my case there is a Makefile
:
make
After compiling you will find inside build/examples
all examples ready for use.
You can find other cmake
options here.
MIT.