Skip to content

About

C++ bindings for the libyang library

Resources

Stars

0 stars

Watchers

0 watching

Forks

 
 

Repository files navigation

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
    • for the minimal required version, check the CMakeLists.txt
    • during development, our master branch is CI-checked against the devel branch of libyang
  • C++23 compiler (e.g., GCC 13.x+, clang 16+)
  • CMake 3.22+
  • optionally for built-in tests, Doctest as a C++ unit test framework
  • optionally for the docs, Doxygen

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.

About

C++ bindings for the libyang library

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages