Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
CEPCSW
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
dhb112358@mail.ustc.edu.cn
CEPCSW
Commits
65cb8428
Commit
65cb8428
authored
4 years ago
by
lintao@ihep.ac.cn
Browse files
Options
Downloads
Patches
Plain Diff
WIP: migrate DetEcalMatrix.
parent
6864f5de
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Detector/CMakeLists.txt
+1
-1
1 addition, 1 deletion
Detector/CMakeLists.txt
Detector/DetEcalMatrix/CMakeLists.txt
+5
-11
5 additions, 11 deletions
Detector/DetEcalMatrix/CMakeLists.txt
with
6 additions
and
12 deletions
Detector/CMakeLists.txt
+
1
−
1
View file @
65cb8428
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
# 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
)
add_subdirectory
(
DetSegmentation
)
add_subdirectory
(
DetSegmentation
)
add_subdirectory
(
GeomSvc
)
add_subdirectory
(
GeomSvc
)
This diff is collapsed.
Click to expand it.
Detector/DetEcalMatrix/CMakeLists.txt
+
5
−
11
View file @
65cb8428
...
@@ -2,9 +2,6 @@
...
@@ -2,9 +2,6 @@
# Package: DetEcalMatrix
# Package: DetEcalMatrix
# Based on package: lcgeo
# Based on package: lcgeo
################################################################################
################################################################################
gaudi_subdir
(
DetEcalMatrix v0r0
)
gaudi_depends_on_subdirs
(
GaudiKernel
)
find_package
(
DD4hep COMPONENTS DDRec DDG4 DDParsers REQUIRED
)
find_package
(
DD4hep COMPONENTS DDRec DDG4 DDParsers REQUIRED
)
...
@@ -16,20 +13,17 @@ include( DD4hep )
...
@@ -16,20 +13,17 @@ 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/DetEcalMatrix
)
# TODO: how to handle
# install(DIRECTORY ${CMAKE_CURRENT_LIST_DIR}/compact DESTINATION Detector/DetEcalMatrix)
set
(
DetEcalMatrix_src
set
(
DetEcalMatrix_src
src/calorimeter/EcalMatrix.cpp
src/calorimeter/EcalMatrix.cpp
)
)
gaudi_add_module
(
DetEcalMatrix
gaudi_add_module
(
DetEcalMatrix
${
DetEcalMatrix_src
}
SOURCES
${
DetEcalMatrix_src
}
INCLUDE_DIRS
LINK
${
DD4hep_COMPONENT_LIBRARIES
}
# DD4hep ROOT Geant4 src/include
# ROOT Geant4
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
}
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment