Object-oriented bindings of the libnetconf2
library written in C++20. Memory is managed with RAII.
- libyang-cpp >= 1.1.0 - C++ bindings for libyang
- libnetconf2 >= 2.1.40, < 3. Last version compatible is 2.1.40
- C++20 compiler (e.g., GCC 10.x+, clang 10+)
- CMake >= 3.19
- doctest >= 2.4.8
- boost
- doxygen
libnetconf2-cpp uses CMake for building. One way of building libyang-cpp looks like this:
cmake . -B build
cmake --build build
cmake --install build
Check the test suite in tests/
for usage examples.
The development is being done on Gerrit here. Instructions on how to submit patches can be found here.