# Create a library called "libFairRutherford" 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 ${FAIRROOT_SOURCE_DIR}/fairtools ${FAIRROOT_SOURCE_DIR}/base ${FAIRROOT_SOURCE_DIR}/parbase ${FAIRROOT_SOURCE_DIR}/geobase ${FAIRROOT_SOURCE_DIR}/example/mcstack ${FAIRROOT_SOURCE_DIR}/example/rutherford/src ) include_directories( ${INCLUDE_DIRECTORIES}) set(LINK_DIRECTORIES ${ROOT_LIBRARY_DIR} ) link_directories( ${LINK_DIRECTORIES}) set(SRCS #Put here your sourcefiles FairRutherford.cxx FairRutherfordContFact.cxx FairRutherfordGeo.cxx FairRutherfordGeoPar.cxx FairRutherfordPoint.cxx ) Set(HEADERS ) Set(LINKDEF FairRutherfordLinkDef.h) Set(LIBRARY_NAME FairRutherford) Set(DEPENDENCIES Base MCStack GeoBase ParBase VMC Physics Cint Core) GENERATE_LIBRARY()