Completely reengineered version of CMake build system (Johny)
[u/mrichter/AliRoot.git] / EVGEN / CMakelibEVGEN.pkg
1 #--------------------------------------------------------------------------------#
2 # Package File for EVGEN                                                         #
3 # Author : Johny Jose (johny.jose@cern.ch)                                       #
4 # Variables Defined :                                                            #
5 #                                                                                #
6 # SRCS - C++ source files                                                        #
7 # HDRS - C++ header files                                                        #
8 # DHDR - ROOT Dictionary Linkdef header file                                     #
9 # CSRCS - C source files                                                         #
10 # CHDRS - C header files                                                         #
11 # EINCLUDE - Include directories                                                 #
12 # EDEFINE - Compiler definitions                                                 #
13 # ELIBS - Extra libraries to link                                                #
14 # ELIBSDIR - Extra library directories                                           #
15 # PACKFFLAGS - Fortran compiler flags for package                                #
16 # PACKCXXFLAGS - C++ compiler flags for package                                  #
17 # PACKCFLAGS - C compiler flags for package                                      #
18 # PACKSOFLAGS - Shared library linking flags                                     #
19 # PACKLDFLAGS - Module linker flags                                              #
20 # PACKBLIBS - Libraries to link (Executables only)                               #
21 # EXPORT - Header files to be exported                                           #
22 # CINTHDRS - Dictionary header files                                             #
23 # CINTAUTOLINK - Set automatic dictionary generation                             #
24 # ARLIBS - Archive Libraries and objects for linking (Executables only)          #
25 # SHLIBS - Shared Libraries and objects for linking (Executables only)           #
26 #--------------------------------------------------------------------------------#
27
28 set ( SRCS  AliGenHIJINGpara.cxx AliGenBox.cxx AliGenFixed.cxx AliGenCocktail.cxx AliGenCocktailAfterBurner.cxx AliGenFLUKAsource.cxx AliGenLib.cxx AliGenMUONlib.cxx AliGenHMPIDlib.cxx AliGenParam.cxx AliDimuCombinator.cxx AliGenHalo.cxx AliGenHaloProtvino.cxx AliGenExtFile.cxx AliGenScan.cxx AliGenPHOSlib.cxx AliGenDoubleScan.cxx AliGenCocktailEntry.cxx AliGenGSIlib.cxx AliGenEMlib.cxx AliGenPMDlib.cxx AliGenMC.cxx AliGenReader.cxx AliGenReaderCwn.cxx AliGenReaderTreeK.cxx AliGenReaderEcalHijing.cxx AliGenReaderEcalJets.cxx AliGenHIJINGparaBa.cxx AliGeVSimParticle.cxx AliGenGeVSim.cxx AliGenThetaSlice.cxx AliGenSTRANGElib.cxx AliGenBeamGas.cxx AliGenAfterBurnerFlow.cxx AliGenSlowNucleons.cxx AliSlowNucleonModel.cxx AliSlowNucleonModelExp.cxx AliGenMUONCocktail.cxx AliGenMUONCocktailpp.cxx AliGenEMCocktail.cxx AliGenHBTosl.cxx AliGenReaderEMD.cxx AliDecayerPolarized.cxx AliGenCorrHF.cxx AliGenCosmicsParam.cxx AliGenKrypton.cxx AliGenThermalPhotons.cxx AliGenPromptPhotons.cxx AliGenPileup.cxx AliGenFunction.cxx AliGenTHnSparse.cxx AliOmegaDalitz.cxx AliGenDeuteron.cxx)
29
30 string ( REPLACE ".cxx" ".h" HDRS "${SRCS}" )
31
32 set ( DHDR EVGENLinkDef.h)
33
34 set ( EXPORT AliDecayer.h AliGenMC.h AliGenCocktailAfterBurner.h AliGenCocktail.h AliOmegaDalitz.h)
35
36 set ( EINCLUDE FASTSIM THijing PYTHIA6)
37
38 if( ALICE_TARGET STREQUAL "win32gcc")
39         
40                         set ( PACKSOFLAGS  ${SOFLAGS} -L${ALICE_ROOT}/lib/tgt_${ALICE_TARGET} -lSTEER -lESD -lSTEERbase -lFASTSIM -L${ROOTLIBDIR} -lVMC -lEG)
41
42 endif( ALICE_TARGET STREQUAL "win32gcc")