forked from AliceO2Group/AliceO2
-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
105 lines (90 loc) · 3.8 KB
/
CMakeLists.txt
File metadata and controls
105 lines (90 loc) · 3.8 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
# Copyright 2019-2020 CERN and copyright holders of ALICE O2.
# See https://alice-o2.web.cern.ch/copyright for details of the copyright holders.
# All rights not expressly granted are reserved.
#
# This software is distributed under the terms of the GNU General Public
# License v3 (GPL Version 3), copied verbatim in the file "COPYING".
#
# In applying this license CERN does not waive the privileges and immunities
# granted to it by virtue of its status as an Intergovernmental Organization
# or submit itself to any jurisdiction.
o2_add_library(CCDB
SOURCES src/CcdbApi.cxx
src/CCDBDownloader.cxx
src/BasicCCDBManager.cxx
src/CCDBTimeStampUtils.cxx
src/IdPath.cxx src/CCDBQuery.cxx
PUBLIC_LINK_LIBRARIES CURL::libcurl
ROOT::Hist
O2::CommonUtils
FairMQ::FairMQ
libjalien::libjalienO2
LibUV::LibUV
O2::Framework
TARGETVARNAME targetName)
o2_target_root_dictionary(CCDB
HEADERS
include/CCDB/CcdbApi.h
include/CCDB/CcdbObjectInfo.h
include/CCDB/TObjectWrapper.h
include/CCDB/IdPath.h
include/CCDB/BasicCCDBManager.h
include/CCDB/CCDBTimeStampUtils.h
include/CCDB/CCDBQuery.h
include/CCDB/CCDBDownloader.h)
o2_add_executable(inspectccdbfile
COMPONENT_NAME ccdb
SOURCES src/InspectCCDBFile.cxx
PUBLIC_LINK_LIBRARIES O2::CCDB)
o2_add_executable(upload
COMPONENT_NAME ccdb
SOURCES src/UploadTool.cxx
PUBLIC_LINK_LIBRARIES O2::CCDB)
o2_add_executable(cleansemaphores
COMPONENT_NAME ccdb
SOURCES src/CleanCCDBSemaphores.cxx
PUBLIC_LINK_LIBRARIES O2::CCDB)
o2_add_executable(downloadccdbfile
COMPONENT_NAME ccdb
SOURCES src/DownloadCCDBFile.cxx
PUBLIC_LINK_LIBRARIES O2::CCDB)
o2_add_test(CcdbApi
SOURCES test/testCcdbApi.cxx
COMPONENT_NAME ccdb
PUBLIC_LINK_LIBRARIES O2::CCDB
LABELS ccdb)
o2_add_test(CcdbApiConfigParam
SOURCES test/testCcdbApi_ConfigParam.cxx
COMPONENT_NAME ccdb
PUBLIC_LINK_LIBRARIES O2::CCDB O2::DetectorsVertexing
LABELS ccdb)
o2_add_test(CcdbApi-Alien
SOURCES test/testCcdbApi_alien.cxx
COMPONENT_NAME ccdb
PUBLIC_LINK_LIBRARIES O2::CCDB
LABELS ccdb)
o2_add_test(BasicCCDBManager
SOURCES test/testBasicCCDBManager.cxx
COMPONENT_NAME ccdb
PUBLIC_LINK_LIBRARIES O2::CCDB
LABELS ccdb)
o2_add_test(CcdbApiMultipleUrls
SOURCES test/testCcdbApiMultipleUrls.cxx
COMPONENT_NAME ccdb
PUBLIC_LINK_LIBRARIES O2::CCDB
LABELS ccdb)
o2_add_test(CcdbDownloader
SOURCES test/testCcdbApiDownloader.cxx
COMPONENT_NAME ccdb
PUBLIC_LINK_LIBRARIES O2::CCDB
LABELS ccdb)
o2_add_test(CcdbApi-Headers
SOURCES test/testCcdbApiHeaders.cxx
COMPONENT_NAME ccdb
PUBLIC_LINK_LIBRARIES O2::CCDB
LABELS ccdb)
# extra CcdbApi test which dispatches to CCDBDownloader (tmp until full move done)
#o2_add_test_command(NAME CcdbApi-MultiHandle
# WORKING_DIRECTORY ${SIMTESTDIR}
# COMMAND ${CMAKE_BINARY_DIR}/stage/tests/o2-test-ccdb-CcdbApi
# ENVIRONMENT "ALICEO2_ENABLE_MULTIHANDLE_CCDBAPI=1")