forked from ouster-lidar/ouster-sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
22 lines (18 loc) · 983 Bytes
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
add_executable(client_example client_example.cpp)
target_link_libraries(client_example PRIVATE OusterSDK::ouster_client)
add_executable(config_example config_example.cpp)
target_link_libraries(config_example PRIVATE OusterSDK::ouster_client)
if(TARGET OusterSDK::ouster_pcap)
add_executable(lidar_scan_example lidar_scan_example.cpp helpers.cpp)
target_link_libraries(lidar_scan_example PRIVATE OusterSDK::ouster_client OusterSDK::ouster_pcap)
add_executable(representations_example representations_example.cpp helpers.cpp)
target_link_libraries(representations_example PRIVATE OusterSDK::ouster_client OusterSDK::ouster_pcap)
else()
message(STATUS "No ouster_pcap library available; skipping examples")
endif()
if(TARGET OusterSDK::ouster_viz)
add_executable(viz_example viz_example.cpp)
target_link_libraries(viz_example PRIVATE OusterSDK::ouster_client OusterSDK::ouster_viz)
else()
message(STATUS "No ouster_viz library available; skipping examples")
endif()