]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/CMakelibAliHLTITS.pkg
coverity warning 16819 fixed
[u/mrichter/AliRoot.git] / HLT / CMakelibAliHLTITS.pkg
1 # $Id$
2 #--------------------------------------------------------------------------------#
3 # Package File for AliHLTITS                                                     #
4 # Author : Johny Jose (johny.jose@cern.ch)                                       #
5 # Variables Defined :                                                            #
6 #                                                                                #
7 # SRCS - C++ source files                                                        #
8 # HDRS - C++ header files                                                        #
9 # DHDR - ROOT Dictionary Linkdef header file                                     #
10 # CSRCS - C source files                                                         #
11 # CHDRS - C header files                                                         #
12 # EINCLUDE - Include directories                                                 #
13 # EDEFINE - Compiler definitions                                                 #
14 # ELIBS - Extra libraries to link                                                #
15 # ELIBSDIR - Extra library directories                                           #
16 # PACKFFLAGS - Fortran compiler flags for package                                #
17 # PACKCXXFLAGS - C++ compiler flags for package                                  #
18 # PACKCFLAGS - C compiler flags for package                                      #
19 # PACKSOFLAGS - Shared library linking flags                                     #
20 # PACKLDFLAGS - Module linker flags                                              #
21 # PACKBLIBS - Libraries to link (Executables only)                               #
22 # EXPORT - Header files to be exported                                           #
23 # CINTHDRS - Dictionary header files                                             #
24 # CINTAUTOLINK - Set automatic dictionary generation                             #
25 # ARLIBS - Archive Libraries and objects for linking (Executables only)          #
26 # SHLIBS - Shared Libraries and objects for linking (Executables only)           #
27 #--------------------------------------------------------------------------------#
28
29 set ( CLASS_HDRS
30     AliHLTITStrack.h
31     AliHLTITStracker.h
32     AliHLTITSVertexerZ.h
33     AliHLTITSclusterer.h
34     AliHLTITSAgent.h
35     AliHLTITSClusterFinderComponent.h
36     AliHLTITSClusterHistoComponent.h
37     AliHLTITSCompressRawDataSDDComponent.h
38     AliHLTITSSSDQARecPointsComponent.h
39     AliHLTITSQAComponent.h
40     AliHLTITSDigitPublisherComponent.h
41     tracking/AliITStrackerHLT.h
42     tracking/AliHLTITSTrackerComponent.h
43     tracking/AliHLTITSDetector.h
44     tracking/AliHLTITSLayer.h
45     tracking/AliHLTITSTrack.h
46     clusterfinders/AliHLTITSClusterFinderSPD.h
47     clusterfinders/AliHLTITSClusterFinderSSD.h
48     AliHLTITSVertexerSPDComponent.h
49     )
50
51 string ( REPLACE ".h" ".cxx" MODULE_SRCS "${CLASS_HDRS}" )
52
53 set ( MODULE_HDRS       ${CLASS_HDRS} AliHLTITSSpacePointData.h AliHLTITSClusterDataFormat.h)
54
55 set ( MODULE_DHDR )
56
57 set ( EINCLUDE  HLT/BASE HLT/BASE/util HLT/ITS HLT/TPCLib HLT/ITS/tracking HLT/ITS/clusterfinders ITS STEER RAW)
58
59 set ( ELIBS  "HLTbase AliHLTUtil RAWDatarec RAWDatabase ITSrec ITSbase ESD STEER STEERBase -lEG")
60
61 set ( ELIBSDIR "${ROOTLIBDIR}" )
62
63 include ("CMakehlt.conf")
64
65 if (MODULE_SRCS)
66 ALICE_Format (SRCS "ITS/" "" "${MODULE_SRCS}")
67 endif(MODULE_SRCS)
68 if (CLASS_HDRS)
69 ALICE_Format (CINTHDRS "ITS/" "" "${CLASS_HDRS}")
70 endif(CLASS_HDRS)
71 if (MODULE_HDRS)
72 ALICE_Format (HDRS "ITS/" "" "${MODULE_HDRS}")
73 endif(MODULE_HDRS)
74
75 if(NOT DHDR)
76   set(CINTAUTOLINK 1)
77 endif(NOT DHDR)
78
79 set ( EDEFINE  ${HLTDEFS})
80 set ( PACKCXXFLAGS  "${HLTCXXFLAGS} -Wshadow")
81 set ( PACKCFLAGS  ${HLTCLFAGS})
82 set ( PACKDCXXFLAGS  ${HLTDCXXFLAGS})
83 set ( PACKSOFLAGS ${HLTSOFLAGS})