-
Notifications
You must be signed in to change notification settings - Fork 4
/
CMakeLists.txt
27 lines (21 loc) · 1.03 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
27
# Copyright: (C) 2016 iCub Facility - Fondazione Istituto Italiano di Tecnologia
# Authors: Silvio Traversaro <[email protected]>, Francisco Andrade <[email protected]>
# CopyPolicy: Released under the terms of the GNU LGPL v2.0+
cmake_minimum_required(VERSION 2.8.9)
# Add cmake policy to resolve usage of <packagename>_ROOT
# Reference: https://cmake.org/cmake/help/latest/policy/CMP0074.html#policy:CMP0074
cmake_policy(SET CMP0074 NEW)
project(forcetorque-yarp-devices)
# Add local CMake files
list(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake")
# Find YARP and include the CMake code to compile plugins
find_package(YARP REQUIRED)
set(YARP_FORCE_DYNAMIC_PLUGINS TRUE)
# Warning: the <package> option of yarp_configure_plugins_installation should be different from the plugin names
yarp_configure_plugins_installation(forcetorque_devices_lookup)
add_subdirectory(amti)
add_subdirectory(optoforce)
add_subdirectory(ATI_Ethernet)
add_subdirectory(ftNode)
add_subdirectory(ftShoe)
add_subdirectory(ftShoeUdpWrapper)