Building the SDK for macOS¶
This section includes instructions for building and packaging the SDK for macOS systems as discussed next:
- Open a Terminal window and change directory to the root of the unzipped SDK package.
- Copy the SDK files to the appropriate locations.
- The CMake modules for finding the libraries within the package are located inside /usr/lib/pcoip-client/cmake. The required libraries are namespaced by PCoIPSoftClientSDK.
- To use the core APIs use the following commands on your applications CMake file for linking your application to the libraries that are needed from the SDK.
list(APPEND_CMAKE_PREFIX_PATH " /usr/lib/pcoip-client/cmake") find_package(PCoIPSoftClientSDK REQUIRED)
target_link_libraries(your_application PRIVATE PCoIPSoftClientSDK::pcoip_core )