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

WIP: migrate DetSimAna.

parent 2758da15
No related branches found
No related tags found
No related merge requests found
#add_subdirectory(DetSimAna)
add_subdirectory(DetSimAna)
add_subdirectory(DetSimCore)
#add_subdirectory(DetSimDedx)
#add_subdirectory(DetSimFastModel)
......
gaudi_subdir(DetSimAna v0r0)
gaudi_depends_on_subdirs(
FWCore
Simulation/DetSimInterface
)
find_package(Geant4 REQUIRED ui_all vis_all)
include(${Geant4_USE_FILE})
find_package(DD4hep COMPONENTS DDG4 REQUIRED)
# For EDM & I/O
find_package(podio REQUIRED)
find_package(EDM4HEP REQUIRED)
# find_package(LCIO REQUIRED)
set(DetSimAna_srcs
# src/ExampleAnaElemTool.cpp
src/Edm4hepWriterAnaElemTool.cpp
)
message("podio_LIBRARIES: ${podio_LIBRARIES}")
gaudi_add_module(DetSimAna ${DetSimAna_srcs}
INCLUDE_DIRS
# DetSimInterface
# FWCore
# DD4hep
# GaudiKernel
# Geant4
# ${plcio_INCLUDE_DIRS}
# ${podio_INCLUDE_DIRS}
LINK_LIBRARIES
# DetSimInterface
# FWCore
DD4hep
${DD4hep_COMPONENT_LIBRARIES}
GaudiKernel
# Geant4
-Wl,--no-as-needed
EDM4HEP::edm4hep EDM4HEP::edm4hepDict
-Wl,--as-needed
# ${podio_LIBRARIES}
gaudi_add_module(DetSimAna
SOURCES ${DetSimAna_srcs}
LINK DetSimInterface
${DD4hep_COMPONENT_LIBRARIES}
Gaudi::GaudiKernel
EDM4HEP::edm4hep EDM4HEP::edm4hepDict
)
install(TARGETS DetSimAna
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