forked from ihmcrobotics/ihmc-ros-control
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathCMakeLists.txt
38 lines (28 loc) · 935 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
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
cmake_minimum_required(VERSION 2.8.3)
project(ihmc_ros_control)
add_definitions(-std=c++11)
find_package(catkin REQUIRED COMPONENTS
controller_interface
hardware_interface
effort_controllers
)
set(CMAKE_BUILD_TYPE RelWithDebInfo)
catkin_package(LIBRARIES ${PROJECT_NAME})
find_package(JNI REQUIRED)
include_directories(include ${JNI_INCLUDE_DIRS} ${catkin_INCLUDE_DIRS})
add_subdirectory(csrc)
install(FILES ${PROJECT_SOURCE_DIR}/whole_robot_controller_plugin.xml
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
)
install(DIRECTORY csrc/jvmLauncher/
DESTINATION ${CATKIN_GLOBAL_INCLUDE_DESTINATION}/jvmLauncher
FILES_MATCHING PATTERN "*.h"
)
install(DIRECTORY csrc/ros_controllers/
DESTINATION ${CATKIN_GLOBAL_INCLUDE_DESTINATION}/ros_controllers
FILES_MATCHING PATTERN "*.h"
)
install(DIRECTORY launch/
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}/launch
FILES_MATCHING PATTERN "*.launch"
)