forked from AliceO2Group/AliceO2
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
108 lines (97 loc) · 4.95 KB
/
CMakeLists.txt
File metadata and controls
108 lines (97 loc) · 4.95 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
106
107
108
# 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(CommonUtils
SOURCES src/TreeStream.cxx src/TreeStreamRedirector.cxx
src/RootChain.cxx src/CompStream.cxx src/ShmManager.cxx
src/ValueMonitor.cxx
src/StringUtils.cxx
src/ConfigurableParamReaders.cxx src/ConfigurableParamHelper.cxx src/ConfigurableParam.cxx src/RootSerializableKeyValueStore.cxx
src/KeyValParam.cxx
src/FileSystemUtils.cxx
src/FIFO.cxx
src/FileFetcher.cxx
src/VerbosityConfig.cxx
src/BoostHistogramUtils.cxx
src/NameConf.cxx
src/IRFrameSelector.cxx
src/DebugStreamer.cxx
src/DLLoaderBase.cxx
PUBLIC_LINK_LIBRARIES ROOT::Hist ROOT::Tree Boost::iostreams O2::CommonDataFormat O2::Headers
FairLogger::FairLogger O2::MathUtils TBB::tbb O2::GPUCommon)
o2_target_root_dictionary(CommonUtils
HEADERS include/CommonUtils/TreeStream.h
include/CommonUtils/TreeStreamRedirector.h
include/CommonUtils/RootChain.h
include/CommonUtils/BoostHistogramUtils.h
include/CommonUtils/ShmManager.h
include/CommonUtils/RngHelper.h
include/CommonUtils/StringUtils.h
include/CommonUtils/ValueMonitor.h
include/CommonUtils/MemFileHelper.h
include/CommonUtils/ConfigurableParam.h
include/CommonUtils/ConfigurableParamHelper.h
include/CommonUtils/ConfigurableParamReaders.h
include/CommonUtils/ConfigurationMacroHelper.h
include/CommonUtils/RootSerializableKeyValueStore.h
include/CommonUtils/KeyValParam.h
include/CommonUtils/VerbosityConfig.h
include/CommonUtils/FileFetcher.h
include/CommonUtils/DLLoaderBase.h
include/CommonUtils/NameConf.h
include/CommonUtils/IRFrameSelector.h
include/CommonUtils/DebugStreamer.h)
# Extra dictionaries only needed if tests are built
if(BUILD_TESTING)
o2_add_library(CommonUtilsTest
SOURCES src/ConfigurableParamTest.cxx
PUBLIC_LINK_LIBRARIES O2::CommonUtils)
o2_target_root_dictionary(CommonUtilsTest
HEADERS include/CommonUtils/ConfigurableParamTest.h)
endif()
o2_add_test(TreeStream
COMPONENT_NAME CommonUtils
LABELS utils
SOURCES test/testTreeStream.cxx
PUBLIC_LINK_LIBRARIES O2::CommonUtils O2::ReconstructionDataFormats)
o2_add_test(CompStream
COMPONENT_NAME CommonUtils
LABELS utils
SOURCES test/testCompStream.cxx
PUBLIC_LINK_LIBRARIES O2::CommonUtils)
o2_add_test(ValueMonitor
COMPONENT_NAME CommonUtils
LABELS utils
SOURCES test/testValueMonitor.cxx
PUBLIC_LINK_LIBRARIES O2::CommonUtils)
o2_add_test(PropertyMapIO
COMPONENT_NAME CommonUtils
LABELS utils
SOURCES test/testRootSerializableKeyValueStore.cxx
PUBLIC_LINK_LIBRARIES O2::CommonUtils)
o2_add_test(MemFileHelper
COMPONENT_NAME CommonUtils
LABELS utils
SOURCES test/testMemFileHelper.cxx
PUBLIC_LINK_LIBRARIES O2::CommonUtils)
o2_add_test(EnumFlags
COMPONENT_NAME CommonUtils
LABELS utils
SOURCES test/testEnumFlags.cxx
PUBLIC_LINK_LIBRARIES O2::CommonUtils)
o2_add_test(ConfigurableParam
COMPONENT_NAME CommonUtils
LABELS utils
SOURCES test/testConfigurableParam.cxx
PUBLIC_LINK_LIBRARIES O2::CommonUtilsTest)
o2_add_executable(treemergertool
COMPONENT_NAME CommonUtils
SOURCES src/TreeMergerTool.cxx
PUBLIC_LINK_LIBRARIES O2::CommonUtils Boost::program_options ROOT::Core)