-
Notifications
You must be signed in to change notification settings - Fork 38
/
CMakeLists.txt
26 lines (21 loc) · 1.04 KB
/
CMakeLists.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Copyright (C) 2020 Istituto Italiano di Tecnologia (IIT). All rights reserved.
# This software may be modified and distributed under the terms of the
# BSD-3-Clause license.
set(H_PREFIX include/BipedalLocomotion/RobotInterface)
if (FRAMEWORK_COMPILE_RobotInterface)
add_bipedal_locomotion_library(
NAME RobotInterface
SOURCES src/IRobotControl.cpp
PUBLIC_HEADERS ${H_PREFIX}/ISensorBridge.h ${H_PREFIX}/IRobotControl.h
PUBLIC_LINK_LIBRARIES BipedalLocomotion::ParametersHandler Eigen3::Eigen
PRIVATE_LINK_LIBRARIES BipedalLocomotion::TextLogging
SUBDIRECTORIES YarpImplementation tests)
endif()
if (FRAMEWORK_COMPILE_Perception)
add_bipedal_locomotion_library(
NAME PerceptionInterface
IS_INTERFACE
PUBLIC_HEADERS ${H_PREFIX}/ICameraBridge.h ${H_PREFIX}/IPointCloudBridge.h
PUBLIC_LINK_LIBRARIES BipedalLocomotion::ParametersHandler BipedalLocomotion::System ${OpenCV_LIBS} ${PCL_LIBRARIES}
INSTALLATION_FOLDER RobotInterface)
endif()