Skip to content
Snippets Groups Projects
Commit 14e941cd authored by Steven Murray's avatar Steven Murray
Browse files

Moved EOS messages from xroot_plugins directory to eos

parent fc8c7d46
No related branches found
No related tags found
No related merge requests found
......@@ -16,6 +16,8 @@
cmake_minimum_required (VERSION 2.6)
add_subdirectory(messages)
find_package (xrootdclient REQUIRED)
include_directories (${XROOTD_INCLUDE_DIR} ${CMAKE_SOURCE_DIR})
......
......@@ -20,13 +20,11 @@ find_package(Protobuf REQUIRED)
file(GLOB ProtoFiles "${CMAKE_CURRENT_SOURCE_DIR}/*.proto")
PROTOBUF_GENERATE_CPP(ProtoSources ProtoHeaders ${ProtoFiles})
set (CTA_FRONT_END_MESSAGES_SRC_FILES
${ProtoSources})
set (CTA_FRONT_END_MESSAGES_SRC_FILES ${ProtoSources})
add_library (ctafrontendmessages SHARED
${CTA_FRONT_END_MESSAGES_SRC_FILES})
add_library (ctaeosmessages ${CTA_FRONT_END_MESSAGES_SRC_FILES})
target_link_libraries (ctafrontendmessages
target_link_libraries (ctaeosmessages
protobuf)
install (TARGETS ctafrontendmessages DESTINATION usr/${CMAKE_INSTALL_LIBDIR})
install (TARGETS ctaeosmessages DESTINATION usr/${CMAKE_INSTALL_LIBDIR})
......@@ -15,8 +15,6 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
cmake_minimum_required (VERSION 2.6)
add_subdirectory(messages)
list (APPEND CMAKE_MODULE_PATH ${PROJECT_SOURCE_DIR}/cmake)
find_package (xrootd REQUIRED)
include_directories(${CMAKE_SOURCE_DIR})
......@@ -25,7 +23,7 @@ include_directories(${CMAKE_BINARY_DIR})
include_directories(${CMAKE_SOURCE_DIR}/tapeserver)
add_library (XrdCtaOfs MODULE XrdCtaFilesystem.cpp XrdCtaFile.cpp XrdCtaDir.cpp)
target_link_libraries (XrdCtaOfs ctacatalogue ctafrontendmessages ctascheduler ctacommon protobuf ctaobjectstore cryptopp)
target_link_libraries (XrdCtaOfs ctacatalogue ctaeosmessages ctascheduler ctacommon protobuf ctaobjectstore cryptopp)
INSTALL (TARGETS XrdCtaOfs DESTINATION usr/${CMAKE_INSTALL_LIBDIR})
INSTALL (FILES xrootd-cta.cfg DESTINATION /etc/xrootd/)
......@@ -49,4 +47,4 @@ set (WRITE_NOTIFICATION_MSG_CMD_SRC_FILES
add_executable (cta-xrootd_plugins-write-notification-msg ${WRITE_NOTIFICATION_MSG_CMD_SRC_FILES})
add_dependencies (cta-xrootd_plugins-write-notification-msg generate_notification.pb.h)
target_link_libraries (cta-xrootd_plugins-write-notification-msg ctacommon ctafrontendmessages)
target_link_libraries (cta-xrootd_plugins-write-notification-msg ctacommon ctaeosmessages)
......@@ -17,9 +17,9 @@
*/
#include "common/make_unique.hpp"
#include "eos/messages/notification.pb.h"
#include "xroot_plugins/OpaqueQueryCmd.hpp"
#include "xroot_plugins/OpaqueQueryCmdLineArgs.hpp"
#include "xroot_plugins/messages/notification.pb.h"
#include <fstream>
#include <iostream>
......
......@@ -17,9 +17,9 @@
*/
#include "common/make_unique.hpp"
#include "eos/messages/notification.pb.h"
#include "xroot_plugins/WriteNotificationMsgCmd.hpp"
#include "xroot_plugins/WriteNotificationMsgCmdLineArgs.hpp"
#include "xroot_plugins/messages/notification.pb.h"
#include <fstream>
#include <iostream>
......
......@@ -28,6 +28,7 @@
#include "common/exception/Exception.hpp"
#include "common/make_unique.hpp"
#include "common/TapePool.hpp"
#include "eos/messages/notification.pb.h"
#include "objectstore/RootEntry.hpp"
#include "objectstore/BackendFactory.hpp"
#include "scheduler/LogicalLibrary.hpp"
......@@ -37,7 +38,6 @@
#include "XrdOuc/XrdOucString.hh"
#include "XrdSec/XrdSecEntity.hh"
#include "XrdVersion.hh"
#include "xroot_plugins/messages/notification.pb.h"
#include "xroot_plugins/XrdCtaFilesystem.hpp"
#include "xroot_plugins/XrdCtaFile.hpp"
#include "XrdCtaDir.hpp"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment