Skip to content

amarula/libcppconnman

Repository files navigation

gdbus-cpp

[TOC]

This repository should provide easy to use C++ API to communicate with the DBus using GDBus.

Configure, build, test, package ...

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.

Adding the libraries to your CMake project

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)

API reference

You can read the API reference, or generate it yourself like

cmake --workflow --preset default-documentation