]>
Commit | Line | Data |
---|---|---|
da32329d AM |
1 | # -*- mode: CMake -*- |
2 | #--------------------------------------------------------------------------------# | |
3 | # Package File for pythia8 # | |
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 ( SRCS | |
30 | starlight/src/bessel.cpp | |
31 | starlight/src/beam.cpp | |
32 | starlight/src/inputParameters.cpp | |
33 | starlight/src/beambeamsystem.cpp | |
34 | starlight/src/starlightparticle.cpp | |
35 | starlight/src/gammaaluminosity.cpp | |
36 | starlight/src/randomgenerator.cpp | |
37 | starlight/src/nucleus.cpp | |
38 | starlight/src/eventchannel.cpp | |
39 | starlight/src/gammaavm.cpp | |
40 | starlight/src/psifamily.cpp | |
41 | starlight/src/gammagammasingle.cpp | |
42 | starlight/src/photonNucleusCrossSection.cpp | |
43 | starlight/src/wideResonanceCrossSection.cpp | |
44 | starlight/src/narrowResonanceCrossSection.cpp | |
45 | starlight/src/readinluminosity.cpp | |
46 | starlight/src/twophotonluminosity.cpp | |
47 | starlight/src/gammagammaleptonpair.cpp | |
48 | starlight/src/starlight.cpp | |
49 | starlight/src/upcevent.cpp | |
50 | starlight/src/vector3.cpp | |
51 | starlight/src/lorentzvector.cpp | |
52 | starlight/src/filewriter.cpp | |
53 | starlight/src/eventfilewriter.cpp | |
54 | starlight/src/starlightparticlecodes.cpp | |
55 | starlight/src/starlightStandalone.cpp | |
56 | starlight/src/nBodyPhaseSpaceGen.cpp | |
57 | starlight/src/inputParser.cpp | |
58 | starlight/src/incoherentPhotonNucleusLuminosity.cpp | |
59 | starlight/src/incoherentVMCrossSection.cpp | |
60 | ) | |
61 | ||
62 | set (EINCLUDE STARLIGHT/starlight/include) | |
63 | ||
64 | set (Starlight_VERSION_MAJOR 9999) | |
65 | set (Starlight_VERSION_MINOR 1) | |
66 | set (Starlight_VERSION_MINOR_MINOR 0) | |
67 | ||
68 | configure_file ( | |
69 | "${PROJECT_SOURCE_DIR}/STARLIGHT/starlight/starlightconfig.h.in" | |
70 | "${PROJECT_SOURCE_DIR}/STARLIGHT/starlight/include/starlightconfig.h" | |
71 | ) | |
72 | ||
73 | ||
74 | if( ALICE_TARGET STREQUAL "macosxicc") | |
75 | ||
76 | string (REGEX REPLACE "-O[^ ]*" "" "$(FFLAGS}") | |
77 | ||
78 | endif( ALICE_TARGET STREQUAL "macosxicc") | |
79 | ||
80 | string(REPLACE "-Weffc++" "" PACKCXXFLAGS ${CXXFLAGS}) | |
81 | ||
82 | string(REPLACE "-Weffc++" "" PACKDCXXFLAGS ${CXXFLAGSNO}) | |
0e1bd874 | 83 | |
84 | string(REPLACE "-Wshadow" "-Wno-shadow" PACKCXXFLAGS ${PACKCXXFLAGS}) | |
85 | string(REPLACE "-Wshadow" "-Wno-shadow" PACKDCXXFLAGS ${PACKDCXXFLAGS}) |