Skip to content

Commit

Permalink
moveit_ros_planning, address linking issues 1
Browse files Browse the repository at this point in the history
Still needs further work
  • Loading branch information
vmayoral committed Jun 9, 2019
1 parent bbae7e0 commit e05e309
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,10 @@ set(MOVEIT_LIB_NAME moveit_constraint_sampler_manager_loader)

add_library(${MOVEIT_LIB_NAME} SHARED src/constraint_sampler_manager_loader.cpp)
set_target_properties(${MOVEIT_LIB_NAME} PROPERTIES VERSION "${${PROJECT_NAME}_VERSION}")
target_link_libraries(${MOVEIT_LIB_NAME} ${rclcpp_LIBRARIES})
target_link_libraries(${MOVEIT_LIB_NAME}
${rclcpp_LIBRARIES}
moveit_rdf_loader
)

install(TARGETS ${MOVEIT_LIB_NAME}
ARCHIVE DESTINATION lib
Expand Down
6 changes: 5 additions & 1 deletion moveit_ros/planning/plan_execution/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,14 @@ set_target_properties(${MOVEIT_LIB_NAME} PROPERTIES VERSION "${${PROJECT_NAME}_V
ament_target_dependencies(${MOVEIT_LIB_NAME}
moveit_planning_pipeline
moveit_trajectory_execution_manager
moveit_core
moveit_planning_scene
moveit_planning_scene_monitor
rclcpp
Boost
)
class_loader
pluginlib)


install(TARGETS ${MOVEIT_LIB_NAME}
ARCHIVE DESTINATION lib
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,12 @@ set(SOURCE_FILES
)

add_library(${MOVEIT_LIB_NAME} SHARED ${SOURCE_FILES})

set_target_properties(${MOVEIT_LIB_NAME} PROPERTIES VERSION "${${PROJECT_NAME}_VERSION}")

target_link_libraries(${MOVEIT_LIB_NAME}
${Boost_LIBRARIES}
${rclcpp_LIBRARIES}
${moveit_core_LIBRARIES}
${class_loader_LIBRARIES}
)


Expand Down
5 changes: 4 additions & 1 deletion moveit_ros/planning/rdf_loader/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,11 @@ add_library(${MOVEIT_LIB_NAME} SHARED src/rdf_loader.cpp)
set_target_properties(${MOVEIT_LIB_NAME} PROPERTIES VERSION "${${PROJECT_NAME}_VERSION}")
target_link_libraries(${MOVEIT_LIB_NAME}
${Boost_LIBRARIES}
${srdf_LIBRARIES}
${srdfdom_LIBRARIES}
${urdf_LIBRARIES}
${rclcpp_LIBRARIES}
${pluginlib_LIBRARIES}
${moveit_core_LIBRARIES}
)

install(TARGETS ${MOVEIT_LIB_NAME}
Expand Down
11 changes: 10 additions & 1 deletion moveit_ros/planning/trajectory_execution_manager/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,19 @@ set(MOVEIT_LIB_NAME moveit_trajectory_execution_manager)
add_library(${MOVEIT_LIB_NAME} SHARED src/trajectory_execution_manager.cpp)
set_target_properties(${MOVEIT_LIB_NAME} PROPERTIES VERSION "${${PROJECT_NAME}_VERSION}")
ament_target_dependencies(${MOVEIT_LIB_NAME}
moveit_planning_scene_monitor moveit_robot_model_loader
moveit_planning_scene
moveit_planning_scene_monitor
moveit_robot_model_loader
moveit_robot_state
rclcpp
Boost
tinyxml_vendor
pluginlib
)
target_link_libraries(${MOVEIT_LIB_NAME}
moveit_planning_scene_monitor
moveit_robot_state
moveit_planning_scene
)

install(TARGETS ${MOVEIT_LIB_NAME}
Expand Down

0 comments on commit e05e309

Please sign in to comment.