Commit a8e5857f authored by Eric Cano's avatar Eric Cano
Browse files

Added explicit dependencies for header files and replaced misplaced include to...

Added explicit dependencies for header files and replaced misplaced include to ensure parallel comilation.
parent df4e894c
......@@ -11,6 +11,25 @@ set (CTAProtoFiles
PROTOBUF_GENERATE_CPP(CTAProtoSources CTAProtoHeaders ${CTAProtoFiles})
set (CTAProtoDependants objectstore/Agent.hpp
objectstore/ArchiveToFileRequest.hpp
objectstore/CreationLog.hpp
objectstore/GenericObject.hpp
objectstore/ObjectOps.cpp
objectstore/ObjectOps.hpp
objectstore/RetrieveToFileRequest.cpp
objectstore/RetrieveToFileRequest.hpp
objectstore/RootEntry.hpp
objectstore/SchedulerGlobalLock.hpp
objectstore/Tape.hpp
objectstore/TapePool.hpp
objectstore/UserIdentity.hpp)
SET_SOURCE_FILES_PROPERTIES(${CTAProtoHeaders} PROPERTIES HEADER_FILE_ONLY TRUE)
SET_SOURCE_FILES_PROPERTIES(${CTAProtoDependants}
PROPERTIES OBJECT_DEPENDS ${CTAProtoHeaders})
add_library (CTAObjectStore
${CTAProtoSources}
RootEntry.cpp
......
......@@ -20,7 +20,6 @@
#include "common/exception/Exception.hpp"
#include "scheduler/SchedulerDatabase.hpp"
#include "objectstore/DriveRegister.hpp"
#include <list>
#include <map>
......
......@@ -32,8 +32,8 @@
#include "common/archiveRoutes/ArchiveRoute.hpp"
#include "common/remoteFS/RemotePathAndStatus.hpp"
#include "common/MountControl.hpp"
#include "common/DriveState.hpp"
#include "nameserver/NameServerTapeFile.hpp"
#include "objectstore/DriveRegister.hpp"
#include "scheduler/MountType.hpp"
namespace cta {
......
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