Skip to content

Latest commit

 

History

History
28 lines (21 loc) · 642 Bytes

INSTALL.md

File metadata and controls

28 lines (21 loc) · 642 Bytes

This project uses cmake to build.

For running the tests, you need to have nihtest.

The basic usage is

mkdir build
cd build
cmake ..
make
make test
make install

Some useful parameters you can pass to cmake with -Dparameter=value:

  • CMAKE_INSTALL_PREFIX: for setting the installation path

If you want to compile with custom CFLAGS, set them in the environment before running cmake:

CFLAGS=-DMY_CUSTOM_FLAG cmake ..

You can get verbose build output with by passing VERBOSE=1 to make.

You can also check the cmake FAQ.