CMakeLists.txt 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. # Create a library called "libEmc" which includes the source files given in
  2. # the array .
  3. # The extension is already found. Any number of sources could be listed here.
  4. set(INCLUDE_DIRECTORIES
  5. ${BASE_INCLUDE_DIRECTORIES}
  6. ${CMAKE_SOURCE_DIR}/mcstack
  7. ${CMAKE_SOURCE_DIR}/clustering
  8. ${CMAKE_SOURCE_DIR}/emc
  9. ${CMAKE_SOURCE_DIR}/emc/hitmaker
  10. ${CMAKE_SOURCE_DIR}/emc/clustering
  11. ${CMAKE_SOURCE_DIR}/emc/emcKI
  12. ${CMAKE_SOURCE_DIR}/tpc
  13. ${CMAKE_SOURCE_DIR}/kalman
  14. ${CMAKE_SOURCE_DIR}/lhetrack
  15. ${CMAKE_SOURCE_DIR}/mpdbase
  16. )
  17. Set(SYSTEM_INCLUDE_DIRECTORIES
  18. ${ROOT_INCLUDE_DIR}
  19. ${Boost_INCLUDE_DIRS}
  20. )
  21. include_directories(${INCLUDE_DIRECTORIES})
  22. Include_Directories(SYSTEM ${SYSTEM_INCLUDE_DIRECTORIES})
  23. set(LINK_DIRECTORIES
  24. ${ROOT_LIBRARY_DIR}
  25. ${FAIRROOT_LIBRARY_DIR}
  26. )
  27. link_directories(${LINK_DIRECTORIES})
  28. # List of source files
  29. set(SRCS
  30. MpdEmcContFact.cxx
  31. MpdEmc.cxx
  32. MpdEmcGeo.cxx
  33. MpdEmcGeoPar.cxx
  34. MpdEmcGeoParams.cxx
  35. MpdEmcPoint.cxx
  36. MpdEmcHit.cxx
  37. MpdEmcCluster.cxx
  38. MpdEmcHitProducer.cxx
  39. MpdEmcHitCreation.cxx
  40. MpdEmcClusterCreation.cxx
  41. MpdEmcDigit.cxx
  42. MpdEmcDigitizer.cxx
  43. MpdEmcClusterFinderAZ.cxx
  44. MpdEmcMatching.cxx
  45. MpdEmcMatch.cxx
  46. MpdEmcCalibParams.cxx
  47. hitmaker/MpdEmcHitA.cxx
  48. hitmaker/MpdEmcHitProducerA.cxx
  49. hitmaker/MpdEmcHitCont.cxx
  50. hitmaker/MpdEmcGeoParWrapper.cxx
  51. clustering/EmcClManager.cxx
  52. clustering/EmcClusterElement.cxx
  53. clustering/EmcCluster.cxx
  54. clustering/EmcClusterCollection.cxx
  55. clustering/EmcClusterInfo.cxx
  56. clustering/EmcCLinfo.cxx
  57. emcKI/MpdEmcClusterizerKI.cxx
  58. emcKI/MpdEmcClusterKI.cxx
  59. emcKI/MpdEmcDigitizerKI.cxx
  60. emcKI/MpdEmcDigitKI.cxx
  61. emcKI/MpdEmcGeoUtils.cxx
  62. emcKI/MpdEmcKI.cxx
  63. emcKI/MpdEmcMatchingKI.cxx
  64. emcKI/MpdEmcPointKI.cxx
  65. emcKI/MpdEmcSimParams.cxx
  66. emcKI/MpdEmcTrackExtrap.cxx
  67. )
  68. Set(HEADERS)
  69. Set(LINKDEF MpdEmcLinkDef.h)
  70. Set(LIBRARY_NAME Emc)
  71. Set(DEPENDENCIES Cluster Core Base)
  72. GENERATE_LIBRARY()