forked from R3BRootGroup/R3BRoot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCMakeLists.txt
53 lines (48 loc) · 2.04 KB
/
CMakeLists.txt
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
# cmake-format: off
##############################################################################
# Copyright (C) 2019 GSI Helmholtzzentrum für Schwerionenforschung GmbH #
# Copyright (C) 2019-2023 Members of R3B Collaboration #
# #
# This software is distributed under the terms of the #
# GNU General Public Licence (GPL) version 3, #
# copied verbatim in the file "LICENSE". #
# #
# In applying this license GSI 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. #
##############################################################################
# cmake-format: on
set(LIBRARY_NAME R3BNeulandCalToHit)
set(LINKDEF NeulandCalToHitLinkDef.h)
set(SRCS
# cmake-format: sortable
engine/R3BNeulandLSQREngineAdaptor.cxx
engine/R3BNeulandMilleCalDataProcessor.cxx
engine/R3BNeulandMillepede.cxx
engine/R3BNeulandPredecessor.cxx
R3BNeulandCalToHitPar.cxx
R3BNeulandCalToHitParTask.cxx
R3BNeulandCalToHitTask.cxx)
set(HEADERS
# cmake-format: sortable
engine/R3BNeulandCosmicEngine.h
engine/R3BNeulandLSQREngineAdaptor.h
engine/R3BNeulandMilleCalDataProcessor.h
engine/R3BNeulandMillepede.h
engine/R3BNeulandPredecessor.h
R3BNeulandCalToHitPar.h
R3BNeulandCalToHitParTask.h
R3BNeulandCalToHitTask.h)
add_library(R3BNeulandCalToHit SHARED ${SRCS})
target_include_directories(R3BNeulandCalToHit PUBLIC ${CMAKE_CURRENT_SOURCE_DIR} engine)
target_link_libraries(
R3BNeulandCalToHit
PUBLIC R3BNeulandMapToCal R3BNeulandCalibrationLegacy
PRIVATE R3BMille)
root_generate_dictionary(
R3BNeulandCalToHit_dict
${HEADERS}
MODULE
R3BNeulandCalToHit
LINKDEF
NeulandCalToHitLinkDef.h)