Skip to content

Repository files navigation

ASDP_BSP

This repository contains the header files for the ASDP BSP API library. This is intended to become a submodule of any project that implements the ASDP BSP API, including the Camera Head and Camera Simulator modules. All of these should be installed along with the shared library by the parent project so that they can be found by an application that wants to build against the API.

Building stand-alone

To support the ability for a client application to build against the API, there is also a CMakeLists.txt file in this repository that can be used to build and install a dummy shared library. This library is not intended to be used for anything other than to satisfy the build requirements of a client application.

This CMakeLists.txt file can be copied into a project that implements the API and modified to build and install the actual shared library. It should include the portions that install the CMake targets along with the header files and the shared library.

Installing stand-alone

To install the library, use the make install command after genarating the makefile with CMake.

Using stand-alone

To use the library, an application configured using CMake can use the find_package command to locate the library and include the header files. The following is an example of how to use the library in a CMakeLists.txt file:

find_package(ASDP_BSP REQUIRED)

# Replace My_Module with the name of the module that is using the API.
add_executable(My_Module ${My_Module_SOURCES} ${My_Module_HEADERS})
target_link_libraries(My_Module ASDP_BSP::ASDP_BSP)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages