Commit c9ecb380 authored by Frank Winklmeier's avatar Frank Winklmeier
Browse files

Merge branch 'cmake_athtool' into 'master'

AthLinksSA+AthToolSupport: cmake cleanup

See merge request !35333
parents d07b21be d023271f
#
# Build configuration for the standalone AthLinksSA package.
#
# Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
# Declare the name of this package:
atlas_subdir( AthLinks )
# This package depends on other packages:
atlas_depends_on_subdirs(
PUBLIC Control/xAODRootAccessInterfaces )
# This package uses ROOT:
find_package( ROOT COMPONENTS Core )
......
################################################################################
# Package: AsgDataHandles
################################################################################
# Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
# Declare the package name:
atlas_subdir( AsgDataHandles )
if( NOT XAOD_STANDALONE )
# Declare the package's dependencies:
atlas_depends_on_subdirs( PUBLIC Control/StoreGate )
# Component(s) in the package:
atlas_add_library( AsgDataHandlesLib INTERFACE
AsgDataHandles/*.h AsgDataHandles/*.icc
......@@ -20,11 +14,6 @@ atlas_add_library( AsgDataHandlesLib INTERFACE
else()
# Declare the package's dependencies:
atlas_depends_on_subdirs(
PUBLIC Control/AthToolSupport/AsgMessaging
Control/xAODRootAccessInterfaces )
# Component(s) in the package:
atlas_add_library( AsgDataHandlesLib
AsgDataHandles/*.h AsgDataHandles/*.icc Root/*.cxx
......
################################################################################
# Package: AsgExampleTools
################################################################################
# Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
# Declare the package name:
atlas_subdir( AsgExampleTools )
if (SIMULATIONBASE)
set (extra_dep )
set (extra_lib )
else()
set (extra_dep Event/xAOD/xAODMuon)
set (extra_lib xAODMuon)
endif()
# Declare the package's dependencies:
atlas_depends_on_subdirs(
PUBLIC
Control/AthToolSupport/AsgDataHandles
Control/AthToolSupport/AsgTools
Control/AthToolSupport/AsgTesting
${extra_dep})
# External dependencies:
find_package( GTest )
find_package( GMock )
......
# $Id: CMakeLists.txt 804698 2017-05-11 16:03:27Z krumnack $
################################################################################
# Package: AsgTools
################################################################################
# Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
# Declare the package name:
atlas_subdir( AsgTools )
# Dependencies are taken based on what environment we are in:
if( XAOD_STANDALONE )
set( deps Control/AthToolSupport/AsgMessaging Control/xAODRootAccessInterfaces Control/xAODRootAccess )
set( libs AsgMessagingLib xAODRootAccessInterfaces xAODRootAccess )
else()
set( deps Control/AthToolSupport/AsgMessaging Control/xAODRootAccess Control/AthenaBaseComps Control/AthenaKernel
GaudiKernel )
set( libs AsgMessagingLib AthenaBaseComps AthenaKernel GaudiKernel )
endif()
# Declare the package's dependencies:
atlas_depends_on_subdirs( PUBLIC ${deps} )
# Decide which sources to use:
if( XAOD_STANDALONE )
set( sources Root/*.cxx )
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment