# Create a library called "libPndTorinoDetector" 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 ${PANDAROOT_SOURCE_DIR}/base ${PANDAROOT_SOURCE_DIR}/pnddata ${PANDAROOT_SOURCE_DIR}/parbase ${PANDAROOT_SOURCE_DIR}/geobase ${PANDAROOT_SOURCE_DIR}/torinoDetector ${PANDAROOT_SOURCE_DIR}/torinoDetector/data ${PANDAROOT_SOURCE_DIR}/torinoDetector/simulation ${PANDAROOT_SOURCE_DIR}/torinoDetector/digitization ) include_directories( ${INCLUDE_DIRECTORIES}) set(LINK_DIRECTORIES ${ROOT_LIBRARY_DIR} ) link_directories( ${LINK_DIRECTORIES}) Set(SRCS simulation/PndTorinoDetector.cxx simulation/PndTorinoDetectorContFact.cxx simulation/PndTorinoDetectorGeo.cxx simulation/PndTorinoDetectorGeoPar.cxx data/PndTorinoDetectorPoint.cxx data/PndTorinoDetectorHit.cxx digitization/PndTorinoDetectorHitProducerSmearing.cxx ) Set(HEADERS ) Set(LINKDEF PndTorinoDetectorLinkDef.h) Set(LIBRARY_NAME PndTorinoDetector) Set(DEPENDENCIES Base PndData) GENERATE_LIBRARY()