]> git.uio.no Git - u/mrichter/AliRoot.git/blame_incremental - HLT/CMakelibAliHLTHOMER.pkg
Bug fix: AliHLTOUTRawReader
[u/mrichter/AliRoot.git] / HLT / CMakelibAliHLTHOMER.pkg
... / ...
CommitLineData
1# $Id$
2#--------------------------------------------------------------------------------#
3# Package File for AliHLTHOMER #
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 include ("CMakehlt.conf")
29
30set ( CLASS_HDRS
31 AliHLTHOMERReader.h
32 AliHLTHOMERWriter.h
33 )
34
35set ( MODULE_HDRS ${CLASS_HDRS} AliHLTHOMERData.h)
36
37string ( REPLACE ".h" ".cxx" MODULE_SRCS "${CLASS_HDRS}" )
38
39set ( MODULE_DHDR "AliHLTHOMERLinkDef.h")
40
41if (MODULE_SRCS)
42ALICE_Format (SRCS "BASE/HOMER/" "" "${MODULE_SRCS}")
43endif(MODULE_SRCS)
44if (CLASS_HDRS)
45ALICE_Format (CINTHDRS "BASE/HOMER/" "" "${CLASS_HDRS}")
46endif(CLASS_HDRS)
47if (MODULE_HDRS)
48ALICE_Format (HDRS "BASE/HOMER/" "" "${MODULE_HDRS}")
49endif(MODULE_HDRS)
50if (MODULE_DHDR)
51ALICE_Format (DHDR "BASE/HOMER/" "" "${MODULE_DHDR}")
52endif(MODULE_DHDR)
53
54if(NOT DHDR)
55 set(CINTAUTOLINK 1)
56endif(NOT DHDR)
57
58set ( EDEFINE ${HLTDEFS})
59add_definitions("-DUSE_ROOT")
60set ( PACKCXXFLAGS ${HLTCXXFLAGS})
61set ( PACKCFLAGS ${HLTCLFAGS})
62set ( PACKDCXXFLAGS ${HLTDCXXFLAGS})
63set ( CINTFLAGS ${CINTFLAGS} -DUSE_ROOT)
64