Skip to content
Snippets Groups Projects
Commit 412d10e1 authored by Daniele Kruse's avatar Daniele Kruse
Browse files

Made a tpclient library (with the tpstat command) to be used by castor-tape-label

parent 2c0f4066
No related branches found
No related tags found
No related merge requests found
......@@ -29,10 +29,11 @@ set (LABEL_SRC_FILES
LabelCmd.cpp
LabelMain.cpp
ParsedTpLabelCommandLine.cpp)
add_executable (castor-tape-label ${LABEL_SRC_FILES} ../../../tape/Ctape_status.c ../../../tape/send2tpd.cpp ../../../tape/Ctape_errmsg.c)
add_executable (castor-tape-label ${LABEL_SRC_FILES})
target_link_libraries (castor-tape-label
castorclient
castorlegacymsg
castormediachanger)
castormediachanger
tpclient)
install (TARGETS castor-tape-label DESTINATION ${CASTOR_DEST_BIN_DIR})
CastorInstallExeManPage (castor-tape-label)
......@@ -23,6 +23,16 @@
cmake_minimum_required (VERSION 2.6)
if (${COMPILE_SERVER} STREQUAL "1")
################################################################################
# The tpclient library used by castor-tape-label
################################################################################
add_library (tpclient
Ctape_config.c
Ctape_errmsg.c
Ctape_status.c
send2tpd.cpp)
################################################################################
# Rules to build and install tpconfig
################################################################################
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment