]> git.uio.no Git - u/mrichter/AliRoot.git/blame - PWG1/CMakelibPWG1.pkg
coverity
[u/mrichter/AliRoot.git] / PWG1 / CMakelibPWG1.pkg
CommitLineData
6db31708 1#--------------------------------------------------------------------------------#
2# Package File for PWG1 #
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
28file (GLOB SRCS1 "*.cxx" )
29file (GLOB SRCS2 "global/*.cxx" )
30file (GLOB SRCS3 "cosmic/*.cxx" )
31file (GLOB SRCS4 "tender/*.cxx" )
651ed782 32file (GLOB SRCS5 "HMPID/*.cxx" )
33file (GLOB SRCS6 "ITS/*.cxx" )
34file (GLOB SRCS7 "TRD/*.cxx" )
35file (GLOB SRCS8 "TPC/*.cxx" )
36file (GLOB SRCS9 "TOF/*.cxx" )
37file (GLOB SRCS10 "TRD/info/*.cxx" )
38file (GLOB SRCS11 "background/*.cxx" )
bf90a869 39file (GLOB SRCS12 "Centrality/*.cxx" )
d42843d3 40file (GLOB SRCS13 "ZDC/*.cxx" )
07682040 41file (GLOB SRCS14 "T0/*.cxx" )
6db31708 42
07682040 43list(APPEND SRCS ${SRCS1} ${SRCS2} ${SRCS3} ${SRCS4} ${SRCS5} ${SRCS6} ${SRCS7} ${SRCS8} ${SRCS9} ${SRCS10} ${SRCS11} ${SRCS12} ${SRCS13} ${SRCS14})
6db31708 44
45string ( REPLACE ".cxx" ".h" HDRS "${SRCS}" )
46
47set ( DHDR PWG1LinkDef.h)
48
6a2fe1ba 49set ( EINCLUDE STEER TPC ITS TRD TOF TRD/Cal ANALYSIS/Tender ANALYSIS PWG1/comparison PWG1/cosmic PWG1/global PWG1/tender PWG1/ITS PWG1/TPC PWG1/TOF PWG1/TRD PWG1/TRD/info PWG1/background PWG1/Centrality HMPID PWG1/ZDC PWG1/T0 PWG4/PartCorrBase)
6db31708 50
51 if( ALICE_TARGET STREQUAL "win32gcc")
52
dabef188 53 set ( PACKSOFLAGS ${SOFLAGS} -L${ALICE_ROOT}/lib/tgt_${ALICE_TARGET} -lSTEERBase -lESD -lSTEER -lTPCbase -lANALYSISalice -lANALYSIS -L${ROOTLIBDIR} -lMinuit -lEG -lGeom )
6db31708 54
55endif( ALICE_TARGET STREQUAL "win32gcc")