NCI is a C++ Library to develop terminal interfaces in a easy way to present your backend in a friendly way.
- You have the design documentation at NCI wiki
You will need to install CMake and Conan, using Ubuntu:
sudo apt install cmake build-essential lcov
sudo apt install doxygen plantuml
pip install conan gprof2dot cpplint
Using Fedora:
sudo dnf install make automake gcc gcc-c++ kernel-devel lcov
sudo dnf install doxygen plantuml
pip install conan gprof2dot cpplint
You can configure the project, build, run the test, and run the basic executable with the following targets:
make env-create
make test
make run
- To compile your changes once the environment is created just
make build
- To debug the library edit the
.conan/profiles/default
settingbuild_type=Debug
. - You can use your own profile using
CONAN_DEV_PROFILE=profile make build
.
All tests are in tests
folder, to run the tests make test
.
Execute any sample at build/bin
path manually.
You can check the nci wiki to know more about it.
You can generate doxygen code reference using make docs
- vgoni [email protected]