]> git.uio.no Git - u/mrichter/AliRoot.git/blob - PWGLF/CMakelibPWGLFforwardhit.pkg
consolidate zero-length arrays (aka struct hack)
[u/mrichter/AliRoot.git] / PWGLF / CMakelibPWGLFforwardhit.pkg
1 # -*- mode: CMake -*-
2 #------------------------------------------------------------------------#
3 # Package File for PWGLFforward2                                         #
4 # Author : Christian Holm Christensen (cholm@nbi.dk)                     #
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   FORWARD/analysis2/AliFMDMCHitEnergyFitter.cxx
31   FORWARD/analysis2/AliFMDMCHitEnergyFitterTask.cxx)
32
33 string ( REPLACE ".cxx" ".h" HDRS "${SRCS}" )
34 set ( HDRS ${HDRS} FORWARD/analysis2/AliFMDEncodedEdx.h )
35
36 set ( EINCLUDE  
37   ANALYSIS 
38   PWGLF/FORWARD/analysis2  
39   PWGLF/FORWARD/GEO 
40   FORWARD/analysis2  
41   FORWARD/GEO 
42   PWG0 
43   STEER/ESD 
44   STEER/STEERBase
45   STEER/STEER
46   FMD)
47
48 set ( DHDR  PWGLFforwardhitLinkDef.h)
49
50 # --------------------------------------------------------------------
51 # Extra installation targets 
52 #
53 # Install other scripts
54 install ( FILES FORWARD/analysis2/AddTaskFMDMCHit.C
55            DESTINATION PWGLF/FORWARD/analysis2 )
56
57 add_custom_target( install-PWGLFforwardhit.par 
58   COMMAND ${CMAKE_COMMAND} -E copy ${CMAKE_BINARY_DIR}/${PACKAGE}.par ${CMAKE_INSTALL_PREFIX}
59   COMMAND ${CMAKE_COMMAND} -E cmake_echo_color --green --bold "${PACKAGE}.par installed in ${CMAKE_INSTALL_PREFIX}"
60   DEPENDS ${CMAKE_BINARY_DIR}/${PACKAGE}.par
61   DEPENDS test-${PACKAGE}.par)
62
63
64 # --------------------------------------------------------------------
65 #
66 # EOF
67