# Create a library called "RhoFitter" which includes the source files given in # the array . # The extension is already found. Any number of sources could be listed here. Set(SYSTEM_INCLUDE_DIRECTORIES ${SYSTEM_INCLUDE_DIRECTORIES} ${BASE_INCLUDE_DIRECTORIES} ) Set(INCLUDE_DIRECTORIES ${CMAKE_SOURCE_DIR}/field ${CMAKE_SOURCE_DIR}/pnddata # put FairRecoCandidate to fairbase at some point ${CMAKE_SOURCE_DIR}/pnddata/PidData # CAUTION we have a PANDA specific access: RhoGoodPhotonSelector auses PndPidCandidate ${CMAKE_SOURCE_DIR}/rho/RhoBase ${CMAKE_SOURCE_DIR}/rho/RhoMath ${CMAKE_SOURCE_DIR}/rho/RhoFitter ${CMAKE_SOURCE_DIR}/rho/RhoSelector ${CMAKE_SOURCE_DIR}/rho/RhoConstraints ${CMAKE_SOURCE_DIR}/rho/RhoTools ${CMAKE_SOURCE_DIR}/rho/RhoHistogram ${CMAKE_SOURCE_DIR}/rho/DecayTreeFitter ${CMAKE_SOURCE_DIR}/rho ) Include_Directories(${INCLUDE_DIRECTORIES}) Include_Directories(SYSTEM ${SYSTEM_INCLUDE_DIRECTORIES}) set(LINK_DIRECTORIES ${ROOT_LIBRARY_DIR} ${FAIRROOT_LIBRARY_DIR} ) link_directories( ${LINK_DIRECTORIES}) set(SRCS Rho4CFitter.cxx RhoKinVtxFitter.cxx RhoKinFitter.cxx RhoVtxPoca.cxx RhoKalmanVtxFitter.cxx RhoDecayTreeFitter.cxx ) set(LINKDEF RhoFitter_LinkDef.h) set(LIBRARY_NAME RhoFitter) set(DEPENDENCIES Base PndData Rho DecayTreeFitter) GENERATE_LIBRARY()