]> git.uio.no Git - u/mrichter/AliRoot.git/blame - HLT/CMakelibAliHLTITS.pkg
coverity 20341: using auto ptr to avoid resource leak on failure
[u/mrichter/AliRoot.git] / HLT / CMakelibAliHLTITS.pkg
CommitLineData
7330f0e5 1# -*- mode: CMake -*-
947b5ea7 2# $Id$
6db31708 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
947b5ea7 30set ( 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 )
6db31708 51
52string ( REPLACE ".h" ".cxx" MODULE_SRCS "${CLASS_HDRS}" )
53
54set ( MODULE_HDRS ${CLASS_HDRS} AliHLTITSSpacePointData.h AliHLTITSClusterDataFormat.h)
55
56set ( MODULE_DHDR )
57
7330f0e5 58set ( EINCLUDE HLT/BASE HLT/BASE/util HLT/ITS HLT/TPCLib HLT/ITS/tracking HLT/ITS/clusterfinders ITS RAW STEER/STEER STEER/ESD STEER/STEERBase)
6db31708 59
947b5ea7 60set ( ELIBS "HLTbase AliHLTUtil RAWDatarec RAWDatabase ITSrec ITSbase ESD STEER STEERBase -lEG")
61
62set ( ELIBSDIR "${ROOTLIBDIR}" )
6db31708 63
64include ("CMakehlt.conf")
65
66if (MODULE_SRCS)
67ALICE_Format (SRCS "ITS/" "" "${MODULE_SRCS}")
68endif(MODULE_SRCS)
69if (CLASS_HDRS)
70ALICE_Format (CINTHDRS "ITS/" "" "${CLASS_HDRS}")
71endif(CLASS_HDRS)
72if (MODULE_HDRS)
73ALICE_Format (HDRS "ITS/" "" "${MODULE_HDRS}")
74endif(MODULE_HDRS)
75
76if(NOT DHDR)
77 set(CINTAUTOLINK 1)
78endif(NOT DHDR)
79
80set ( EDEFINE ${HLTDEFS})
81set ( PACKCXXFLAGS "${HLTCXXFLAGS} -Wshadow")
82set ( PACKCFLAGS ${HLTCLFAGS})
83set ( PACKDCXXFLAGS ${HLTDCXXFLAGS})
84set ( PACKSOFLAGS ${HLTSOFLAGS})