Skip to content

Commit

Permalink
[XrdCl] Add recorder plug-in.
Browse files Browse the repository at this point in the history
  • Loading branch information
simonmichal committed Jan 26, 2022
1 parent 48c3196 commit c5102d5
Show file tree
Hide file tree
Showing 6 changed files with 1,623 additions and 0 deletions.
27 changes: 27 additions & 0 deletions src/XrdApps.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ include( XRootDCommon )
# Modules
#-------------------------------------------------------------------------------
set( LIB_XRDCL_PROXY_PLUGIN XrdClProxyPlugin-${PLUGIN_VERSION} )
set( LIB_XRDCL_RECORDER_PLUGIN XrdClRecorder-${PLUGIN_VERSION} )

#-------------------------------------------------------------------------------
# Shared library version
Expand Down Expand Up @@ -177,6 +178,32 @@ set_target_properties(
INTERFACE_LINK_LIBRARIES ""
LINK_INTERFACE_LIBRARIES "" )

#-------------------------------------------------------------------------------
# XrdClRecorder library
#-------------------------------------------------------------------------------
add_library(
${LIB_XRDCL_RECORDER_PLUGIN}
MODULE
XrdApps/RecordPlugin/XrdClRecorderPlugin.cc )

target_link_libraries(${LIB_XRDCL_RECORDER_PLUGIN} XrdCl)

set_target_properties(
${LIB_XRDCL_RECORDER_PLUGIN}
PROPERTIES
INTERFACE_LINK_LIBRARIES ""
LINK_INTERFACE_LIBRARIES "" )

add_executable(
xrdreplay
XrdApps/RecordPlugin/XrdClReplay.cc )

target_link_libraries(
xrdreplay
${CMAKE_THREAD_LIBS_INIT}
XrdCl
XrdUtils )

#-------------------------------------------------------------------------------
# Install
#-------------------------------------------------------------------------------
Expand Down

0 comments on commit c5102d5

Please sign in to comment.