Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
DD4hep
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cepc
externals
mirroring
DD4hep
Commits
ae1a7bd5
Commit
ae1a7bd5
authored
9 years ago
by
Andre Sailer
Browse files
Options
Downloads
Patches
Plain Diff
Rename DD4hepDetectors --> DDDetectors
Simplify cmake: use add_dd4hep_plugin to create library and rootmap
parent
e39cdd1f
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
DDDetectors/CMakeLists.txt
+4
-6
4 additions, 6 deletions
DDDetectors/CMakeLists.txt
with
4 additions
and
6 deletions
DDDetectors/CMakeLists.txt
+
4
−
6
View file @
ae1a7bd5
...
...
@@ -22,14 +22,12 @@ include_directories(${CMAKE_SOURCE_DIR}/DDCore/include
#---Add Library---------------------------------------------------------------------
file
(
GLOB sources src/*.cpp
)
add_library
(
DD4hepDetectors SHARED
${
sources
}
)
target_link_libraries
(
DD4hepDetectors DDCore DDRec
${
ROOT_LIBRARIES
}
)
#
#---Rootmap generation--------------------------------------------------------------
dd4hep_generate_rootmap
(
DD4hepDetectors
)
add_dd4hep_plugin
(
DDDetectors SHARED
${
sources
}
)
target_link_libraries
(
DDDetectors DDCore DDRec
${
ROOT_LIBRARIES
}
)
#
#--- install target-----------------------------------------------------------------
install
(
TARGETS DD
4hep
Detectors LIBRARY DESTINATION lib
)
install
(
TARGETS DDDetectors LIBRARY DESTINATION lib
)
install
(
DIRECTORY compact
DESTINATION DDDetectors
...
...
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