forked from humanoid-path-planner/hpp-core
-
Notifications
You must be signed in to change notification settings - Fork 1
/
CMakeLists.txt
96 lines (85 loc) · 3.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
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
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
#
# Copyright (c) 2010, 2011 CNRS
# Authors: Florent Lamiraux
#
#
# This file is part of hpp-core
# hpp-core is free software: you can redistribute it
# and/or modify it under the terms of the GNU Lesser General Public
# License as published by the Free Software Foundation, either version
# 3 of the License, or (at your option) any later version.
#
# hpp-core is distributed in the hope that it will be
# useful, but WITHOUT ANY WARRANTY; without even the implied warranty
# of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Lesser Public License for more details. You should have
# received a copy of the GNU Lesser General Public License along with
# hpp-core If not, see
# <http://www.gnu.org/licenses/>.
CMAKE_MINIMUM_REQUIRED(VERSION 2.6)
SET(CXX_DISABLE_WERROR TRUE)
INCLUDE(cmake/base.cmake)
INCLUDE(cmake/cpack.cmake)
SET(PROJECT_NAME hpp-core)
SET(PROJECT_DESCRIPTION
"Implement basic classes for canonical path planning for kinematic chains."
)
SET(PROJECT_URL "")
# Where to compile shared objects
SET(LIBRARY_OUTPUT_PATH ${PROJECT_BINARY_DIR}/lib)
SETUP_PROJECT()
# Activate hpp-util logging if requested
SET (HPP_DEBUG FALSE CACHE BOOL "trigger hpp-util debug output")
IF (HPP_DEBUG)
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DHPP_DEBUG")
ENDIF()
# Declare Headers
SET(${PROJECT_NAME}_HEADERS
include/hpp/core/basic-configuration-shooter.hh
include/hpp/core/collision-validation.hh
include/hpp/core/configuration-shooter.hh
include/hpp/core/config-projector.hh
include/hpp/core/config-validation.hh
include/hpp/core/config-validations.hh
include/hpp/core/connected-component.hh
include/hpp/core/constraint.hh
include/hpp/core/constraint-set.hh
include/hpp/core/differentiable-function.hh
include/hpp/core/diffusing-planner.hh
include/hpp/core/discretized-collision-checking.hh
include/hpp/core/distance.hh
include/hpp/core/edge.hh
include/hpp/core/fwd.hh
include/hpp/core/joint-bound-validation.hh
include/hpp/core/locked-dof.hh
include/hpp/core/node.hh
include/hpp/core/path.hh
include/hpp/core/path-optimizer.hh
include/hpp/core/path-planner.hh
include/hpp/core/path-validation.hh
include/hpp/core/path-vector.hh
include/hpp/core/plan-and-optimize.hh
include/hpp/core/problem.hh
include/hpp/core/problem-solver.hh
include/hpp/core/random-shortcut.hh
include/hpp/core/roadmap.hh
include/hpp/core/steering-method.hh
include/hpp/core/steering-method-straight.hh
include/hpp/core/straight-path.hh
include/hpp/core/weighed-distance.hh
include/hpp/core/k-d-tree.hh
include/hpp/core/system-dynamics.hh
include/hpp/core/integrate-dynamics.hh
include/hpp/core/simple-pendulum.hh
include/hpp/core/steering-statespace.hh
include/hpp/core/steering-ilqr.hh
)
ADD_REQUIRED_DEPENDENCY("hpp-util >= 3")
ADD_REQUIRED_DEPENDENCY("hpp-model >= 3")
ADD_REQUIRED_DEPENDENCY("roboptim-trajectory >= 1.0")
# Add dependency toward hpp-model library in pkg-config file.
PKG_CONFIG_APPEND_LIBS("hpp-core")
ADD_SUBDIRECTORY(src)
ADD_SUBDIRECTORY(tests)
SETUP_PROJECT_FINALIZE()
SETUP_PROJECT_CPACK()