Skip to content
Snippets Groups Projects
Commit b8cf9fe9 authored by Frank Winklmeier's avatar Frank Winklmeier
Browse files

LArTrackingGeometry: cmake cleanup

- remove `atlas_depends_on_subdirs`
- do not install component headers
- update link dependencies
- enable flake8
parent 2b4130eb
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
# Package: LArTrackingGeometry
################################################################################
# Declare the package name: # Declare the package name:
atlas_subdir( LArTrackingGeometry ) atlas_subdir( LArTrackingGeometry )
# Declare the package's dependencies:
atlas_depends_on_subdirs( PUBLIC
Calorimeter/CaloTrackingGeometry
Control/AthenaBaseComps
GaudiKernel
Tracking/TrkDetDescr/TrkDetDescrInterfaces
PRIVATE
Calorimeter/CaloDetDescr
Control/StoreGate
DetectorDescription/GeoModel/GeoModelUtilities
LArCalorimeter/LArGeoModel/LArReadoutGeometry
Tracking/TrkDetDescr/TrkDetDescrGeoModelCnv
Tracking/TrkDetDescr/TrkDetDescrUtils
Tracking/TrkDetDescr/TrkGeometry
Tracking/TrkDetDescr/TrkGeometrySurfaces
Tracking/TrkDetDescr/TrkSurfaces
Tracking/TrkDetDescr/TrkVolumes )
# External dependencies: # External dependencies:
find_package( Eigen )
find_package( GeoModelCore ) find_package( GeoModelCore )
# Component(s) in the package: # Component(s) in the package:
atlas_add_component( LArTrackingGeometry atlas_add_component( LArTrackingGeometry
src/*.cxx src/*.cxx
src/components/*.cxx src/components/*.cxx
INCLUDE_DIRS ${EIGEN_INCLUDE_DIRS} ${GEOMODELCORE_INCLUDE_DIRS} INCLUDE_DIRS ${GEOMODELCORE_INCLUDE_DIRS}
LINK_LIBRARIES ${EIGEN_LIBRARIES} ${GEOMODELCORE_LIBRARIES} AthenaBaseComps GaudiKernel TrkDetDescrInterfaces CaloDetDescrLib StoreGateLib SGtests GeoModelUtilities LArReadoutGeometry TrkDetDescrGeoModelCnv TrkDetDescrUtils TrkGeometry TrkGeometrySurfaces TrkSurfaces TrkVolumes CaloTrackingGeometryLib ) LINK_LIBRARIES ${GEOMODELCORE_LIBRARIES} AthenaBaseComps GaudiKernel TrkDetDescrInterfaces CaloDetDescrLib GeoModelUtilities LArReadoutGeometry TrkDetDescrGeoModelCnv TrkDetDescrUtils TrkGeometry TrkGeometrySurfaces TrkSurfaces TrkVolumes CaloTrackingGeometryLib )
# Install files from the package: # Install files from the package:
atlas_install_headers( LArTrackingGeometry ) atlas_install_python_modules( python/*.py POST_BUILD_CMD ${ATLAS_FLAKE8} )
atlas_install_python_modules( python/*.py )
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