# build libdebug_plugin.so add_library(debug_plugin SHARED debug_plugin.cpp) # Note: The debug plugin here uses stellar_core instead of stellar_devel, in order to output more session/packet information for development debugging. target_link_libraries(debug_plugin stellar_core toml) target_include_directories(debug_plugin PUBLIC ${CMAKE_SOURCE_DIR}/include/) set_target_properties(debug_plugin PROPERTIES LINK_FLAGS "-Wl,--version-script=${CMAKE_CURRENT_LIST_DIR}/version.map") file(COPY ./conf/ DESTINATION ./conf/)