Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
ip6_tutorial_2
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container 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
EIC
tutorials
ip6_tutorial_2
Commits
6c739af0
Commit
6c739af0
authored
4 years ago
by
Whitney Armstrong
Browse files
Options
Downloads
Patches
Plain Diff
new file: CMakeLists.txt
parent
81e3e66c
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
CMakeLists.txt
+25
-0
25 additions, 0 deletions
CMakeLists.txt
with
25 additions
and
0 deletions
CMakeLists.txt
0 → 100644
+
25
−
0
View file @
6c739af0
cmake_minimum_required
(
VERSION 3.3 FATAL_ERROR
)
find_package
(
DD4hep REQUIRED COMPONENTS DDCore DDG4
)
#find_package(Acts REQUIRED COMPONENTS Core PluginIdentification PluginTGeo PluginDD4hep )
#-----------------------------------------------------------------------------------
set
(
a_lib_name my_detector
)
#dd4hep_package (${a_lib_name} MAJOR 0 MINOR 0 PATCH 1
# USES [ROOT REQUIRED COMPONENTS Geom GenVector]
# [DD4hep REQUIRED COMPONENTS DDCore DDRec]
# OPTIONAL XERCESC
# INCLUDE_DIRS include
# )
dd4hep_add_plugin
(
${
a_lib_name
}
SOURCES src/*.cpp
#USES ActsCore ActsPluginDD4hep
)
target_link_libraries
(
${
a_lib_name
}
PUBLIC DD4hep::DDCore DD4hep::DDRec
)
#-----------------------------------------------------------------------------------
install
(
DIRECTORY compact/
DESTINATION share/
${
PROJECT_NAME
}
/
${
a_lib_name
}
FILES_MATCHING PATTERN
"*.xml"
)
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