forked from ami-iit/bipedal-locomotion-framework
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
66 lines (57 loc) · 1.65 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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# 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.
if (FRAMEWORK_COMPILE_Planners)
set(H_PREFIX include/BipedalLocomotion/Planners)
add_bipedal_locomotion_library(
NAME Planners
PUBLIC_HEADERS
${H_PREFIX}/ConvexHullHelper.h
${H_PREFIX}/DCMPlanner.h
${H_PREFIX}/TimeVaryingDCMPlanner.h
${H_PREFIX}/Spline.h
${H_PREFIX}/QuinticSpline.h
${H_PREFIX}/SO3Planner.h
${H_PREFIX}/SO3Planner.tpp
${H_PREFIX}/SwingFootPlanner.h
${H_PREFIX}/CubicSpline.h
SOURCES
src/ConvexHullHelper.cpp
src/DCMPlanner.cpp
src/TimeVaryingDCMPlanner.cpp
src/QuinticSpline.cpp
src/SwingFootPlanner.cpp
src/CubicSpline.cpp
PUBLIC_LINK_LIBRARIES
Eigen3::Eigen
BipedalLocomotion::ParametersHandler
BipedalLocomotion::System
BipedalLocomotion::Contacts
PRIVATE_LINK_LIBRARIES
Qhull::qhull_r
casadi
iDynTree::idyntree-core
BipedalLocomotion::Math
BipedalLocomotion::TextLogging
INSTALLATION_FOLDER Planners)
add_subdirectory(tests)
endif()
if (FRAMEWORK_COMPILE_Unicycle)
set(H_PREFIX include/BipedalLocomotion/Planners)
add_bipedal_locomotion_library(
NAME Unicycle
PUBLIC_HEADERS
${H_PREFIX}/UnicyclePlanner.h
SOURCES
src/UnicyclePlanner.cpp
PUBLIC_LINK_LIBRARIES
BipedalLocomotion::ParametersHandler
BipedalLocomotion::System
BipedalLocomotion::Contacts
Eigen3::Eigen
PRIVATE_LINK_LIBRARIES
BipedalLocomotion::TextLogging
iDynTree::idyntree-core
UnicyclePlanner
INSTALLATION_FOLDER Planners)
endif()