From 68df92e074959c71b5819f907c47a59ee3de7df3 Mon Sep 17 00:00:00 2001 From: Nikhil Ambardar <202-nikaviator@users.noreply.git-st.inf.tu-dresden.de> Date: Wed, 28 Oct 2020 14:30:16 +0000 Subject: [PATCH] Update CMakeLists.txt --- CMakeLists.txt | 32 ++++++++++++++++++++++++++++++-- 1 file changed, 30 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index da6a225..cb41ae0 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -10,6 +10,9 @@ add_compile_options(-std=c++11) ## is used, also find other catkin packages find_package(catkin REQUIRED COMPONENTS gazebo_ros + moveit_core + moveit_visual_tools + moveit_ros_planning_interface ) ## System dependencies are found with CMake's conventions @@ -104,7 +107,12 @@ find_package(catkin REQUIRED COMPONENTS catkin_package( #INCLUDE_DIRS include #LIBRARIES robot_models - #CATKIN_DEPENDS gazebo_ros + CATKIN_DEPENDS + gazebo_ros + gazebo_ros + moveit_core + moveit_visual_tools + moveit_ros_planning_interface # DEPENDS system_lib ) @@ -143,7 +151,25 @@ include_directories( ## With catkin_make all packages are built within a single CMake context ## The recommended prefix ensures that target names across packages don't collide add_executable(appmod - src/appmod.cpp + + src/appmod.cpp + src/datalink/abstractobject.h + src/datalink/graspobject.h + src/datalink/hand.h + src/datalink/humanspace.h + src/datalink/joint.h + src/datalink/obstacle.h + src/datalink/robot.h + src/datalink/robotfpe.h + src/datalink/world.h + src/datalink/worldobject.h + src/datalink/quaternion.h + + ) + + +add_executable(testappm + src/testappm.cpp src/datalink/abstractobject.h src/datalink/graspobject.h src/datalink/hand.h @@ -170,6 +196,8 @@ add_executable(appmod ## Specify libraries to link a library or executable target against + +target_link_libraries(testappm ${catkin_LIBRARIES} ) target_link_libraries(appmod ${catkin_LIBRARIES} ) #add_dependencies(robot_models_node ${catkin_LIBRARIES}) -- GitLab