# build libdebug_plugin.so add_library(debug_plugin SHARED debug_plugin.c) target_link_libraries(debug_plugin stellar_lib session_manager packet_parser) target_include_directories(debug_plugin PUBLIC ${CMAKE_SOURCE_DIR}/include/) target_include_directories(debug_plugin PUBLIC ${CMAKE_SOURCE_DIR}/infra/core/utils) set_target_properties(debug_plugin PROPERTIES LINK_FLAGS "-Wl,--version-script=${CMAKE_CURRENT_LIST_DIR}/version.map") file(COPY ./conf/ DESTINATION ./conf/)