# -*- mode: CMake -*- #--------------------------------------------------------------------------------# # Package File for MONITOR # # Author : Johny Jose (johny.jose@cern.ch) # # Variables Defined : # # # # SRCS - C++ source files # # HDRS - C++ header files # # DHDR - ROOT Dictionary Linkdef header file # # CSRCS - C source files # # CHDRS - C header files # # EINCLUDE - Include directories # # EDEFINE - Compiler definitions # # ELIBS - Extra libraries to link # # ELIBSDIR - Extra library directories # # PACKFFLAGS - Fortran compiler flags for package # # PACKCXXFLAGS - C++ compiler flags for package # # PACKCFLAGS - C compiler flags for package # # PACKSOFLAGS - Shared library linking flags # # PACKLDFLAGS - Module linker flags # # PACKBLIBS - Libraries to link (Executables only) # # EXPORT - Header files to be exported # # CINTHDRS - Dictionary header files # # CINTAUTOLINK - Set automatic dictionary generation # # ARLIBS - Archive Libraries and objects for linking (Executables only) # # SHLIBS - Shared Libraries and objects for linking (Executables only) # #--------------------------------------------------------------------------------# set ( SRCS AliNetMessage.cxx AliSocket.cxx AliThreadedSocket.cxx AliRecoServerThread.cxx AliRecoServer.cxx AliEventServerWindow.cxx ) string ( REPLACE ".cxx" ".h" CINTHDRS "${SRCS}" ) string ( REPLACE ".cxx" ".h" HDRS "${SRCS}" ) set ( DHDR MONITORzmqLinkDef.h) set ( EINCLUDE STEER/STEERBase ) # ${ZEROMQ_INCLUDE_DIR}) set(DIMDIR $ENV{DIMDIR}) set(ODIR $ENV{ODIR}) if(DIMDIR) set ( SRCS ${SRCS} SORNotifier.cxx) set ( EINCLUDE ${EINCLUDE} ${DIMDIR}/dim) set ( ELIBS dim) set ( ELIBSDIR ${DIMDIR}/${ODIR}) if(ELIBSDIR STREQUAL "${DIMDIR}/") set (ELIBSDIR ${DIMDIR}/linux) endif(ELIBSDIR STREQUAL "${DIMDIR}/") set ( CXXFLAGS "-DALI_DIM ${CXXFLAGS}") endif(DIMDIR) set (ELIBS ${ELIBS} ${ZEROMQ_LIBRARIES} ) # this must be set in a better way set ( ELIBSDIR ${ELIBSDIR} /usr/lib64) set (EXPORT AliSocket.h AliNetMessage.h AliThreadedSocket.h )