cleaning up HLT defines
[u/mrichter/AliRoot.git] / HLT / CMakelibAliHLTComp.pkg
CommitLineData
7330f0e5 1# -*- mode: CMake -*-
947b5ea7 2# $Id$
6db31708 3#--------------------------------------------------------------------------------#
4# Package File for AliHLTComp #
5# Author : Johny Jose (johny.jose@cern.ch) #
6# Variables Defined : #
7# #
8# SRCS - C++ source files #
9# HDRS - C++ header files #
10# DHDR - ROOT Dictionary Linkdef header file #
11# CSRCS - C source files #
12# CHDRS - C header files #
13# EINCLUDE - Include directories #
14# EDEFINE - Compiler definitions #
15# ELIBS - Extra libraries to link #
16# ELIBSDIR - Extra library directories #
17# PACKFFLAGS - Fortran compiler flags for package #
18# PACKCXXFLAGS - C++ compiler flags for package #
19# PACKCFLAGS - C compiler flags for package #
20# PACKSOFLAGS - Shared library linking flags #
21# PACKLDFLAGS - Module linker flags #
22# PACKBLIBS - Libraries to link (Executables only) #
23# EXPORT - Header files to be exported #
24# CINTHDRS - Dictionary header files #
25# CINTAUTOLINK - Set automatic dictionary generation #
26# ARLIBS - Archive Libraries and objects for linking (Executables only) #
27# SHLIBS - Shared Libraries and objects for linking (Executables only) #
28#--------------------------------------------------------------------------------#
29
947b5ea7 30set ( CLASS_HDRS
31 AliHLTCompAgent.h
947b5ea7 32 )
6db31708 33
34string ( REPLACE ".h" ".cxx" MODULE_SRCS "${CLASS_HDRS}" )
35
36set ( MODULE_HDRS ${CLASS_HDRS})
37
38set ( MODULE_DHDR )
39
7330f0e5 40set ( EINCLUDE HLT/BASE HLT/shuttle HLT/TPCLib HLT/comp STEER/CDB STEER/STEERBase)
6db31708 41
947b5ea7 42set ( ELIBS "HLTbase CDB")
6db31708 43
44include ("CMakehlt.conf")
45
46if (MODULE_SRCS)
47ALICE_Format (SRCS "comp/" "" "${MODULE_SRCS}")
48endif(MODULE_SRCS)
49if (CLASS_HDRS)
50ALICE_Format (CINTHDRS "comp/" "" "${CLASS_HDRS}")
51endif(CLASS_HDRS)
52if (MODULE_HDRS)
53ALICE_Format (HDRS "comp/" "" "${MODULE_HDRS}")
54endif(MODULE_HDRS)
55if (MODULE_DHDR)
56ALICE_Format (DHDR "comp/" "" "${MODULE_DHDR}")
57endif(MODULE_DHDR)
58
59if(NOT DHDR)
60 set(CINTAUTOLINK 1)
61endif(NOT DHDR)
62
63set ( EDEFINE ${HLTDEFS})
64set ( PACKCXXFLAGS ${HLTCXXFLAGS})
65set ( PACKCFLAGS ${HLTCLFAGS})
66set ( PACKDCXXFLAGS ${HLTDCXXFLAGS})
67set ( PACKSOFLAGS ${HLTSOFLAGS})