]>
Commit | Line | Data |
---|---|---|
85a6eaa6 | 1 | # -*- mode: CMake -*- |
2 | ||
6db31708 | 3 | #--------------------------------------------------------------------------------# |
2bfe5463 | 4 | # Package File for PWGPP # |
6db31708 | 5 | # Author : Johny Jose (johny.jose@cern.ch) # |
6 | # Variables Defined : # | |
7 | # # | |
8 | # SRCS - C++ source files # | |
9 | # HDRS - C++ header files # | |
10 | # DHDR - ROOT Dictionary Linkdef header file # | |
11 | # CSRCS - C source files # | |
12 | # CHDRS - C header files # | |
13 | # EINCLUDE - Include directories # | |
14 | # EDEFINE - Compiler definitions # | |
15 | # ELIBS - Extra libraries to link # | |
16 | # ELIBSDIR - Extra library directories # | |
17 | # PACKFFLAGS - Fortran compiler flags for package # | |
18 | # PACKCXXFLAGS - C++ compiler flags for package # | |
19 | # PACKCFLAGS - C compiler flags for package # | |
20 | # PACKSOFLAGS - Shared library linking flags # | |
21 | # PACKLDFLAGS - Module linker flags # | |
22 | # PACKBLIBS - Libraries to link (Executables only) # | |
23 | # EXPORT - Header files to be exported # | |
24 | # CINTHDRS - Dictionary header files # | |
25 | # CINTAUTOLINK - Set automatic dictionary generation # | |
26 | # ARLIBS - Archive Libraries and objects for linking (Executables only) # | |
27 | # SHLIBS - Shared Libraries and objects for linking (Executables only) # | |
28 | #--------------------------------------------------------------------------------# | |
29 | ||
85a6eaa6 | 30 | file ( GLOB SRCS1 "*.cxx" ) |
31 | file ( GLOB SRCS2 "global/*.cxx" ) | |
32 | file ( GLOB SRCS3 "cosmic/*.cxx" ) | |
33 | file ( GLOB SRCS4 "tender/*.cxx" ) | |
34 | file ( GLOB SRCS5 "HMPID/*.cxx" ) | |
35 | file ( GLOB SRCS6 "ITS/*.cxx" ) | |
36 | file ( GLOB SRCS7 "TRD/*.cxx" ) | |
37 | file ( GLOB SRCS8 "TPC/*.cxx" ) | |
38 | file ( GLOB SRCS9 "TOF/*.cxx" ) | |
39 | file ( GLOB SRCS10 "TRD/info/*.cxx" ) | |
40 | file ( GLOB SRCS11 "background/*.cxx" ) | |
41 | file ( GLOB SRCS12 "Centrality/*.cxx" ) | |
42 | file ( GLOB SRCS13 "ZDC/*.cxx" ) | |
43 | file ( GLOB SRCS14 "T0/*.cxx" ) | |
6a9e696e | 44 | file ( GLOB SRCS15 "VZERO/*PbPb.cxx" ) |
6db31708 | 45 | |
85a6eaa6 | 46 | list ( APPEND SRCS |
47 | ${SRCS1} | |
48 | ${SRCS2} | |
49 | ${SRCS3} | |
50 | ${SRCS4} | |
51 | ${SRCS5} | |
52 | ${SRCS6} | |
53 | ${SRCS7} | |
54 | ${SRCS8} | |
55 | ${SRCS9} | |
56 | ${SRCS10} | |
57 | ${SRCS11} | |
58 | ${SRCS12} | |
59 | ${SRCS13} | |
60 | ${SRCS14} | |
6a9e696e | 61 | ${SRCS15} |
85a6eaa6 | 62 | ) |
6db31708 | 63 | |
64 | string ( REPLACE ".cxx" ".h" HDRS "${SRCS}" ) | |
65 | ||
2bfe5463 | 66 | set ( DHDR PWGPPLinkDef.h) |
6db31708 | 67 | |
d0bcc11e | 68 | set ( EINCLUDE |
85a6eaa6 | 69 | TPC |
eac97971 | 70 | TPC/Base |
71 | TPC/Sim | |
72 | TPC/Rec | |
85a6eaa6 | 73 | ITS |
74 | TRD | |
75 | TOF | |
76 | TRD/Cal | |
7de42bf5 | 77 | TRD/info |
85a6eaa6 | 78 | ANALYSIS/Tender |
dba094ca | 79 | ANALYSIS |
80 | PWG/CaloTrackCorrBase | |
2bfe5463 | 81 | PWGPP/comparison |
82 | PWGPP/cosmic | |
83 | PWGPP/global | |
84 | PWGPP/tender | |
85 | PWGPP/ITS | |
86 | PWGPP/TPC | |
87 | PWGPP/TOF | |
88 | PWGPP/TRD | |
89 | PWGPP/TRD/info | |
90 | PWGPP/background | |
91 | PWGPP/Centrality | |
85a6eaa6 | 92 | HMPID |
2bfe5463 | 93 | PWGPP/ZDC |
94 | PWGPP/T0 | |
95 | PWGPP/VZERO | |
7330f0e5 | 96 | STEER/STEER |
97 | STEER/AOD | |
98 | STEER/CDB | |
99 | STEER/ESD | |
100 | STEER/STEERBase | |
85a6eaa6 | 101 | ) |
71d5ee50 | 102 | |
103 | # install macros as needed | |
104 | install ( DIRECTORY macros | |
105 | DESTINATION PWGPP | |
106 | PATTERN ".d" EXCLUDE | |
107 | PATTERN ".so" EXCLUDE) | |
108 | install ( DIRECTORY PilotTrain | |
109 | DESTINATION PWGPP/ | |
110 | PATTERN ".d" EXCLUDE | |
111 | PATTERN ".so" EXCLUDE) | |
112 | install ( FILES HMPID/AddTaskHmpidQA.C | |
113 | DESTINATION PWGPP/HMPID) | |
114 | install ( FILES T0/AddTaskT0QA.C | |
115 | DESTINATION PWGPP/T0) | |
116 | install ( FILES TOF/AddTaskTOFQA.C | |
117 | DESTINATION PWGPP/TOF) | |
118 | install ( DIRECTORY TPC/macros | |
119 | DESTINATION PWGPP/TPC | |
120 | PATTERN ".C") | |
121 | install ( DIRECTORY TRD | |
122 | DESTINATION PWGPP) | |
123 | install ( FILES ZDC/AddTaskZDCQA.C | |
124 | DESTINATION PWGPP/ZDC) | |
125 | install ( FILES PilotTrain/AddTaskMuonQA.C | |
126 | DESTINATION PWGPP/PilotTrain/ ) | |
127 | ||
128 | ||
129 | # | |
130 | # EOF | |
131 | # | |
132 |