]>
Commit | Line | Data |
---|---|---|
947b5ea7 | 1 | # $Id$ |
6db31708 | 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 | ||
947b5ea7 | 31 | set ( CLASS_HDRS |
32 | AliHLTSimulation.h | |
33 | AliHLTAgentSim.h | |
34 | AliHLTOUTComponent.h | |
35 | ) | |
36 | ||
6db31708 | 37 | string ( REPLACE ".h" ".cxx" MODULE_SRCS "${CLASS_HDRS}" ) |
38 | ||
39 | set ( MODULE_HDRS ${CLASS_HDRS}) | |
40 | ||
41 | set ( MODULE_DHDR ) | |
42 | ||
43 | set ( EINCLUDE HLT/sim HLT/BASE HLT/BASE/HOMER STEER RAW) | |
44 | ||
947b5ea7 | 45 | set ( ELIBS "HLTbase STEERBase CDB STEER RAWDatarec RAWDatabase") |
6db31708 | 46 | |
47 | include ("CMakehlt.conf") | |
48 | ||
49 | if (MODULE_SRCS) | |
50 | ALICE_Format (SRCS "sim/" "" "${MODULE_SRCS}") | |
51 | endif(MODULE_SRCS) | |
52 | if (CLASS_HDRS) | |
53 | ALICE_Format (CINTHDRS "sim/" "" "${CLASS_HDRS}") | |
54 | endif(CLASS_HDRS) | |
55 | if (MODULE_HDRS) | |
56 | ALICE_Format (HDRS "sim/" "" "${MODULE_HDRS}") | |
57 | endif(MODULE_HDRS) | |
58 | if (MODULE_DHDR) | |
59 | ALICE_Format (DHDR "sim/" "" "${MODULE_DHDR}") | |
60 | endif(MODULE_DHDR) | |
61 | ||
62 | if(NOT DHDR) | |
63 | set(CINTAUTOLINK 1) | |
64 | endif(NOT DHDR) | |
65 | ||
66 | set ( EDEFINE ${HLTDEFS}) | |
67 | add_definitions("-DLIBHLTSIM_VERSION=${LIBHLTSIM_VERSION}") | |
68 | set ( PACKCXXFLAGS ${HLTCXXFLAGS} ) | |
69 | set ( PACKCFLAGS ${HLTCLFAGS}) | |
70 | set ( PACKDCXXFLAGS ${HLTDCXXFLAGS}) | |
71 | set ( PACKSOFLAGS ${HLTSOFLAGS}) |