Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
CEPCSW
Manage
Activity
Members
Labels
Plan
Issues
6
Issue boards
Milestones
Wiki
Code
Merge requests
9
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
cepc
CEPCSW
Commits
b9039f12
Commit
b9039f12
authored
4 years ago
by
lintao@ihep.ac.cn
Browse files
Options
Downloads
Patches
Plain Diff
WIP: migrate DetSimAna.
parent
2758da15
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
Simulation/CMakeLists.txt
+1
-1
1 addition, 1 deletion
Simulation/CMakeLists.txt
Simulation/DetSimAna/CMakeLists.txt
+12
-31
12 additions, 31 deletions
Simulation/DetSimAna/CMakeLists.txt
with
13 additions
and
32 deletions
Simulation/CMakeLists.txt
+
1
−
1
View file @
b9039f12
#
add_subdirectory(DetSimAna)
add_subdirectory
(
DetSimAna
)
add_subdirectory
(
DetSimCore
)
#add_subdirectory(DetSimDedx)
#add_subdirectory(DetSimFastModel)
...
...
This diff is collapsed.
Click to expand it.
Simulation/DetSimAna/CMakeLists.txt
+
12
−
31
View file @
b9039f12
gaudi_subdir
(
DetSimAna v0r0
)
gaudi_depends_on_subdirs
(
FWCore
Simulation/DetSimInterface
)
find_package
(
Geant4 REQUIRED ui_all vis_all
)
include
(
${
Geant4_USE_FILE
}
)
find_package
(
DD4hep COMPONENTS DDG4 REQUIRED
)
# For EDM & I/O
find_package
(
podio REQUIRED
)
find_package
(
EDM4HEP REQUIRED
)
# find_package(LCIO REQUIRED)
set
(
DetSimAna_srcs
# src/ExampleAnaElemTool.cpp
src/Edm4hepWriterAnaElemTool.cpp
)
message
(
"podio_LIBRARIES:
${
podio_LIBRARIES
}
"
)
gaudi_add_module
(
DetSimAna
${
DetSimAna_srcs
}
INCLUDE_DIRS
# DetSimInterface
# FWCore
# DD4hep
# GaudiKernel
# Geant4
# ${plcio_INCLUDE_DIRS}
# ${podio_INCLUDE_DIRS}
LINK_LIBRARIES
# DetSimInterface
# FWCore
DD4hep
${
DD4hep_COMPONENT_LIBRARIES
}
GaudiKernel
# Geant4
-Wl,--no-as-needed
EDM4HEP::edm4hep EDM4HEP::edm4hepDict
-Wl,--as-needed
# ${podio_LIBRARIES}
gaudi_add_module
(
DetSimAna
SOURCES
${
DetSimAna_srcs
}
LINK DetSimInterface
${
DD4hep_COMPONENT_LIBRARIES
}
Gaudi::GaudiKernel
EDM4HEP::edm4hep EDM4HEP::edm4hepDict
)
install
(
TARGETS DetSimAna
EXPORT CEPCSWTargets
RUNTIME DESTINATION
"
${
CMAKE_INSTALL_BINDIR
}
"
COMPONENT bin
LIBRARY DESTINATION
"
${
CMAKE_INSTALL_LIBDIR
}
"
COMPONENT shlib
COMPONENT dev
)
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