-
Notifications
You must be signed in to change notification settings - Fork 40
/
CMakeLists.txt
37 lines (29 loc) · 1.61 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
cmake_minimum_required(VERSION 3.5)
project(human-gazebo
VERSION 1.1.0)
set (HUMAN_GAZEBO_FILES humanSubject01/humanSubject01_66dof.urdf
humanSubject01/humanSubject01_48dof.urdf
humanSubject02/humanSubject02_66dof.urdf
humanSubject02/humanSubject02_48dof.urdf
humanSubject03/humanSubject03_66dof.urdf
humanSubject03/humanSubject03_48dof.urdf
humanSubject04/humanSubject04_66dof.urdf
humanSubject04/humanSubject04_48dof.urdf
humanSubject05/humanSubject05_66dof.urdf
humanSubject05/humanSubject05_48dof.urdf
humanSubject06/humanSubject06_66dof.urdf
humanSubject06/humanSubject06_48dof.urdf
humanSubject07/humanSubject07_66dof.urdf
humanSubject07/humanSubject07_48dof.urdf
humanSubject08/humanSubject08_66dof.urdf
humanSubject08/humanSubject08_48dof.urdf)
# Install human urdf models in human-gazebo directory
install(FILES ${HUMAN_GAZEBO_FILES} DESTINATION ${CMAKE_INSTALL_PREFIX}/share/${PROJECT_NAME})
# Install human urdf models in HDERviz directory for ros
install(FILES ${HUMAN_GAZEBO_FILES} DESTINATION ${CMAKE_INSTALL_PREFIX}/share/HDERviz/urdfs)
file(GLOB HUMAN_WITH_MESHES humanSubjectWithMeshes/meshes/*.stl)
# Install human urdf models with meshes in human-gazebo directory
install(FILES ${HUMAN_WITH_MESHES} DESTINATION ${CMAKE_INSTALL_PREFIX}/share/${PROJECT_NAME}/meshes)
set (HUMAN_WITH_MESHES_URDF humanSubjectWithMeshes/humanSubjectWithMesh.urdf)
# Install human urdf models with meshes in human-gazebo directory
install(FILES ${HUMAN_WITH_MESHES_URDF} DESTINATION ${CMAKE_INSTALL_PREFIX}/share/${PROJECT_NAME})