CMakeLists.txt 1.11 KB
Newer Older
1
2
3
4
5
6
cmake_minimum_required (VERSION 2.6)

include_directories(${PROJECT_SOURCE_DIR}/tapeserver)
include_directories(${PROJECT_SOURCE_DIR}/tapeserver/h)

set(CTARAO_LIBRARY_SRCS
7
  RAOParams.cpp
8
9
10
11
12
13
14
  RAOManager.cpp
  RAOAlgorithm.cpp
  EnterpriseRAOAlgorithm.cpp
  RAOAlgorithmFactory.cpp
  EnterpriseRAOAlgorithmFactory.cpp
  LinearRAOAlgorithm.cpp
  RandomRAOAlgorithm.cpp
15
16
  NonConfigurableRAOAlgorithmFactory.cpp
  ConfigurableRAOAlgorithmFactory.cpp
17
  RAOAlgorithmFactoryFactory.cpp
18
19
20
  SLTFRAOAlgorithm.cpp
  RAOOptions.cpp
  CostHeuristic.cpp
21
  FilePositionInfos.cpp
22
23
24
  Position.cpp
  FilePositionEstimator.cpp
  InterpolationFilePositionEstimator.cpp
25
  RAOHelpers.cpp
26
  CTACostHeuristic.cpp
27
  RAOFile.cpp
28
29
30
31
32
)

add_library (ctarao SHARED
  ${CTARAO_LIBRARY_SRCS})

33
34
35
36
37
38
39
40
41
install(TARGETS ctarao DESTINATION usr/${CMAKE_INSTALL_LIBDIR})

add_library(ctatapeserverraounittests SHARED
  RAOTest.cpp)

set_property(TARGET ctatapeserverraounittests PROPERTY SOVERSION "${CTA_SOVERSION}")
set_property(TARGET ctatapeserverraounittests PROPERTY   VERSION "${CTA_LIBVERSION}")

install(TARGETS ctatapeserverraounittests DESTINATION usr/${CMAKE_INSTALL_LIBDIR})