Skip to content
Snippets Groups Projects
Commit 07164c07 authored by Will Buttinger's avatar Will Buttinger
Browse files

small improvements to skeleton cmakelists, including bypass CLIDDB generation...

small improvements to skeleton cmakelists, including bypass CLIDDB generation since unnecessary in almost all analysis uses cases


Former-commit-id: eefa3155230543e67991d71e0e8bd22802c66663
parent 7daf1e21
No related branches found
No related tags found
No related merge requests found
...@@ -68,21 +68,9 @@ def main(args): ...@@ -68,21 +68,9 @@ def main(args):
# Declare external dependencies ... default here is to include ROOT # Declare external dependencies ... default here is to include ROOT
find_package( ROOT COMPONENTS MathCore RIO Core Tree Hist ) find_package( ROOT COMPONENTS MathCore RIO Core Tree Hist )
# Declare public and private dependencies
# Public dependencies are anything that appears in the headers in public include dir
# Private is anything else
# An example is included
atlas_depends_on_subdirs(
PUBLIC
PRIVATE
Control/AthAnalysisBaseComps
)
# Declare package as a library # Declare package as a library
# Note the convention that library names get "Lib" suffix # Note the convention that library names get "Lib" suffix
# Any package you add to dependencies above, you should add # Any package you depend on you should add
# to LINK_LIBRARIES line below (see the example) # to LINK_LIBRARIES line below (see the example)
atlas_add_library( %(pkg_name)sLib src/*.cxx atlas_add_library( %(pkg_name)sLib src/*.cxx
PUBLIC_HEADERS %(pkg_name)s PUBLIC_HEADERS %(pkg_name)s
...@@ -91,9 +79,10 @@ def main(args): ...@@ -91,9 +79,10 @@ def main(args):
AthAnalysisBaseCompsLib AthAnalysisBaseCompsLib
) )
# if you add components (tools, algorithms) to this package # if you add athena components (tools, algorithms) to this package
# these lines are needed so you can configure them in joboptions # these lines are needed so you can configure them in joboptions
atlas_add_component( %(pkg_name)s src/components/*.cxx atlas_add_component( %(pkg_name)s src/components/*.cxx
NOCLIDDB
LINK_LIBRARIES %(pkg_name)sLib LINK_LIBRARIES %(pkg_name)sLib
) )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment