CMakeLists.txt 649 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
cmake_minimum_required (VERSION 2.6)

include_directories(${CMAKE_CURRENT_SOURCE_DIR})
include_directories(${CMAKE_BINARY_DIR})

find_package(Protobuf)

set (CTAProtoFiles
  cta.proto)

PROTOBUF_GENERATE_CPP(CTAProtoSources CTAProtoHeaders ${CTAProtoFiles})

add_executable (tapeResourceMangerTest tapeResourceManagerTest.cpp
  ${CTAProtoSources}
15
16
17
  RootEntry.cpp
  Agent.cpp
  AgentRegister.cpp
18
19
20
21
22
23
24
25
26
27
28
  exception/Backtrace.cpp
  exception/Errnum.cpp
  exception/Exception.cpp
  exception/strerror_r_wrapper.cpp
  threading/ChildProcess.cpp
  threading/Mutex.cpp
  threading/Threading.cpp)

target_link_libraries(tapeResourceMangerTest
  protobuf
  rados)