Skip to content
Snippets Groups Projects
Commit a8686d55 authored by Tadej Novak's avatar Tadej Novak
Browse files

Merge branch 'perfmon_link' into 'main'

PerfMon: cleanup link dependencies

See merge request atlas/athena!75574
parents e42d9b8c a92dcb8c
No related branches found
No related tags found
No related merge requests found
# Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
# Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
# Declare the package name:
atlas_subdir( PerfMonComps )
# External dependencies:
find_package( AIDA )
find_package( Boost )
find_package( Python COMPONENTS Development )
find_package( ROOT COMPONENTS Core ROOTTPython
cppyy${Python_VERSION_MAJOR}_${Python_VERSION_MINOR} )
find_package( TBB )
find_package( nlohmann_json )
find_package( psutil )
# Component(s) in the package:
atlas_add_component( PerfMonComps
src/*.cxx src/components/*.cxx
INCLUDE_DIRS ${AIDA_INCLUDE_DIRS} ${Boost_INCLUDE_DIRS} ${ROOT_INCLUDE_DIRS}
${Python_INCLUDE_DIRS} ${TBB_INCLUDE_DIRS}
LINK_LIBRARIES ${ROOT_LIBRARIES} ${Python_LIBRARIES}
${CMAKE_DL_LIBS} ${TBB_LIBRARIES} AthenaBaseComps AthenaKernel RootUtilsPyROOT CxxUtils
PerfMonEvent PerfMonKernel SGTools StoreGateLib GaudiKernel
AthDSoCallBacks nlohmann_json::nlohmann_json)
INCLUDE_DIRS ${TBB_INCLUDE_DIRS}
LINK_LIBRARIES ${TBB_LIBRARIES} AthenaBaseComps CxxUtils GaudiKernel PerfMonEvent PerfMonKernel nlohmann_json::nlohmann_json )
# Install files from the package:
atlas_install_python_modules( python/*.py POST_BUILD_CMD ${ATLAS_FLAKE8} )
# Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
# Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
# Declare the package name:
atlas_subdir( PerfMonEvent )
# External dependencies:
find_package( Python COMPONENTS Development )
find_package( ROOT COMPONENTS Core Tree MathCore Hist RIO pthread )
find_package( nlohmann_json )
# Component(s) in the package:
atlas_add_library( PerfMonEvent
src/DataModel.cxx
PUBLIC_HEADERS PerfMonEvent
INCLUDE_DIRS ${Python_INCLUDE_DIRS}
PRIVATE_INCLUDE_DIRS ${ROOT_INCLUDE_DIRS}
LINK_LIBRARIES ${Python_LIBRARIES} CxxUtils GaudiKernel rt nlohmann_json::nlohmann_json CxxUtils
PRIVATE_LINK_LIBRARIES ${ROOT_LIBRARIES} )
LINK_LIBRARIES CxxUtils )
atlas_add_dictionary( PerfMonEventDict
PerfMonEvent/PerfMonEventDict.h
PerfMonEvent/PerfMonEventDict.h
PerfMonEvent/selection.xml
INCLUDE_DIRS ${Python_INCLUDE_DIRS} ${ROOT_INCLUDE_DIRS}
LINK_LIBRARIES ${Python_LIBRARIES} ${ROOT_LIBRARIES} rt GaudiKernel PerfMonEvent )
LINK_LIBRARIES PerfMonEvent )
# Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
# Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
# Declare the package name:
atlas_subdir( PerfMonKernel )
# External dependencies:
find_package( nlohmann_json )
# Component(s) in the package:
atlas_add_library( PerfMonKernel
src/*.cxx
PUBLIC_HEADERS PerfMonKernel
LINK_LIBRARIES GaudiKernel nlohmann_json::nlohmann_json )
LINK_LIBRARIES GaudiKernel )
# Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
# Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
# Declare the package name:
atlas_subdir( PerfMonTests )
......@@ -11,7 +11,7 @@ atlas_add_component( PerfMonTests
src/*.cxx
src/components/*.cxx
INCLUDE_DIRS ${CLHEP_INCLUDE_DIRS}
LINK_LIBRARIES ${CLHEP_LIBRARIES} AthenaBaseComps AthenaKernel AthAllocators AthContainers CxxUtils PerfMonKernel GaudiKernel )
LINK_LIBRARIES ${CLHEP_LIBRARIES} AthenaBaseComps AthenaKernel AthAllocators AthContainers CxxUtils GaudiKernel )
# Install files from the package:
atlas_install_python_modules( python/*.py POST_BUILD_CMD ${ATLAS_FLAKE8} )
......
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