moveit_task_constructor/demo/test/CMakeLists.txt
2021-05-28 00:44:27 +02:00

14 lines
358 B
CMake

#############
## Testing ##
#############
## Add gtest based cpp test target and link libraries
if (CATKIN_ENABLE_TESTING)
find_package(rostest REQUIRED)
add_executable(pick_place_test pick_place_test.cpp $<TARGET_OBJECTS:pick_place_task>)
target_link_libraries(pick_place_test ${catkin_LIBRARIES} gtest_main)
add_rostest(pick_place.test)
endif()