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

WIP: migrate DetCRD

parent d4d2ba1b
No related branches found
No related tags found
No related merge requests found
# add_subdirectory(DetCEPCv4) # add_subdirectory(DetCEPCv4)
# add_subdirectory(DetCRD) add_subdirectory(DetCRD)
add_subdirectory(DetDriftChamber) add_subdirectory(DetDriftChamber)
add_subdirectory(DetEcalMatrix) add_subdirectory(DetEcalMatrix)
add_subdirectory(DetInterface) add_subdirectory(DetInterface)
......
...@@ -2,10 +2,6 @@ ...@@ -2,10 +2,6 @@
# Package: DetCRD # Package: DetCRD
# CEPC Reference Detector (CRD) # CEPC Reference Detector (CRD)
################################################################################ ################################################################################
gaudi_subdir(DetCRD v0r0)
gaudi_depends_on_subdirs(GaudiKernel)
find_package(DD4hep COMPONENTS DDRec DDG4 DDParsers REQUIRED) find_package(DD4hep COMPONENTS DDRec DDG4 DDParsers REQUIRED)
# find_package(DD4hep) # find_package(DD4hep)
...@@ -17,7 +13,7 @@ include( DD4hep ) ...@@ -17,7 +13,7 @@ include( DD4hep )
find_package(ROOT COMPONENTS MathCore GenVector Geom REQUIRED) find_package(ROOT COMPONENTS MathCore GenVector Geom REQUIRED)
install(DIRECTORY ${CMAKE_CURRENT_LIST_DIR}/compact DESTINATION Detector/DetCRD) # install(DIRECTORY ${CMAKE_CURRENT_LIST_DIR}/compact DESTINATION Detector/DetCRD)
set(DetCRD_src set(DetCRD_src
src/Calorimeter/CRDEcal.cpp src/Calorimeter/CRDEcal.cpp
...@@ -25,18 +21,8 @@ set(DetCRD_src ...@@ -25,18 +21,8 @@ set(DetCRD_src
) )
gaudi_add_module(DetCRD gaudi_add_module(DetCRD
${DetCRD_src} SOURCES ${DetCRD_src}
INCLUDE_DIRS LINK ${DD4hep_COMPONENT_LIBRARIES}
# DD4hep
# ROOT
# Geant4
src/include
LINK_LIBRARIES
# GaudiKernel
DD4hep
${DD4hep_COMPONENT_LIBRARIES}
# ROOT
# Geant4
) )
set(LIBRARY_OUTPUT_PATH ${CMAKE_LIBRARY_OUTPUT_DIRECTORY}) set(LIBRARY_OUTPUT_PATH ${CMAKE_LIBRARY_OUTPUT_DIRECTORY})
......
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