Completely reengineered version of CMake build system (Johny)
[u/mrichter/AliRoot.git] / HLT / CMakelibAliHLTITS.pkg
CommitLineData
6db31708 1#--------------------------------------------------------------------------------#
2# Package File for AliHLTITS #
3# Author : Johny Jose (johny.jose@cern.ch) #
4# Variables Defined : #
5# #
6# SRCS - C++ source files #
7# HDRS - C++ header files #
8# DHDR - ROOT Dictionary Linkdef header file #
9# CSRCS - C source files #
10# CHDRS - C header files #
11# EINCLUDE - Include directories #
12# EDEFINE - Compiler definitions #
13# ELIBS - Extra libraries to link #
14# ELIBSDIR - Extra library directories #
15# PACKFFLAGS - Fortran compiler flags for package #
16# PACKCXXFLAGS - C++ compiler flags for package #
17# PACKCFLAGS - C compiler flags for package #
18# PACKSOFLAGS - Shared library linking flags #
19# PACKLDFLAGS - Module linker flags #
20# PACKBLIBS - Libraries to link (Executables only) #
21# EXPORT - Header files to be exported #
22# CINTHDRS - Dictionary header files #
23# CINTAUTOLINK - Set automatic dictionary generation #
24# ARLIBS - Archive Libraries and objects for linking (Executables only) #
25# SHLIBS - Shared Libraries and objects for linking (Executables only) #
26#--------------------------------------------------------------------------------#
27
28set ( CLASS_HDRS AliHLTITStrack.h AliHLTITStracker.h AliHLTITSVertexerZ.h AliHLTITSclusterer.h AliHLTITSAgent.h AliHLTITSClusterFinderComponent.h AliHLTITSClusterHistoComponent.h AliHLTITSCompressRawDataSDDComponent.h AliHLTITSSSDQARecPointsComponent.h AliHLTITSQAComponent.h AliHLTITSDigitPublisherComponent.h tracking/AliITStrackerHLT.h tracking/AliHLTITSTrackerComponent.h tracking/AliHLTITSDetector.h tracking/AliHLTITSLayer.h tracking/AliHLTITSTrack.h clusterfinders/AliHLTITSClusterFinderSPD.h clusterfinders/AliHLTITSClusterFinderSSD.h AliHLTITSVertexerSPDComponent.h)
29
30string ( REPLACE ".h" ".cxx" MODULE_SRCS "${CLASS_HDRS}" )
31
32set ( MODULE_HDRS ${CLASS_HDRS} AliHLTITSSpacePointData.h AliHLTITSClusterDataFormat.h)
33
34set ( MODULE_DHDR )
35
36set ( EINCLUDE HLT/BASE HLT/BASE/util HLT/ITS HLT/TPCLib HLT/ITS/tracking HLT/ITS/clusterfinders ITS STEER RAW)
37
38set ( LIBRARY_DEP -lHLTbase -lAliHLTUtil -lRAWDatarec -lRAWDatabase -lITSrec -lITSbase -lESD -lSTEER -lSTEERBase -L${ROOTLIBDIR} -lEG)
39
40include ("CMakehlt.conf")
41
42if (MODULE_SRCS)
43ALICE_Format (SRCS "ITS/" "" "${MODULE_SRCS}")
44endif(MODULE_SRCS)
45if (CLASS_HDRS)
46ALICE_Format (CINTHDRS "ITS/" "" "${CLASS_HDRS}")
47endif(CLASS_HDRS)
48if (MODULE_HDRS)
49ALICE_Format (HDRS "ITS/" "" "${MODULE_HDRS}")
50endif(MODULE_HDRS)
51
52if(NOT DHDR)
53 set(CINTAUTOLINK 1)
54endif(NOT DHDR)
55
56set ( EDEFINE ${HLTDEFS})
57set ( PACKCXXFLAGS "${HLTCXXFLAGS} -Wshadow")
58set ( PACKCFLAGS ${HLTCLFAGS})
59set ( PACKDCXXFLAGS ${HLTDCXXFLAGS})
60set ( PACKSOFLAGS ${HLTSOFLAGS})