From 07164c075549b23a68e12d25371e0de10197402d Mon Sep 17 00:00:00 2001 From: Will Buttinger <will@cern.ch> Date: Thu, 26 Apr 2018 09:25:47 +0100 Subject: [PATCH] small improvements to skeleton cmakelists, including bypass CLIDDB generation since unnecessary in almost all analysis uses cases Former-commit-id: eefa3155230543e67991d71e0e8bd22802c66663 --- .../PyUtils/python/scripts/cmake_newskeleton.py | 17 +++-------------- 1 file changed, 3 insertions(+), 14 deletions(-) diff --git a/Tools/PyUtils/python/scripts/cmake_newskeleton.py b/Tools/PyUtils/python/scripts/cmake_newskeleton.py index c2508c4f5a7..02528bf0b5f 100644 --- a/Tools/PyUtils/python/scripts/cmake_newskeleton.py +++ b/Tools/PyUtils/python/scripts/cmake_newskeleton.py @@ -68,21 +68,9 @@ def main(args): # Declare external dependencies ... default here is to include ROOT 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 # 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) atlas_add_library( %(pkg_name)sLib src/*.cxx PUBLIC_HEADERS %(pkg_name)s @@ -91,9 +79,10 @@ def main(args): 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 atlas_add_component( %(pkg_name)s src/components/*.cxx + NOCLIDDB LINK_LIBRARIES %(pkg_name)sLib ) -- GitLab