No description
- C++ 98.3%
- CMake 1.1%
- Shell 0.6%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
|
|
||
| ci | ||
| compat/experimental-iterator/experimental | ||
| debian | ||
| include/libyang-cpp | ||
| src | ||
| tests | ||
| .clang-format | ||
| .zuul.yaml | ||
| CMakeLists.txt | ||
| Doxyfile.in | ||
| libyang-cpp.pc.in | ||
| LICENSE | ||
| README.md | ||
C++ bindings for libyang
libyang-cpp implements object-oriented bindings of the libyang library in modern C++.
Object lifetimes are managed automatically via RAII.
Dependencies
- libyang v5 - the
cesnet/2026-07-09-before-v6branch (even for themasterbranch of libyang-cpp) - C++20 compiler (e.g., GCC 10.x+, clang 10+)
- CMake 3.19+
- 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.