]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/CMakelibAliHLTITS.pkg
update from Marco
[u/mrichter/AliRoot.git] / HLT / CMakelibAliHLTITS.pkg
1 # -*- mode: CMake -*- 
2 # $Id$
3 #--------------------------------------------------------------------------------#
4 # Package File for AliHLTITS                                                     #
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
30 set ( CLASS_HDRS
31     AliHLTITStrack.h
32     AliHLTITStracker.h
33     AliHLTITSVertexerZ.h
34     AliHLTITSclusterer.h
35     AliHLTITSAgent.h
36     AliHLTITSClusterFinderComponent.h
37     AliHLTITSClusterHistoComponent.h
38     AliHLTITSCompressRawDataSDDComponent.h
39     AliHLTITSSSDQARecPointsComponent.h
40     AliHLTITSQAComponent.h
41     AliHLTITSDigitPublisherComponent.h
42     tracking/AliITStrackerHLT.h
43     tracking/AliHLTITSTrackerComponent.h
44     tracking/AliHLTITSDetector.h
45     tracking/AliHLTITSLayer.h
46     tracking/AliHLTITSTrack.h
47     clusterfinders/AliHLTITSClusterFinderSPD.h
48     clusterfinders/AliHLTITSClusterFinderSSD.h
49     AliHLTITSVertexerSPDComponent.h
50     )
51
52 string ( REPLACE ".h" ".cxx" MODULE_SRCS "${CLASS_HDRS}" )
53
54 set ( MODULE_HDRS       ${CLASS_HDRS} AliHLTITSSpacePointData.h AliHLTITSClusterDataFormat.h)
55
56 set ( MODULE_DHDR )
57
58 set ( EINCLUDE  HLT/BASE HLT/BASE/util HLT/ITS HLT/TPCLib HLT/ITS/tracking HLT/ITS/clusterfinders ITS RAW STEER/STEER STEER/ESD STEER/STEERBase)
59
60 set ( ELIBS  "HLTbase AliHLTUtil RAWDatarec RAWDatabase ITSrec ITSbase ESD STEER STEERBase -lEG")
61
62 set ( ELIBSDIR "${ROOTLIBDIR}" )
63
64 include ("CMakehlt.conf")
65
66 if (MODULE_SRCS)
67 ALICE_Format (SRCS "ITS/" "" "${MODULE_SRCS}")
68 endif(MODULE_SRCS)
69 if (CLASS_HDRS)
70 ALICE_Format (CINTHDRS "ITS/" "" "${CLASS_HDRS}")
71 endif(CLASS_HDRS)
72 if (MODULE_HDRS)
73 ALICE_Format (HDRS "ITS/" "" "${MODULE_HDRS}")
74 endif(MODULE_HDRS)
75
76 if(NOT DHDR)
77   set(CINTAUTOLINK 1)
78 endif(NOT DHDR)
79
80 set ( EDEFINE  ${HLTDEFS})
81 set ( PACKCXXFLAGS  "${HLTCXXFLAGS} -Wshadow")
82 set ( PACKCFLAGS  ${HLTCLFAGS})
83 set ( PACKDCXXFLAGS  ${HLTDCXXFLAGS})
84 set ( PACKSOFLAGS ${HLTSOFLAGS})