Compilation of the PHOS pi0 analysis is added.
[u/mrichter/AliRoot.git] / PWG4 / CMakelibPWG4UserTasks.pkg
CommitLineData
d76bbe3d 1#--------------------------------------------------------------------------------#
2# Package File for PWG4UserTask #
3# Author : Yuri Kharlov #
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
28set ( SRCS
29 UserTasks/PHOS_pp_pi0/AliCaloPhoton.cxx
30 UserTasks/PHOS_pp_pi0/AliAnalysisTaskPi0.cxx
31)
32
33string ( REPLACE ".cxx" ".h" HDRS "${SRCS}" )
34
35set ( DHDR PWG4UserTasksLinkDef.h)
36
37string ( REPLACE ".cxx" ".h" EXPORT "${SRCS}" )
38
39set ( EINCLUDE PWG4UserTasks/PHOS_pp_pi0/ PHOS)
40
41if( ALICE_TARGET STREQUAL "win32gcc")
42set ( PACKSOFLAGS ${SOFLAGS} -L${ALICE_ROOT}/lib/tgt_${ALICE_TARGET} -lSTEERBase -lESD -lAOD -lANALYSIS -lANALYSISalice -lPHOSbase -L${ROOTLIBDIR} -lEG)
43endif( ALICE_TARGET STREQUAL "win32gcc")