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