forked from vikashplus/franka_sim
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathCMakeLists.txt
23 lines (15 loc) · 1.05 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
cmake_minimum_required(VERSION 3.1)
project(mc_panda_mujoco VERSION 1.0.0)
find_package(mc_mujoco REQUIRED)
find_package(mc_panda REQUIRED)
set(SHARE_DESTINATION "${CMAKE_INSTALL_PREFIX}/share/mc_panda/mujoco/")
install(DIRECTORY meshes DESTINATION "${SHARE_DESTINATION}")
install(FILES panda_default.xml DESTINATION "${SHARE_DESTINATION}")
install(FILES panda_foot.xml DESTINATION "${SHARE_DESTINATION}")
install(FILES panda_hand.xml DESTINATION "${SHARE_DESTINATION}")
configure_file(mc_mujoco/panda_hand.in.yaml "${CMAKE_CURRENT_BINARY_DIR}/panda_hand.yaml")
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/panda_hand.yaml" DESTINATION "${MC_MUJOCO_SHARE_DESTINATION}")
configure_file(mc_mujoco/panda_default.in.yaml "${CMAKE_CURRENT_BINARY_DIR}/panda_default.yaml")
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/panda_default.yaml" DESTINATION "${MC_MUJOCO_SHARE_DESTINATION}")
configure_file(mc_mujoco/panda_foot.in.yaml "${CMAKE_CURRENT_BINARY_DIR}/panda_foot.yaml")
install(FILES "${CMAKE_CURRENT_BINARY_DIR}/panda_foot.yaml" DESTINATION "${MC_MUJOCO_SHARE_DESTINATION}")