eliminating resource leaks, implementing data specification for RawReaderPublisher...
[u/mrichter/AliRoot.git] / HLT / CMakelibHLTsim.pkg
1 # $Id: CMakelibHLTsim.pkg 46803 2011-01-28 22:12:12Z richterm $
2 #--------------------------------------------------------------------------------#
3 # Package File for HLTsim                                                        #
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 ( LIBHLTSIM_VERSION  "1")
30
31 set ( CLASS_HDRS        AliHLTSimulation.h AliHLTAgentSim.h AliHLTOUTComponent.h)
32 string ( REPLACE ".h" ".cxx" MODULE_SRCS "${CLASS_HDRS}" )
33
34 set ( MODULE_HDRS       ${CLASS_HDRS})
35
36 set ( MODULE_DHDR )
37
38 set ( EINCLUDE  HLT/sim HLT/BASE HLT/BASE/HOMER STEER RAW)
39
40 set ( LIBRARY_DEP  -lHLTbase -lSTEERbase -lCDB -lSTEER -lRAWDatarec -lRAWDatabase)
41
42 include ("CMakehlt.conf")
43
44 if (MODULE_SRCS)
45 ALICE_Format (SRCS "sim/" "" "${MODULE_SRCS}")
46 endif(MODULE_SRCS)
47 if (CLASS_HDRS)
48 ALICE_Format (CINTHDRS "sim/" "" "${CLASS_HDRS}")
49 endif(CLASS_HDRS)
50 if (MODULE_HDRS)
51 ALICE_Format (HDRS "sim/" "" "${MODULE_HDRS}")
52 endif(MODULE_HDRS)
53 if (MODULE_DHDR)
54 ALICE_Format (DHDR "sim/" "" "${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 add_definitions("-DLIBHLTSIM_VERSION=${LIBHLTSIM_VERSION}")
63 set ( PACKCXXFLAGS  ${HLTCXXFLAGS} )
64 set ( PACKCFLAGS  ${HLTCLFAGS})
65 set ( PACKDCXXFLAGS  ${HLTDCXXFLAGS})
66 set ( PACKSOFLAGS ${HLTSOFLAGS})