mirror of
https://github.com/moveit/moveit_task_constructor.git
synced 2025-11-04 14:49:57 +08:00
14 lines
358 B
CMake
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()
|