]>
Commit | Line | Data |
---|---|---|
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 | ||
30 | set ( CLASS_HDRS | |
31 | AliHLTHOMERReader.h | |
32 | AliHLTHOMERWriter.h | |
33 | ) | |
34 | ||
35 | set ( MODULE_HDRS ${CLASS_HDRS} AliHLTHOMERData.h) | |
36 | ||
37 | string ( REPLACE ".h" ".cxx" MODULE_SRCS "${CLASS_HDRS}" ) | |
38 | ||
39 | set ( MODULE_DHDR "AliHLTHOMERLinkDef.h") | |
40 | ||
41 | if (MODULE_SRCS) | |
42 | ALICE_Format (SRCS "BASE/HOMER/" "" "${MODULE_SRCS}") | |
43 | endif(MODULE_SRCS) | |
44 | if (CLASS_HDRS) | |
45 | ALICE_Format (CINTHDRS "BASE/HOMER/" "" "${CLASS_HDRS}") | |
46 | endif(CLASS_HDRS) | |
47 | if (MODULE_HDRS) | |
48 | ALICE_Format (HDRS "BASE/HOMER/" "" "${MODULE_HDRS}") | |
49 | endif(MODULE_HDRS) | |
50 | if (MODULE_DHDR) | |
51 | ALICE_Format (DHDR "BASE/HOMER/" "" "${MODULE_DHDR}") | |
52 | endif(MODULE_DHDR) | |
53 | ||
54 | if(NOT DHDR) | |
55 | set(CINTAUTOLINK 1) | |
56 | endif(NOT DHDR) | |
57 | ||
58 | set ( EDEFINE ${HLTDEFS}) | |
59 | add_definitions("-DUSE_ROOT") | |
60 | set ( PACKCXXFLAGS ${HLTCXXFLAGS}) | |
61 | set ( PACKCFLAGS ${HLTCLFAGS}) | |
62 | set ( PACKDCXXFLAGS ${HLTDCXXFLAGS}) | |
63 | set ( CINTFLAGS ${CINTFLAGS} -DUSE_ROOT) | |
64 |