CMakeLists.txt 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  1. # Create a library called "libStt" 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. ${CMAKE_SOURCE_DIR}/geobase
  6. ${CMAKE_SOURCE_DIR}/parbase
  7. ${CMAKE_SOURCE_DIR}/base
  8. ${CMAKE_SOURCE_DIR}/mcstack
  9. ${CMAKE_SOURCE_DIR}/fairtools
  10. ${CMAKE_SOURCE_DIR}/stt
  11. )
  12. Set(SYSTEM_INCLUDE_DIRECTORIES
  13. ${ROOT_INCLUDE_DIR}
  14. )
  15. include_directories(${INCLUDE_DIRECTORIES})
  16. Include_Directories(SYSTEM ${SYSTEM_INCLUDE_DIRECTORIES})
  17. set(LINK_DIRECTORIES
  18. ${ROOT_LIBRARY_DIR}
  19. )
  20. link_directories(${LINK_DIRECTORIES})
  21. # List of source files
  22. set(SRCS
  23. CbmSttMatchTracks.cxx
  24. CbmGeoStt.cxx
  25. CbmSttPoint.cxx
  26. CbmSttTrack.cxx
  27. CbmStt.cxx
  28. CbmGeoSttPar.cxx
  29. CbmSttContFact.cxx
  30. CbmSttDigiPar.cxx
  31. CbmSttParRootFileIo.cxx
  32. CbmSttParAsciiFileIo.cxx
  33. CbmSttTrackFinder.cxx
  34. CbmSttFindTracks.cxx
  35. CbmSttTrackFinderIdeal.cxx
  36. CbmSttTrackFitter.cxx
  37. CbmSttFitTracks.cxx
  38. CbmSttTrackMatch.cxx
  39. CbmSttHit.cxx
  40. CbmSttHitInfo.cxx
  41. CbmSttHitProducerIdeal.cxx
  42. TStraw.cxx
  43. CbmSttHitProducerReal.cxx
  44. CbmSttHelixTrackFitter.cxx
  45. )
  46. Set(HEADERS)
  47. Set(LINKDEF SttLinkDef.h)
  48. Set(LIBRARY_NAME Stt)
  49. Set(DEPENDENCIES Core Base)
  50. GENERATE_LIBRARY()