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

WIP: migrate GearSvc.

parent 7e97c429
No related branches found
No related tags found
No related merge requests found
...@@ -29,6 +29,7 @@ add_subdirectory(Detector) ...@@ -29,6 +29,7 @@ add_subdirectory(Detector)
add_subdirectory(Examples) add_subdirectory(Examples)
add_subdirectory(Generator) add_subdirectory(Generator)
# add_subdirectory(Reconstruction) # add_subdirectory(Reconstruction)
add_subdirectory(Service)
add_subdirectory(Simulation) add_subdirectory(Simulation)
add_subdirectory(Utilities) add_subdirectory(Utilities)
......
# add_subdirectory(EventSeeder)
add_subdirectory(GearSvc)
# add_subdirectory(TrackSystemSvc)
gaudi_subdir(GearSvc v0r0)
find_package(GEAR REQUIRED) find_package(GEAR REQUIRED)
find_package(DD4hep COMPONENTS DDCore DDRec REQUIRED) find_package(DD4hep COMPONENTS DDCore DDRec REQUIRED)
gaudi_depends_on_subdirs( gaudi_add_header_only_library(GearSvc)
Detector/DetInterface
)
set(GearSvc_srcs gaudi_add_module(GearSvcPlugins
src/*.cpp SOURCES src/GearSvc.cpp
LINK GearSvc
Gaudi::GaudiKernel
${GEAR_LIBRARIES}
${DD4hep_COMPONENT_LIBRARIES}
DetInterface
) )
gaudi_install_headers(GearSvc) install(TARGETS GearSvc GearSvcPlugins
EXPORT CEPCSWTargets
RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}" COMPONENT bin
LIBRARY DESTINATION "${CMAKE_INSTALL_LIBDIR}" COMPONENT shlib
COMPONENT dev)
gaudi_add_module(GearSvc ${GearSvc_srcs}
INCLUDE_DIRS GaudiKernel gear
LINK_LIBRARIES GaudiKernel ${GEAR_LIBRARIES} ${DD4hep_COMPONENT_LIBRARIES}
)
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