[TOC]
This repository should provide easy to use C++ API to communicate with the DBus using GDBus.
The project uses CMake presets as a way to share CMake configurations. Refer to cmake, ctest and cpack documentation for more information on the use of presets.
include(FetchContent)
FetchContent_Declare(
GDbusCpp
GIT_REPOSITORY https://github.com/amarula/libcppconnman.git
GIT_TAG vMAJOR.MINOR.PATCH
FIND_PACKAGE_ARGS MAJOR.MINOR CONFIG
)
FetchContent_MakeAvailable(GDbusCpp)
target_link_libraries(<target> <PRIVATE|PUBLIC|INTERFACE> Amarula::GDbusProxy Amarula::GConnmanDbus)You can read the API reference, or generate it yourself like
cmake --workflow --preset default-documentation