Skip to content
Snippets Groups Projects
Commit 3ae0bbd9 authored by Adam Edward Barton's avatar Adam Edward Barton
Browse files

Merge branch 'cmake_misc' into 'master'

Various cmake cleanups

See merge request atlas/athena!38473
parents b16b1144 d549e428
No related branches found
No related tags found
No related merge requests found
################################################################################
# Package: PixelGeoModelXml
################################################################################
# Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
# Declare the package name:
atlas_subdir( PixelGeoModelXml )
# Declare the package's dependencies:
atlas_depends_on_subdirs( PUBLIC
Control/AthenaKernel
Database/AthenaPOOL/RDBAccessSvc
DetectorDescription/GeoModelXml
DetectorDescription/GeoModel/GeoModelUtilities
GaudiKernel
InnerDetector/InDetDetDescr/InDetGeoModelUtils
InnerDetector/InDetDetDescr/PixelReadoutGeometry
InnerDetector/InDetDetDescr/PixelReadoutGeometry
InnerDetector/InDetDetDescr/InDetReadoutGeometry
InnerDetector/InDetSimEvent
PRIVATE
Control/CLIDSvc
Control/SGTools
Control/StoreGate
Database/AthenaPOOL/AthenaPoolUtilities
DetectorDescription/DetDescrCond/DetDescrConditions
DetectorDescription/GeoModel/GeoModelInterfaces
DetectorDescription/GeometryDBSvc
DetectorDescription/Identifier
InnerDetector/InDetDetDescr/InDetIdentifier
Tools/PathResolver )
# External dependencies:
find_package( Boost COMPONENTS filesystem thread system )
find_package( CORAL COMPONENTS CoralBase CoralKernel RelationalAccess )
find_package( GeoModelCore )
# Component(s) in the package:
atlas_add_library( PixelGeoModelXmlLib
src/*.cxx
PUBLIC_HEADERS PixelGeoModelXml
INCLUDE_DIRS ${Boost_INCLUDE_DIRS} ${CORAL_INCLUDE_DIRS}
LINK_LIBRARIES ${Boost_LIBRARIES} ${CORAL_LIBRARIES} AthenaKernel GeoModelXml GeoModelUtilities GaudiKernel InDetGeoModelUtils InDetReadoutGeometry PixelReadoutGeometry PixelReadoutGeometry StoreGateLib InDetSimEvent
PRIVATE_LINK_LIBRARIES SGTools AthenaPoolUtilities DetDescrConditions Identifier InDetIdentifier PathResolver)
PRIVATE_INCLUDE_DIRS ${GEOMODELCORE_INCLUDE_DIRS}
LINK_LIBRARIES GaudiKernel GeoModelUtilities GeoModelXml InDetGeoModelUtils PixelReadoutGeometry
PRIVATE_LINK_LIBRARIES ${GEOMODELCORE_LIBRARIES} AthenaPoolUtilities DetDescrConditions GeoModelInterfaces GeometryDBSvcLib InDetReadoutGeometry InDetSimEvent PathResolver RDBAccessSvcLib SGTools StoreGateLib )
atlas_add_component( PixelGeoModelXml
src/components/*.cxx
LINK_LIBRARIES SGTools StoreGateLib SGtests AthenaPoolUtilities DetDescrConditions Identifier InDetIdentifier PixelGeoModelXmlLib )
src/components/*.cxx
LINK_LIBRARIES PixelGeoModelXmlLib )
# Install files from the package:
atlas_install_python_modules( python/*.py )
atlas_install_python_modules( python/*.py POST_BUILD_CMD ${ATLAS_FLAKE8} )
# Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
#
# @author Nils Krumnack
# Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
# The name of the package:
atlas_subdir( JetAnalysisAlgorithms )
atlas_depends_on_subdirs(
PUBLIC
Event/xAOD/xAODJet
PhysicsAnalysis/Algorithms/SelectionHelpers
PhysicsAnalysis/Algorithms/SystematicsHandles
PhysicsAnalysis/D3PDTools/AnaAlgorithm
Reconstruction/Jet/JetCalibTools
Reconstruction/Jet/JetCPInterfaces
Reconstruction/Jet/JetInterface
Reconstruction/Jet/JetJvtEfficiency
Reconstruction/MET/METUtilities )
atlas_add_library( JetAnalysisAlgorithmsLib
JetAnalysisAlgorithms/*.h JetAnalysisAlgorithms/*.icc Root/*.cxx
PUBLIC_HEADERS JetAnalysisAlgorithms
LINK_LIBRARIES xAODJet SelectionHelpersLib SystematicsHandlesLib
AnaAlgorithmLib JetCalibToolsLib JetInterface
JetCPInterfaces JetJvtEfficiencyLib JetAnalysisInterfacesLib METUtilitiesLib )
JetCPInterfaces JetAnalysisInterfacesLib
PRIVATE_LINK_LIBRARIES METUtilitiesLib xAODMuon )
atlas_add_dictionary( JetAnalysisAlgorithmsDict
JetAnalysisAlgorithms/JetAnalysisAlgorithmsDict.h
......@@ -33,10 +19,11 @@ atlas_add_dictionary( JetAnalysisAlgorithmsDict
if( NOT XAOD_STANDALONE )
atlas_add_component( JetAnalysisAlgorithms
src/*.h src/*.cxx src/components/*.cxx
LINK_LIBRARIES GaudiKernel JetAnalysisAlgorithmsLib )
LINK_LIBRARIES AnaAlgorithmLib JetAnalysisInterfacesLib JetCPInterfaces JetCalibToolsLib
JetInterface SelectionHelpersLib SystematicsHandlesLib xAODJet JetAnalysisAlgorithmsLib )
endif()
atlas_install_python_modules( python/*.py )
atlas_install_python_modules( python/*.py POST_BUILD_CMD ${ATLAS_FLAKE8} )
atlas_install_joboptions( share/*_jobOptions.py )
atlas_install_scripts( share/*_eljob.py )
......
# Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
#
# @author Nils Krumnack
# Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
# The name of the package:
atlas_subdir( MetAnalysisAlgorithms )
# The package's dependencies:
atlas_depends_on_subdirs(
PUBLIC
Event/xAOD/xAODMissingET
PhysicsAnalysis/Algorithms/SystematicsHandles
PhysicsAnalysis/D3PDTools/AnaAlgorithm
PhysicsAnalysis/Interfaces/METInterface
Reconstruction/MET/METInterface
Reconstruction/MET/METUtilities
PRIVATE )
atlas_add_library( MetAnalysisAlgorithmsLib
MetAnalysisAlgorithms/*.h MetAnalysisAlgorithms/*.icc Root/*.cxx
PUBLIC_HEADERS MetAnalysisAlgorithms
LINK_LIBRARIES xAODMissingET
SystematicsHandlesLib AnaAlgorithmLib METInterface
SelectionHelpersLib METUtilitiesLib
PRIVATE_LINK_LIBRARIES )
LINK_LIBRARIES AnaAlgorithmLib METInterface SystematicsHandlesLib xAODBase xAODMissingET
PRIVATE_LINK_LIBRARIES METUtilitiesLib xAODEventInfo )
atlas_add_dictionary( MetAnalysisAlgorithmsDict
MetAnalysisAlgorithms/MetAnalysisAlgorithmsDict.h
......@@ -33,10 +17,11 @@ atlas_add_dictionary( MetAnalysisAlgorithmsDict
if( NOT XAOD_STANDALONE )
atlas_add_component( MetAnalysisAlgorithms
src/*.h src/*.cxx src/components/*.cxx
LINK_LIBRARIES GaudiKernel MetAnalysisAlgorithmsLib )
LINK_LIBRARIES AnaAlgorithmLib METInterface SystematicsHandlesLib xAODBase
xAODMissingET MetAnalysisAlgorithmsLib )
endif()
atlas_install_python_modules( python/*.py )
atlas_install_python_modules( python/*.py POST_BUILD_CMD ${ATLAS_FLAKE8} )
atlas_install_joboptions( share/*_jobOptions.py )
atlas_install_scripts( share/*_eljob.py )
......
################################################################################
# Package: HadronicRecoilData
################################################################################
# Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
# Declare the package name:
atlas_subdir( HadronicRecoilData )
# Declare the package's dependencies:
atlas_depends_on_subdirs( PUBLIC
Calorimeter/CaloEvent
Control/AthenaKernel
Control/AthContainers
PhysicsAnalysis/TruthParticleID/McParticleEvent
Reconstruction/MuonIdentification/muonEvent
Reconstruction/Particle
Reconstruction/egamma/egammaEvent )
# External dependencies:
find_package( ROOT COMPONENTS Core Tree MathCore Hist RIO pthread )
find_package( ROOT COMPONENTS Core MathCore )
# Component(s) in the package:
atlas_add_library( HadronicRecoilData
src/*.cxx
PUBLIC_HEADERS HadronicRecoilData
INCLUDE_DIRS ${ROOT_INCLUDE_DIRS}
LINK_LIBRARIES ${ROOT_LIBRARIES} CaloEvent AthContainers McParticleEvent muonEvent Particle egammaEvent )
LINK_LIBRARIES ${ROOT_LIBRARIES} CaloEvent AthContainers AthenaKernel McParticleEvent muonEvent Particle egammaEvent )
# Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
################################################################################
# Package: TriggerMenuXML
################################################################################
......@@ -14,11 +15,6 @@
# Declare the package name:
atlas_subdir( TriggerMenuXML )
# Declare the package's dependencies:
atlas_depends_on_subdirs( PRIVATE
Trigger/TriggerCommon/TriggerJobOpts
Trigger/TriggerCommon/TriggerMenu )
# Function to build trigger menu:
function( atlas_build_trigger_menu menu )
......
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