# Test target cho recovery_core contract. # Build khi cấu hình standalone và khi catkin bật test target của package. add_executable(recovery_core_plugin_loader_test plugin_loader_contract_test.cpp) target_include_directories(recovery_core_plugin_loader_test PRIVATE ${CMAKE_CURRENT_SOURCE_DIR} ${STANDALONE_INCLUDE_DIRS} ) target_link_libraries(recovery_core_plugin_loader_test PRIVATE recovery_core yaml-cpp ${Boost_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT} ${CMAKE_DL_LIBS} ) add_dependencies(recovery_core_plugin_loader_test ${RECOVERY_CORE_PLUGIN_TARGETS}) target_compile_definitions(recovery_core_plugin_loader_test PRIVATE RECOVERY_CORE_PLUGIN_DIR=\"$\" )