Completely reengineered version of CMake build system (Johny)
[u/mrichter/AliRoot.git] / HLT / CMakelibHLTrec.pkg
CommitLineData
6db31708 1#--------------------------------------------------------------------------------#
2# Package File for HLTrec #
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 ( LIBHLTREC_VERSION 3)
29
30set ( CLASS_HDRS AliHLTReconstructor.h AliRawReaderHLT.h AliHLTOUTHomerCollection.h AliHLTEsdManagerImplementation.h AliHLTDAQInterfaceImplementation.h AliHLTOUTDigitReader.h AliHLTMiscImplementation.h AliHLTOUTRawReader.h)
31
32string ( REPLACE ".h" ".cxx" MODULE_SRCS "${CLASS_HDRS}")
33set ( MODULE_SRCS ${MODULE_SRCS} AliHLTDynamicAliLog.cxx)
34
35set ( MODULE_HDRS ${CLASS_HDRS})
36
37set ( MODULE_DHDR )
38
39set ( EINCLUDE HLT/rec HLT/BASE HLT/BASE/HOMER STEER RAW)
40
41set ( LIBRARY_DEP -lHLTbase -lCDB -lESD -lSTEERBase -lSTEER -lRAWDatarec -lRAWDatabase)
42
43include ("CMakehlt.conf")
44
45if (MODULE_SRCS)
46ALICE_Format (SRCS "rec/" "" "${MODULE_SRCS}")
47endif(MODULE_SRCS)
48if (CLASS_HDRS)
49ALICE_Format (CINTHDRS "rec/" "" "${CLASS_HDRS}")
50endif(CLASS_HDRS)
51if (MODULE_HDRS)
52ALICE_Format (HDRS "rec/" "" "${MODULE_HDRS}")
53endif(MODULE_HDRS)
54if (MODULE_DHDR)
55ALICE_Format (DHDR "rec/" "" "${MODULE_DHDR}")
56endif(MODULE_DHDR)
57
58if(NOT DHDR)
59 set(CINTAUTOLINK 1)
60endif(NOT DHDR)
61
62set ( EDEFINE ${HLTDEFS})
63set ( PACKCXXFLAGS ${HLTCXXFLAGS} )
64add_definitions("-DLIBHLTREC_VERSION=${LIBHLTREC_VERSION}")
65set ( PACKCFLAGS ${HLTCLFAGS})
66set ( PACKDCXXFLAGS ${HLTDCXXFLAGS})
67set ( PACKSOFLAGS ${HLTSOFLAGS})