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

Migrate Detector.

parent c680a97a
No related branches found
No related tags found
No related merge requests found
......@@ -9,6 +9,7 @@ gaudi_depends_on_subdirs(GaudiKernel)
find_package(DD4hep COMPONENTS DDRec DDG4 DDParsers REQUIRED)
# find_package(DD4hep)
find_package(Geant4)
include(${Geant4_USE_FILE})
......@@ -31,8 +32,18 @@ set(DetCEPCv4_src
gaudi_add_module(DetCEPCv4
${DetCEPCv4_src}
INCLUDE_DIRS DD4hep ROOT Geant4 src/include
LINK_LIBRARIES GaudiKernel DD4hep ${DD4hep_COMPONENT_LIBRARIES} ROOT Geant4)
INCLUDE_DIRS
# DD4hep
# ROOT
# Geant4
src/include
LINK_LIBRARIES
# GaudiKernel
DD4hep
${DD4hep_COMPONENT_LIBRARIES}
# ROOT
# Geant4
)
set(LIBRARY_OUTPUT_PATH ${CMAKE_LIBRARY_OUTPUT_DIRECTORY})
message(STATUS "LIBRARY_OUTPUT_PATH -> ${LIBRARY_OUTPUT_PATH}")
......
......@@ -24,8 +24,13 @@ set(DetEcalMatrix_src
gaudi_add_module(DetEcalMatrix
${DetEcalMatrix_src}
INCLUDE_DIRS DD4hep ROOT Geant4 src/include
LINK_LIBRARIES GaudiKernel DD4hep ${DD4hep_COMPONENT_LIBRARIES} ROOT Geant4)
INCLUDE_DIRS
# DD4hep ROOT Geant4 src/include
LINK_LIBRARIES
# GaudiKernel
DD4hep ${DD4hep_COMPONENT_LIBRARIES}
# ROOT Geant4
)
set(LIBRARY_OUTPUT_PATH ${CMAKE_LIBRARY_OUTPUT_DIRECTORY})
message(STATUS "LIBRARY_OUTPUT_PATH -> ${LIBRARY_OUTPUT_PATH}")
......
......@@ -18,7 +18,13 @@ find_package(DD4hep COMPONENTS DDG4 DDRec REQUIRED)
gaudi_add_module(GeoSvc
src/GeoSvc.cpp
INCLUDE_DIRS
DetInterface DD4hep GaudiKernel ROOT
# DetInterface
# DD4hep
# GaudiKernel
# ROOT
LINK_LIBRARIES
DD4hep ${DD4hep_COMPONENT_LIBRARIES} GaudiKernel ROOT
DD4hep
${DD4hep_COMPONENT_LIBRARIES}
GaudiKernel
# ROOT
)
\ No newline at end of file
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