Completely reengineered version of CMake build system (Johny)
[u/mrichter/AliRoot.git] / HLT / CMakelibHLTpendolino.pkg
1 #--------------------------------------------------------------------------------#
2 # Package File for HLTpendolino                                                  #
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
28 set ( CLASS_HDRS        AliHLTPendolino.h AliHLTPendolinoListReader.h PredictionProcessor/AliHLTPredictionProcessorInterface.h PredictionProcessor/AliHLTPendolinoLoggerOStream.h PredictionProcessor/AliHLTPredictionProcessorDummy.h PredictionProcessor/AliHLTPendolinoLogger.h PredictionProcessor/AliHLTPendolinoLoggerDump.h PredictionProcessor/HLT/AliHLTPredicProcTempMonitor.h PredictionProcessor/HLT/AliHLTPredictionProcessorHLT.h PredictionProcessor/GRP/AliHLTPredictionProcessorGRP.h PredictionProcessor/MUON/AliHLTPredictionProcessorMCH.h PredictionProcessor/MUON/AliHLTPredictionProcessorMTR.h PredictionProcessor/TPC/AliHLTDCSArray.h PredictionProcessor/TPC/AliHLTPredictionProcessorTPC.h)
29
30 string ( REPLACE ".h" ".cxx" MODULE_SRCS "${CLASS_HDRS}" )
31
32 set ( MODULE_HDRS       ${CLASS_HDRS})
33
34 set ( MODULE_DHDR )
35
36 set ( EINCLUDE          HLT/pendolino HLT/pendolino/PredictionProcessor HLT/pendolino/PredictionProcessor/GRP HLT/pendolino/PredictionProcessor/HLT HLT/pendolino/PredictionProcessor/MUON HLT/pendolino/PredictionProcessor/TPC HLT/BASE STEER TPC MUON)
37
38 set ( LIBRARY_DEP  -lHLTbase -lCDB)
39
40 include ("CMakehlt.conf")
41
42 set ( LIBHLTPENDOLINO_VERSION  0)
43
44 if (MODULE_SRCS)
45 ALICE_Format (SRCS "pendolino/" "" "${MODULE_SRCS}")
46 endif(MODULE_SRCS)
47 if (CLASS_HDRS)
48 ALICE_Format (CINTHDRS "pendolino/" "" "${CLASS_HDRS}")
49 endif(CLASS_HDRS)
50 if (MODULE_HDRS)
51 ALICE_Format (HDRS "pendolino/" "" "${MODULE_HDRS}")
52 endif(MODULE_HDRS)
53 if (MODULE_DHDR)
54 ALICE_Format (DHDR "pendolino/" "" "${MODULE_DHDR}")
55 endif(MODULE_DHDR)
56
57 if(NOT DHDR)
58   set(CINTAUTOLINK 1)
59 endif(NOT DHDR)
60
61 set ( EDEFINE  ${HLTDEFS})
62 set ( PACKCXXFLAGS  ${HLTCXXFLAGS})
63 add_definitions("-DLIBHLTPENDELINO_VERSION=${LIBHLTPENDOLINO_VERSION}")
64 set ( PACKCFLAGS  ${HLTCLFAGS})
65 set ( PACKDCXXFLAGS  ${HLTDCXXFLAGS})
66 set ( PACKSOFLAGS ${HLTSOFLAGS})