Install Homebrew
- ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
Install cmake
- brew install cmake
The C Foreign Function Interface for Python CFFI module is also required if you wish to use the Python module.
- brew install pkg-config libffi
- sudo pip install cffi
In order to build the documentation doxygen is required.
- brew install doxygen
The default build is for 32 bit machines
- mkdir Release
- cd Release
- cmake ..
- make
- make test
- make doc
- sudo make install
The build can be configured using by setting flags on the command line i.e.
- cmake -DWORD_LENGTH=64 ..
- sudo make uninstall