1.1.3. Integrating into your application

This page describes how to integrate the Proximie SDK into your C++ application.

Note that the included samples demonstrate how to integrate the Proximie SDK into an application; see Included samples for details on where to find them, and how to build them.

1.1.3.1. C++ Versions

The SDK is compiled with C++ 14 to maximise compatibility balanced with modern C++ features. Future releases of the SDK should support richer C++ features such as C++ 20 coroutines and concepts.

1.1.3.2. CMake configuration

This section outlines the CMake commands used to build the SDK library, which will be required to link with it.

Packages

find_package(Boost 1.86 REQUIRED COMPONENTS filesystem url)
find_package(OpenSSL REQUIRED)
find_package(PkgConfig)
pkg_search_module(GLIB REQUIRED IMPORTED_TARGET glib-2.0)
pkg_check_modules(GSTREAMER REQUIRED IMPORTED_TARGET gstreamer-1.0)
pkg_check_modules(GST_APP REQUIRED IMPORTED_TARGET gstreamer-app-1.0)
pkg_check_modules(GST_SDP REQUIRED IMPORTED_TARGET gstreamer-sdp-1.0)
pkg_check_modules(GST_VIDEO REQUIRED IMPORTED_TARGET gstreamer-video-1.0)
pkg_check_modules(GST_WEBRTC REQUIRED IMPORTED_TARGET gstreamer-webrtc-1.0)

target_include_directories

Add the SDK include folder to the target_include_directories command.

target_compile_definitions

No additional compile definitions are required.