Skip to content
Snippets Groups Projects
Commit 363f74d2 authored by lintao@ihep.ac.cn's avatar lintao@ihep.ac.cn
Browse files

Migrate Digi_Calo.

parent 4e8c5c5b
No related branches found
No related tags found
No related merge requests found
add_subdirectory(DCHDedx)
# add_subdirectory(Digi_Calo)
add_subdirectory(Digi_Calo)
# add_subdirectory(PFA)
# add_subdirectory(SiliconTracking)
# add_subdirectory(Tracking)
gaudi_subdir(Digi_Calo v0r0)
find_package(CLHEP REQUIRED;CONFIG)
find_package(DD4hep COMPONENTS DDG4 REQUIRED)
find_package(EDM4HEP REQUIRED )
message("EDM4HEP_INCLUDE_DIRS: ${EDM4HEP_INCLUDE_DIR}")
message("EDM4HEP_LIB: ${EDM4HEP_LIBRARIES}")
include_directories(${EDM4HEP_INCLUDE_DIR})
find_package(k4FWCore REQUIRED )
find_package(CLHEP REQUIRED)
find_package(podio REQUIRED )
set(srcs
src/*.cpp
)
gaudi_depends_on_subdirs(
Detector/DetInterface
)
## Modules
gaudi_add_module(Digi_Calo ${srcs}
INCLUDE_DIRS k4FWCore GaudiKernel GaudiAlgLib ${CLHEP_INCLUDE_DIR} DD4hep
LINK_LIBRARIES k4FWCore GaudiKernel GaudiAlgLib ${CLHEP_LIBRARIES} DD4hep ${DD4hep_COMPONENT_LIBRARIES} DDRec
-Wl,--no-as-needed
EDM4HEP::edm4hep EDM4HEP::edm4hepDict
gaudi_add_module(Digi_Calo
SOURCES src/CaloDigiAlg.cpp
LINK DetInterface
k4FWCore::k4FWCore
Gaudi::GaudiKernel
Gaudi::GaudiAlgLib
${CLHEP_LIBRARIES}
${DD4hep_COMPONENT_LIBRARIES}
EDM4HEP::edm4hep EDM4HEP::edm4hepDict
)
install(TARGETS Digi_Calo
EXPORT CEPCSWTargets
RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}" COMPONENT bin
LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}" COMPONENT shlib
COMPONENT dev)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment