CMakeLists.txt 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. add_subdirectory(femto/fsiTools)
  2. add_subdirectory(femto/MpdFemtoMaker)
  3. add_subdirectory(femto/MpdFemtoMakerUser)
  4. add_subdirectory(femto/alternative)
  5. add_subdirectory(photons)
  6. # Create a library called "MpdPhysics" which includes the source files given in the array.
  7. # The extension is already found. Any number of sources could be listed here.
  8. set(INCLUDE_DIRECTORIES
  9. ${BASE_INCLUDE_DIRECTORIES}
  10. ${CMAKE_SOURCE_DIR}/mcstack
  11. ${CMAKE_SOURCE_DIR}/passive
  12. ${CMAKE_SOURCE_DIR}/mpdbase
  13. ${CMAKE_SOURCE_DIR}/mpdfield
  14. ${CMAKE_SOURCE_DIR}/tpc
  15. ${CMAKE_SOURCE_DIR}/lhetrack
  16. ${CMAKE_SOURCE_DIR}/kalman
  17. ${CMAKE_SOURCE_DIR}/mpddst
  18. ${CMAKE_SOURCE_DIR}/physics
  19. )
  20. Set(SYSTEM_INCLUDE_DIRECTORIES
  21. ${ROOT_INCLUDE_DIR}
  22. ${GSL_INCLUDE_DIRS}
  23. ${CLHEP_INCLUDE_DIR}
  24. ${Boost_INCLUDE_DIRS}
  25. )
  26. include_directories(${INCLUDE_DIRECTORIES})
  27. Include_Directories(SYSTEM ${SYSTEM_INCLUDE_DIRECTORIES})
  28. set(LINK_DIRECTORIES
  29. ${ROOT_LIBRARY_DIR}
  30. ${FAIRROOT_LIBRARY_DIR}
  31. )
  32. link_directories(${LINK_DIRECTORIES})
  33. # List of source files
  34. set(SRCS
  35. MpdRoInvMassTask.cxx
  36. )
  37. Set(HEADERS)
  38. Set(LINKDEF MpdPhysicsLinkDef.h)
  39. Set(LIBRARY_NAME MpdPhysics)
  40. Set(DEPENDENCIES Core Base MpdDst)
  41. GENERATE_LIBRARY()