CMake
Plugins use CMake as the build system. CMake should be installed during the environment setup when installing dependencies for sysrepo-dev-env.
CMake documentation is available at https://cmake.org/documentation/ (opens in a new tab).
Modules
Each plugin contains a set of needed modules/libraries/dependencies which it requires. For example, system-plugin (opens in a new tab) requires libraries like sysrepo-plugins-common, umgmt, systemd etc.
For each dependency, a CMake setup script is added in the CMakeModules/
folder. These scripts are used to find needed include
and lib
directories.