moveit_task_constructor/demo/test/CMakeLists.txt
v4hn 47d20984ae simplify test specification
before anyone starts copying from here...
2021-09-20 23:07:00 +02:00

12 lines
332 B
CMake

#############
## Testing ##
#############
## Add gtest based cpp test target and link libraries
if (CATKIN_ENABLE_TESTING)
find_package(rostest REQUIRED)
add_rostest_gtest(pick_place_test pick_place.test pick_place_test.cpp)
target_link_libraries(pick_place_test ${PROJECT_NAME}_pick_place_task ${catkin_LIBRARIES})
endif()