Skip to content

Latest commit

 

History

History
33 lines (26 loc) · 1.24 KB

README.md

File metadata and controls

33 lines (26 loc) · 1.24 KB

C++ bindings for libyang

License Gerrit Zuul CI

libyang-cpp implements object-oriented bindings of the libyang library in modern C++. Object lifetimes are managed automatically via RAII.

Dependencies

  • libyang v3 - the devel branch (even for the master branch of libyang-cpp)
  • C++20 compiler (e.g., GCC 10.x+, clang 10+)
  • CMake 3.19+

Building

libyang-cpp uses CMake for building. One way of building libyang-cpp looks like this:

mkdir build
cd build
cmake ..
make
make install

Usage

Check the test suite in tests/ for usage examples.

Contributing

The development is being done on Gerrit here. Instructions on how to submit patches can be found here. GitHub Pull Requests are not used.