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
d8e8506e
Commit
d8e8506e
authored
5 years ago
by
Andre Sailer
Committed by
Marko Petric
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
CreatePlugin: use listcomponents targets directly
parent
2ce371e4
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
cmake/DD4hep.cmake
+4
-7
4 additions, 7 deletions
cmake/DD4hep.cmake
with
4 additions
and
7 deletions
cmake/DD4hep.cmake
+
4
−
7
View file @
d8e8506e
...
...
@@ -90,13 +90,10 @@ function(dd4hep_generate_rootmap_notapple library)
add_custom_command
(
OUTPUT
${
rootmapfile
}
DEPENDS
${
library
}
POST_BUILD
COMMAND
${
CMAKE_COMMAND
}
-Dlibname=$<TARGET_FILE_NAME:
${
library
}
> -Drootmapfile=
${
rootmapfile
}
-DDD4HEP_LISTCOMPONENTS_CMD=$<TARGET_FILE:DD4hep::listcomponents>
-DLIBRARY_LOCATION=$<TARGET_FILE_DIR:
${
library
}
>
-DDD4HEP_LIBRARY_LOCATION=$<TARGET_FILE_DIR:DD4hep::DDCore>
-DDD4hep_DIR=
${
DD4hep_DIR
}
-P
${
DD4hep_DIR
}
/cmake/MakeGaudiMap.cmake
)
COMMAND DD4hep::listcomponents -o
${
rootmapfile
}
$<TARGET_FILE:
${
library
}
>
WORKING_DIRECTORY
${
LIBRARY_OUTPUT_PATH
}
)
add_custom_target
(
Components_
${
library
}
ALL DEPENDS
${
rootmapfile
}
)
SET
(
install_destination
"lib"
)
if
(
CMAKE_INSTALL_LIBDIR
)
...
...
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