]> git.uio.no Git - u/mrichter/AliRoot.git/blob - HLT/CMakelibAliHLTSample.pkg
configuration 'TPC-compression-emulation' added, to be activated in separate commit
[u/mrichter/AliRoot.git] / HLT / CMakelibAliHLTSample.pkg
1 # $Id$
2 #--------------------------------------------------------------------------------#
3 # Package File for AliHLTSample                                                  #
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     AliHLTSampleComponent1.h
31     AliHLTSampleComponent2.h
32     AliHLTSampleCalibrationComponent.h
33     AliHLTSampleESDAnalysisComponent.h
34     AliHLTSampleRawAnalysisComponent.h
35     AliHLTSampleMonitoringComponent.h
36     AliHLTAgentSample.h
37     AliHLTSamplePreprocessor.h
38     AliHLTSampleOfflineSinkComponent.h
39     AliHLTDummyComponent.h
40     )
41
42 string ( REPLACE ".h" ".cxx" MODULE_SRCS "${CLASS_HDRS}" )
43
44 set ( MODULE_HDRS       ${CLASS_HDRS})
45
46 set ( MODULE_DHDR )
47
48 set ( EINCLUDE  HLT/BASE HLT/shuttle HLT/SampleLib STEER RAW)
49
50 set ( ELIBS  "HLTbase CDB STEERBase")
51
52 include ("CMakehlt.conf")
53
54 if (MODULE_SRCS)
55 ALICE_Format (SRCS "SampleLib/" "" "${MODULE_SRCS}")
56 endif(MODULE_SRCS)
57 if (CLASS_HDRS)
58 ALICE_Format (CINTHDRS "SampleLib/" "" "${CLASS_HDRS}")
59 endif(CLASS_HDRS)
60 if (MODULE_HDRS)
61 ALICE_Format (HDRS "SampleLib/" "" "${MODULE_HDRS}")
62 endif(MODULE_HDRS)
63 if (MODULE_DHDR)
64 ALICE_Format (DHDR "SampleLib/" "" "${MODULE_DHDR}")
65 endif(MODULE_DHDR)
66
67 if(NOT DHDR)
68   set(CINTAUTOLINK 1)
69 endif(NOT DHDR)
70
71 set ( EDEFINE  ${HLTDEFS})
72 string ( REGEX REPLACE "(-ansi|-pedantic-errors)" "" PACKCXXFLAGS ${CXXFLAGS})
73 string ( REGEX REPLACE "(-ansi|-pedantic-errors)" "" PACKCFLAGS ${CFLAGS})
74 string ( REPLACE "-pedantic-errors" "" PACKDCXXFLAGS ${CXXFLAGS})
75 set ( PACKSOFLAGS ${HLTSOFLAGS})