# Create a library called "libPndAnandDetector" which includes the source files given in # the array . # The extension is already found. Any number of sources could be listed here. set(INCLUDE_DIRECTORIES ${ROOT_INCLUDE_DIR} #put here all directories where header files are located ${PANDAROOT_SOURCE_DIR}/fairtools ${BASE_INCLUDE_DIRECTORIES} ${PANDAROOT_SOURCE_DIR}/pnddata ${PANDAROOT_SOURCE_DIR}/parbase ${PANDAROOT_SOURCE_DIR}/geobase ${PANDAROOT_SOURCE_DIR}/PndAnandDetector ) include_directories( ${INCLUDE_DIRECTORIES}) set(LINK_DIRECTORIES ${ROOT_LIBRARY_DIR} ) link_directories( ${LINK_DIRECTORIES}) set(SRCS #Put here your sourcefiles PndAnandDetector.cxx PndAnandDetectorContFact.cxx PndAnandDetectorGeo.cxx PndAnandDetectorGeoPar.cxx PndAnandDetectorPoint.cxx ) set(LINKDEF PndAnandDetectorLinkDef.h) set(LIBRARY_NAME Anand) set(DEPENDENCIES Base ParBase PndData TrkBase Geane) GENERATE_LIBRARY()