To setup a machine:
Install Check: Check was not in the apt repositories at the time of this writing. To install check, I had to install from sources.
http://check.sourceforge.net/web/install.html#linuxsource
-
Download the latest source: https://sourceforge.net/projects/check/files/latest/download
-
Extract the package to a directory
-
Run these commands: ./configure make make check (<-- This step can take several minutes due to testing) sudo make install
-
Make sure libcheck is in your library path sudo ldconfig
Install ATOM editor (optional): I was not happy with vim or emacs so I installed the Atom editor.
To build the project:
- Go to the project root directory which contains "makefile"
- Clean the project: make clean
- Run tests: make test
- Build kata: make all
To run the project: ./kata