CMakeLists.txt 1.2 KB
Newer Older
1
add_executable(tapeserverd
Steven Murray's avatar
Steven Murray committed
2
  AdminAcceptHandler.cpp
3
  DebugMountSessionForVdqmProtocol.cpp
4
  DriveCatalogue.cpp
Steven Murray's avatar
Steven Murray committed
5
6
  Rmc.cpp
  RmcImpl.cpp
7
  ScsiLibraryDriveName.cpp
8
9
10
11
12
  TapeDaemon.cpp
  TapeDaemonMain.cpp
  Vdqm.cpp
  VdqmAcceptHandler.cpp
  VdqmConnectionHandler.cpp
13
14
15
  VdqmImpl.cpp
  Vmgr.cpp
  VmgrImpl.cpp)
16

17
18
19
20
21
22
23
24
target_link_libraries(tapeserverd
  Exception
  SCSI
  System
  Utils
  File
  castorcommon
  castorclient
25
  castortapegatewayprotocol
26
  castortapelegacymsg)
27

28
29
30
31
32
33
install (TARGETS tapeserverd DESTINATION ${CASTOR_DEST_BIN_DIR})
CastorInstallAdmManPage (tapeserverd)
CastorInstallLogrotate (castor-tapeserver-server)
CastorInstallSysconfigExample (tapeserverd)
CastorInstallInitScript (tapeserverd)

David COME's avatar
David COME committed
34
add_library(tapeserver 
35
  ../client/ClientProxy.cpp 
David COME's avatar
David COME committed
36
37
38
  MountSession.cpp 
  RecallTaskInjector.cpp 
  MigrationReportPacker.cpp 
39
  RecallReportPacker.cpp
40
41
  DiskWriteThreadPool.cpp
  DiskReadThreadPool.cpp
42
  TapeWriteTask.cpp
43
  DiskReadTask.cpp
44
  DiskWriteTask.cpp
45
46
47
  MigrationTaskInjector.cpp
  MigrationMemoryManager.cpp
  RecallMemoryManager.cpp) 
48
49
50


add_library(tapeserverdTest 
51
  ../client/ClientSimulator.cpp 
52
53
54
  ../../tpcp/TpcpCommand.cpp
  ../../tpcp/StreamOperators.cpp
  ../../tpcp/Helper.cpp
Steven Murray's avatar
Steven Murray committed
55
  ../../tpcp/TapeFseqRange.cpp)