123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869 |
- # Create a library called "libtpc" 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}/mpdfield
- ${CMAKE_SOURCE_DIR}/mcstack
- ${CMAKE_SOURCE_DIR}/passive
- ${CMAKE_SOURCE_DIR}/tpc
- ${CMAKE_SOURCE_DIR}/tof
- ${CMAKE_SOURCE_DIR}/lhetrack
- ${CMAKE_SOURCE_DIR}/kalman
- )
- Set(SYSTEM_INCLUDE_DIRECTORIES
- ${ROOT_INCLUDE_DIR}
- ${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
- TaskHelpers.cxx
- TpcContFact.cxx
- TpcDetector.cxx
- TpcGas.cxx
- TpcGeo.cxx
- TpcGeoPar.cxx
- TpcPoint.cxx
- MpdTpcSector.cxx
- TpcTimeBin.cxx
- MpdTpcClusterFinderTask.cxx
- MpdTpcDigit.cxx
- MpdTpcPeak.cxx
- MpdTpcFoundHit.cxx
- MpdTpcClusterFinderQAHistograms.cxx
- MpdParticleIdentification.cxx
- MpdTpcDigitizerTask.cxx
- MpdTpcDigitizerQAHistograms.cxx
- MpdTpc2dCluster.cxx
- MpdTpcHit.cxx
- MpdTpcHitProducer.cxx
- MpdTpcSectorGeo.cxx
- MpdTpcDigitizerAZ.cxx
- MpdTpcDigitizerAZlt.cxx
- MpdTpcClusterFinderAZ.cxx
- MpdTPCpid.cxx
- MpdTpcClusterFinderMlem.cxx
- MpdTpcEDepParams.cxx
- )
- Set(HEADERS)
- Set(LINKDEF tpcLinkDef.h)
- Set(LIBRARY_NAME tpc)
- Set(DEPENDENCIES ${FFTW_LIBRARY} Core Base Tof Gdml)
- GENERATE_LIBRARY()
|