Commit eda04835 authored by Michael Davis's avatar Michael Davis
Browse files

[cta_frontend] Instruments cta_frontend and eoscta_stub

Compile switches now applied to each target separately, cta_admin has
instrumentation switched off.
parent ace57ac1
......@@ -32,9 +32,6 @@ include_directories (${CMAKE_SOURCE_DIR}/tapeserver/)
# eosctastub is a drop-in replacement for "cta archive|retrieve|delete"
#
# Get some extra debug messages on stdout
#add_definitions(-DXRDSSI_DEBUG)
find_package(xrootd REQUIRED)
find_package(Protobuf3 REQUIRED)
find_package(cryptopp REQUIRED)
......@@ -43,6 +40,8 @@ include_directories(${PROTOBUF3_INCLUDE_DIRS} ${XROOTD_INCLUDE_DIR} ${XROOTD_INC
add_executable(eoscta_stub EosCtaStub.cpp Configuration.cpp)
target_link_libraries(eoscta_stub cryptopp XrdCtaMessages XrdSsi-4 XrdSsiLib)
set_target_properties(eoscta_stub PROPERTIES INSTALL_RPATH ${PROTOBUF3_RPATH})
# Get some extra debug messages on stdout
target_compile_definitions(eoscta_stub PUBLIC XRDSSI_DEBUG)
install(TARGETS eoscta_stub DESTINATION usr/bin)
#
......
......@@ -37,12 +37,13 @@ set_target_properties(XrdCtaOfs PROPERTIES INSTALL_RPATH ${PROTOBUF3_RPATH})
add_subdirectory(messages)
#add_definitions(-DXRDSSI_DEBUG)
include_directories(../xroot_ssi_pb)
add_library(XrdSsiCta MODULE XrdSsiCtaServiceProvider.cpp XrdSsiCtaRequestProc.cpp XrdSsiCtaRequestMessage.cpp ../cmdline/CtaAdminCmdParse.cpp)
target_link_libraries(XrdSsiCta XrdSsi-4 XrdSsiLib XrdCtaMessages ctascheduler ctacommon ctaobjectstore ctacatalogue)
set_target_properties(XrdSsiCta PROPERTIES INSTALL_RPATH ${PROTOBUF3_RPATH})
# Get some extra debug messages on stdout
target_compile_definitions(XrdSsiCta PRIVATE XRDSSI_DEBUG)
INSTALL (TARGETS XrdCtaOfs DESTINATION usr/${CMAKE_INSTALL_LIBDIR})
INSTALL (TARGETS XrdSsiCta DESTINATION usr/${CMAKE_INSTALL_LIBDIR})
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment