7330f0e5 |
1 | # -*- mode: CMake -*- |
2 | |
6db31708 |
3 | #--------------------------------------------------------------------------------# |
4 | # Package File for MUONsim # |
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 | |
7330f0e5 |
30 | set ( SRCS |
31 | AliMUON.cxx |
32 | AliMUONv1.cxx |
33 | AliMUONHit.cxx |
34 | AliMUONCommonGeometryBuilder.cxx |
35 | AliMUONSt1GeometryBuilder.cxx |
36 | AliMUONSt1GeometryBuilderV2.cxx |
37 | AliMUONSt1SpecialMotif.cxx |
38 | AliMUONSt2GeometryBuilder.cxx |
39 | AliMUONSt2GeometryBuilderV2.cxx |
40 | AliMUONSlatGeometryBuilder.cxx |
41 | AliMUONTriggerGeometryBuilder.cxx |
42 | AliMUONResponseFactory.cxx |
43 | AliMUONChamber.cxx |
44 | AliMUONChamberTrigger.cxx |
45 | AliMUONResponse.cxx |
46 | AliMUONResponseV0.cxx |
47 | AliMUONResponseTrigger.cxx |
48 | AliMUONResponseTriggerV1.cxx |
49 | AliMUONTrigger.cxx |
50 | AliMUONSDigitizerV2.cxx |
51 | AliMUONDigitizerV3.cxx |
52 | AliMUONVHitStore.cxx |
53 | AliMUONHitStoreV1.cxx |
54 | AliMUONMCDataInterface.cxx |
55 | AliMUONPedestalEventGenerator.cxx |
56 | AliMUONGainEventGenerator.cxx |
57 | AliMUONQADataMakerSim.cxx |
58 | ) |
6db31708 |
59 | |
60 | string ( REPLACE ".cxx" ".h" HDRS "${SRCS}" ) |
61 | |
62 | set ( DHDR MUONsimLinkDef.h) |
63 | |
7330f0e5 |
64 | set ( EINCLUDE RAW MUON/mapping STEER/STEER STEER/STEERBase) |
6db31708 |
65 | |
66 | if(CCMAJORV STREQUAL "4") |
67 | if(CCMINORV STREQUAL "3") |
68 | string(REGEX MATCHALL "-O[^ ]*" PACKCXXFLAGS ${CXXFLAGS}) |
69 | set ( PACKCXXFLAGS "${PACKCXXFLAGS} -O0" ) |
70 | endif(CCMINORV STREQUAL "3") |
71 | endif(CCMAJORV STREQUAL "4") |