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

Commission: cmake configuration cleanup

parent 28d2e8d2
No related branches found
No related tags found
No related merge requests found
################################################################################
# Package: CommissionAthenaPool
################################################################################
# Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
# Declare the package name:
atlas_subdir( CommissionAthenaPool )
# Declare the package's dependencies:
atlas_depends_on_subdirs( PUBLIC
Database/AthenaPOOL/AthenaPoolUtilities
GaudiKernel
PRIVATE
Commission/CommissionEvent
Database/AthenaPOOL/AthenaPoolCnvSvc )
# Component(s) in the package:
atlas_add_poolcnv_library( CommissionAthenaPoolPoolCnv
src/*.cxx
......
################################################################################
# Package: CommissionEvent
################################################################################
# Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
# Declare the package name:
atlas_subdir( CommissionEvent )
# Declare the package's dependencies:
atlas_depends_on_subdirs( PUBLIC
Control/AthenaKernel )
# External dependencies:
find_package( CLHEP )
find_package( ROOT COMPONENTS Core Tree MathCore Hist RIO pthread )
# Component(s) in the package:
atlas_add_library( CommissionEvent
......@@ -20,12 +13,9 @@ atlas_add_library( CommissionEvent
INCLUDE_DIRS ${CLHEP_INCLUDE_DIRS}
PRIVATE_INCLUDE_DIRS ${ROOT_INCLUDE_DIRS}
DEFINITIONS ${CLHEP_DEFINITIONS}
LINK_LIBRARIES ${CLHEP_LIBRARIES} AthenaKernel
PRIVATE_LINK_LIBRARIES ${ROOT_LIBRARIES} )
LINK_LIBRARIES ${CLHEP_LIBRARIES} AthenaKernel )
atlas_add_dictionary( CommissionEventDict
CommissionEvent/CommissionEventDict.h
CommissionEvent/selection.xml
INCLUDE_DIRS ${ROOT_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS}
LINK_LIBRARIES ${ROOT_LIBRARIES} ${CLHEP_LIBRARIES} CommissionEvent )
LINK_LIBRARIES CommissionEvent )
################################################################################
# Package: CommissionRec
################################################################################
# Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
# Declare the package name:
atlas_subdir( CommissionRec )
# Declare the package's dependencies:
atlas_depends_on_subdirs( PUBLIC
Commission/CommissionUtils
Control/AthenaBaseComps
GaudiKernel
PRIVATE
Commission/CommissionEvent
Simulation/G4Sim/TrackRecord )
# External dependencies:
find_package( CLHEP )
......@@ -23,7 +12,3 @@ atlas_add_component( CommissionRec
src/components/*.cxx
INCLUDE_DIRS ${CLHEP_INCLUDE_DIRS}
LINK_LIBRARIES ${CLHEP_LIBRARIES} CommissionUtilsLib AthenaBaseComps GaudiKernel CommissionEvent TrackRecordLib )
# Install files from the package:
atlas_install_headers( CommissionRec )
################################################################################
# Package: CommissionUtils
################################################################################
# Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
# Declare the package name:
atlas_subdir( CommissionUtils )
# Declare the package's dependencies:
atlas_depends_on_subdirs( PUBLIC
Control/AthenaBaseComps
Control/AthenaKernel
GaudiKernel
PRIVATE
Commission/CommissionEvent
LArCalorimeter/LArSimEvent
Simulation/G4Sim/TrackRecord )
# External dependencies:
find_package( CLHEP )
......@@ -25,12 +13,11 @@ atlas_add_library( CommissionUtilsLib
PRIVATE_INCLUDE_DIRS ${CLHEP_INCLUDE_DIRS}
PRIVATE_DEFINITIONS ${CLHEP_DEFINITIONS}
LINK_LIBRARIES AthenaBaseComps AthenaKernel GaudiKernel
PRIVATE_LINK_LIBRARIES ${CLHEP_LIBRARIES} CommissionEvent LArSimEvent )
PRIVATE_LINK_LIBRARIES ${CLHEP_LIBRARIES} CommissionEvent LArSimEvent TrackRecordLib )
atlas_add_component( CommissionUtils
src/components/*.cxx
INCLUDE_DIRS ${CLHEP_INCLUDE_DIRS}
LINK_LIBRARIES ${CLHEP_LIBRARIES} AthenaBaseComps AthenaKernel GaudiKernel CommissionEvent LArSimEvent CommissionUtilsLib )
LINK_LIBRARIES CommissionUtilsLib )
# Install files from the package:
atlas_install_joboptions( share/*.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