forked from mcoquet642/AliceO2
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
64 lines (60 loc) · 3.02 KB
/
CMakeLists.txt
File metadata and controls
64 lines (60 loc) · 3.02 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
# 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(DetectorsBase
SOURCES src/Detector.cxx
src/GeometryManager.cxx
src/MaterialManager.cxx
src/Propagator.cxx
src/MatLayerCyl.cxx
src/MatLayerCylSet.cxx
src/Ray.cxx
src/BaseDPLDigitizer.cxx
src/CTFCoderBase.cxx
src/Aligner.cxx
PUBLIC_LINK_LIBRARIES FairRoot::Base
O2::CommonUtils
O2::DetectorsCommonDataFormats
O2::GPUCommon
O2::GPUUtils
O2::ReconstructionDataFormats
O2::Field
O2::Framework
FairMQ::FairMQ
O2::DataFormatsParameters
O2::SimConfig
O2::CCDB
ROOT::VMC
PRIVATE_INCLUDE_DIRECTORIES ${CMAKE_SOURCE_DIR}/GPU/GPUTracking/Merger # Must not link to avoid cyclic dependency
)
o2_target_root_dictionary(DetectorsBase
HEADERS include/DetectorsBase/Detector.h
include/DetectorsBase/GeometryManager.h
include/DetectorsBase/MaterialManager.h
include/DetectorsBase/Propagator.h
include/DetectorsBase/Ray.h
include/DetectorsBase/MatCell.h
include/DetectorsBase/MatLayerCyl.h
include/DetectorsBase/MatLayerCylSet.h
include/DetectorsBase/CTFCoderBase.h
include/DetectorsBase/Aligner.h)
if(BUILD_SIMULATION)
o2_add_test(
MatBudLUT
SOURCES test/testMatBudLUT.cxx
COMPONENT_NAME DetectorsBase
PUBLIC_LINK_LIBRARIES O2::DetectorsBase O2::ITSMFTReconstruction
LABELS detectorsbase
ENVIRONMENT O2_ROOT=${CMAKE_BINARY_DIR}/stage
VMCWORKDIR=${CMAKE_BINARY_DIR}/stage/${CMAKE_INSTALL_DATADIR})
endif()
o2_add_test_root_macro(test/buildMatBudLUT.C
PUBLIC_LINK_LIBRARIES O2::DetectorsBase
LABELS detectorsbase)