Skip to content
Snippets Groups Projects
CMakeLists.txt 847 B
Newer Older
lintao@ihep.ac.cn's avatar
lintao@ihep.ac.cn committed

gaudi_subdir(DetSimSD v0r0)

gaudi_depends_on_subdirs(
lintao@ihep.ac.cn's avatar
lintao@ihep.ac.cn committed
    Simulation/DetSimInterface
)

find_package(Geant4 REQUIRED ui_all vis_all)
include(${Geant4_USE_FILE})
find_package(DD4hep COMPONENTS DDG4 REQUIRED)

set(DetSimSD_srcs
    src/CalorimeterSensDetTool.cpp

    src/DDG4SensitiveDetector.cpp
    src/CaloSensitiveDetector.cpp
    src/DriftChamberSensitiveDetector.cpp

    src/TimeProjectionChamberSensDetTool.cpp
    src/TimeProjectionChamberSensitiveDetector.cpp
lintao@ihep.ac.cn's avatar
lintao@ihep.ac.cn committed
)

gaudi_add_module(DetSimSD ${DetSimSD_srcs}
    INCLUDE_DIRS
      # DetSimInterface
lintao@ihep.ac.cn's avatar
lintao@ihep.ac.cn committed
      # DD4hep
      # GaudiKernel
      # Geant4 
    LINK_LIBRARIES
      # DetSimInterface
lintao@ihep.ac.cn's avatar
lintao@ihep.ac.cn committed
      DD4hep
      ${DD4hep_COMPONENT_LIBRARIES} 
      GaudiKernel
      # Geant4
)