Building¶
CMake¶
The simplest way to include the SDK is as a CMake subdirectory:
add_subdirectory(<cepton_sdk_source_dir>)
...
target_link_libraries(<target> cepton_sdk::cepton_sdk)
See CMake.
Manually¶
It is also possible to manually link to the SDK as follows:
Add the
cepton_sdk_redist/include
path.Link to the correct library binary in
cepton_sdk_redist/lib
orcepton_sdk_redist/bin
.If statically linking, define
CEPTON_SDK_STATIC
.
Windows¶
Note
It is not possible to statically link in debug mode, since the library does not ship with debug symbols.