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

WIP: mirgrate DataHelper in Utilities.

parent 013bfbdc
No related branches found
No related tags found
No related merge requests found
Showing
with 34 additions and 7 deletions
......@@ -30,7 +30,7 @@ add_subdirectory(Examples)
add_subdirectory(Generator)
# add_subdirectory(Reconstruction)
add_subdirectory(Simulation)
# add_subdirectory(Utilities)
add_subdirectory(Utilities)
##############################################################################
# INSTALL
......
add_subdirectory(DataHelper)
# add_subdirectory(KalDet)
# add_subdirectory(KalTest)
# add_subdirectory(KiTrack)
gaudi_subdir(DataHelper v0r0)
find_package(CLHEP REQUIRED;CONFIG)
find_package(EDM4HEP REQUIRED)
......@@ -8,12 +7,35 @@ message("GSL INCLUDE_DIRS: ${GSL_INCLUDE_DIRS} ")
# gaudi_depends_on_subdirs()
set(DataHelperLib_srcs src/*.cc src/*.cpp)
set(DataHelperLib_srcs
src/CaloHitExtended.cc
src/Circle.cc
src/ClusterExtended.cc
src/ClusterShapes.cc
src/GroupTracks.cc
src/HelixClass.cc
src/LCCylinder.cc
src/LCLine3D.cc
src/LCPlane3D.cc
src/LineClass.cc
src/Navigation.cpp
src/SimpleHelix.cc
src/TrackerHitExtended.cc
src/TrackExtended.cc
src/TrackHitPair.cc)
#gaudi_install_headers(DataHelper)
gaudi_add_library(DataHelperLib ${DataHelperLib_srcs}
PUBLIC_HEADERS DataHelper
INCLUDE_DIRS ${CLHEP_INCLUDE_DIR} ${GSL_INCLUDE_DIRS}
LINK_LIBRARIES EDM4HEP::edm4hep EDM4HEP::edm4hepDict ${GSL_LIBRARIES} ${CLHEP_LIBRARIES}
gaudi_add_library(DataHelperLib
SOURCES ${DataHelperLib_srcs}
LINK EDM4HEP::edm4hep
EDM4HEP::edm4hepDict
${GSL_LIBRARIES}
${CLHEP_LIBRARIES}
)
install(TARGETS DataHelperLib
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