Skip to content

Commit

Permalink
moveit_core constraint_samples - Fix whitespace in CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
ahcorde committed May 29, 2019
1 parent d71434a commit e7aa185
Showing 1 changed file with 32 additions and 32 deletions.
64 changes: 32 additions & 32 deletions moveit_core/constraint_samplers/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ add_library(${MOVEIT_LIB_NAME} SHARED
)
set_target_properties(${MOVEIT_LIB_NAME} PROPERTIES VERSION "${${PROJECT_NAME}_VERSION}")


ament_target_dependencies(${MOVEIT_LIB_NAME}
moveit_robot_state
moveit_kinematic_constraints
Expand All @@ -18,17 +17,19 @@ ament_target_dependencies(${MOVEIT_LIB_NAME}
urdf
urdfdom
urdfdom_headers
visualization_msgs)

visualization_msgs
)

target_link_libraries(${MOVEIT_LIB_NAME}
moveit_robot_trajectory
moveit_robot_state
moveit_kinematic_constraints)

moveit_kinematic_constraints
)

install(TARGETS ${MOVEIT_LIB_NAME}
LIBRARY DESTINATION lib
ARCHIVE DESTINATION lib)
ARCHIVE DESTINATION lib
)

install(DIRECTORY include/ DESTINATION include)

Expand All @@ -40,42 +41,41 @@ if(BUILD_TESTING)

include_directories(${orocos_kdl_INCLUDE_DIRS} ${angles_INCLUDE_DIRS} ${tf2_kdl_INCLUDE_DIRS} ${moveit_resources_INCLUDE_DIRS})

if(WIN32)
# set(append_library_dirs "$<TARGET_FILE_DIR:${PROJECT_NAME}>;$<TARGET_FILE_DIR:${PROJECT_NAME}_TestPlugins1>")
else()
set(append_library_dirs "${CMAKE_CURRENT_BINARY_DIR};${CMAKE_CURRENT_BINARY_DIR}/../utils;${CMAKE_CURRENT_BINARY_DIR}/../robot_state;${CMAKE_CURRENT_BINARY_DIR}/../planning_scene;${CMAKE_CURRENT_BINARY_DIR}/../robot_model;${CMAKE_CURRENT_BINARY_DIR}/../kinematics_constraint")
endif()
if(WIN32)
# set(append_library_dirs "$<TARGET_FILE_DIR:${PROJECT_NAME}>;$<TARGET_FILE_DIR:${PROJECT_NAME}_TestPlugins1>")
else()
set(append_library_dirs "${CMAKE_CURRENT_BINARY_DIR};${CMAKE_CURRENT_BINARY_DIR}/../utils;${CMAKE_CURRENT_BINARY_DIR}/../robot_state;${CMAKE_CURRENT_BINARY_DIR}/../planning_scene;${CMAKE_CURRENT_BINARY_DIR}/../robot_model;${CMAKE_CURRENT_BINARY_DIR}/../kinematics_constraint")
endif()

ament_add_gtest(test_constraint_samplers
test/test_constraint_samplers.cpp
test/pr2_arm_kinematics_plugin.cpp
test/pr2_arm_ik.cpp
)

target_include_directories(test_constraint_samplers PUBLIC
${geometry_msgs_INCLUDE_DIRS}
)
target_include_directories(test_constraint_samplers PUBLIC
${geometry_msgs_INCLUDE_DIRS}
)

target_link_libraries(test_constraint_samplers
moveit_constraint_samplers
moveit_kinematic_constraints
moveit_planning_scene
moveit_test_utils
moveit_utils
moveit_robot_state
moveit_constraint_samplers
moveit_kinematic_constraints
moveit_planning_scene
moveit_test_utils
moveit_utils
moveit_robot_state
${MOVEIT_LIB_NAME}
${angles_LIBRARIES}
${urdf_LIBRARIES}
${tf2_LIBRARIES}
${tf2_kdl_LIBRARIES}
${tf2_ros_LIBRARIES}
${kdl_parser_LIBRARIES}
${OCTOMAP_LIBRARIES}
${orcos_kdl_LIBRARIES}
${angles_LIBRARIES}
${urdf_LIBRARIES}
${tf2_LIBRARIES}
${tf2_kdl_LIBRARIES}
${tf2_ros_LIBRARIES}
${kdl_parser_LIBRARIES}
${OCTOMAP_LIBRARIES}
${orcos_kdl_LIBRARIES}
${urdfdom_LIBRARIES}
${urdfdom_headers_LIBRARIES}
${rclcpp_headers_LIBRARIES}
${geometric_shapes_LIBRARIES}
${urdfdom_headers_LIBRARIES}
${rclcpp_headers_LIBRARIES}
${geometric_shapes_LIBRARIES}
)

endif()

0 comments on commit e7aa185

Please sign in to comment.