add_subdirectory(femto/fsiTools) add_subdirectory(femto/MpdFemtoMaker) add_subdirectory(femto/MpdFemtoMakerUser) add_subdirectory(femto/alternative) add_subdirectory(photons) # Create a library called "MpdPhysics" 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 ${BASE_INCLUDE_DIRECTORIES} ${CMAKE_SOURCE_DIR}/mcstack ${CMAKE_SOURCE_DIR}/passive ${CMAKE_SOURCE_DIR}/mpdbase ${CMAKE_SOURCE_DIR}/mpdfield ${CMAKE_SOURCE_DIR}/tpc ${CMAKE_SOURCE_DIR}/lhetrack ${CMAKE_SOURCE_DIR}/kalman ${CMAKE_SOURCE_DIR}/mpddst ${CMAKE_SOURCE_DIR}/physics ) Set(SYSTEM_INCLUDE_DIRECTORIES ${ROOT_INCLUDE_DIR} ${GSL_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIR} ${Boost_INCLUDE_DIRS} ) include_directories(${INCLUDE_DIRECTORIES}) Include_Directories(SYSTEM ${SYSTEM_INCLUDE_DIRECTORIES}) set(LINK_DIRECTORIES ${ROOT_LIBRARY_DIR} ${FAIRROOT_LIBRARY_DIR} ) link_directories(${LINK_DIRECTORIES}) # List of source files set(SRCS MpdRoInvMassTask.cxx ) Set(HEADERS) Set(LINKDEF MpdPhysicsLinkDef.h) Set(LIBRARY_NAME MpdPhysics) Set(DEPENDENCIES Core Base MpdDst) GENERATE_LIBRARY()