Build instructions:
On the toplevel directory create a "build" directory and change into it
mkdir build
cd build
Run CMake
Linux/Unix based:
cmake -DSCRIPT_INSTALL_DIR=/path/to/your/script/folder ..
Windows specific:
cmake -G "MinGW Makefiles" -DSCRIPT_INSTALL_DIR=D:\\Path\\to\\your\\dir ..
Depending on your setup it may be needed to run the command twice as cmake doesn't find your build environment on first run
Debug:
append -DDebug=true to the cmake arguments before the ..
Unit tests:
append -DTest=true to the cmake arguments before the ..
Run make (where x is the number of cpu cores + 1)
make -jx
Run Dinjam
../bin/dinjam