Skip to content
Snippets Groups Projects
CMakeLists.txt 892 B
Newer Older

gaudi_subdir(DetSimAna v0r0)

gaudi_depends_on_subdirs(
    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}
lintao@ihep.ac.cn's avatar
lintao@ihep.ac.cn committed
    INCLUDE_DIRS
      # DetSimInterface
      # FWCore
      # DD4hep
      # GaudiKernel
      # Geant4 
      # ${plcio_INCLUDE_DIRS}
      # ${podio_INCLUDE_DIRS}
    LINK_LIBRARIES
      # DetSimInterface
      # FWCore
      DD4hep
      ${DD4hep_COMPONENT_LIBRARIES} 
      GaudiKernel
      # Geant4
      EDM4HEP::edm4hep EDM4HEP::edm4hepDict
lintao@ihep.ac.cn's avatar
lintao@ihep.ac.cn committed
      # ${podio_LIBRARIES}