]>
Commit | Line | Data |
---|---|---|
df4c028e | 1 | # -*- mode: CMake -*- |
6db31708 | 2 | #--------------------------------------------------------------------------------# |
3 | # Package File for monitorGDC # | |
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 | ||
164d3d29 | 29 | set ( SRCS monitorGDC/monitorGDC.cxx) |
6db31708 | 30 | |
31 | set ( EINCLUDE ${EINCLUDE} TPC ITS RAW) | |
32 | ||
164d3d29 | 33 | set ( PACKBLIBS ${ROOTCLIBS} -lMONITOR ${SYSLIBS}) |
6db31708 | 34 | |
164d3d29 | 35 | set ( ELIBS MONITOR TPCbase TPCsim TPCrec HLTbase ITSbase ITSsim ITSrec MUONmapping MUONevaluation MUONsim MUONrec MUONgeometry MUONcalib MUONbase MUONraw RAWDatasim MUONtrigger MUONcore STEER CDB AOD RAWDatarec ESD RAWDatabase STEERBase ANALYSIS) |
6db31708 | 36 | |
37 | set (DATE_ROOT $ENV{DATE_ROOT}) | |
38 | set(ODIR $ENV{ODIR}) | |
39 | ||
40 | if (DATE_ROOT) | |
41 | ||
42 | set ( PACKBLIBS ${PACKBLIBS} ${DMONLIBS}) | |
43 | set ( ELIBSDIR ) | |
44 | ||
45 | set ( EINCLUDE ${EINCLUDE} ${DATE_COMMON_DEFS} ${DATE_MONITOR_DIR}) | |
46 | ||
47 | set(DIMDIR $ENV{DIMDIR}) | |
48 | if(DIMDIR) | |
49 | ||
50 | set ( EINCLUDE ${EINCLUDE} ${DIMDIR}/dim) | |
51 | set ( ELIBS ${ELIBS} dim) | |
52 | set ( ELIBSDIR ${ELIBSDIR} ${DIMDIR}/${ODIR}) | |
53 | ||
54 | endif(DIMDIR) | |
55 | ||
56 | endif(DATE_ROOT) | |
57 | ||
df4c028e | 58 | if(ZEROMQ_FOUND) |
59 | set ( ELIBS ${ELIBS} MONITORzmq ) | |
60 | set ( CXXFLAGS "-DZMQ ${CXXFLAGS}") | |
61 | ENDIF(ZEROMQ_FOUND) |