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

Generators: cleanup cmake of generator interface packages

Remove `atlas_depends_on_subdirs` and cleanup link dependencies.
parent 36acf988
No related branches found
No related tags found
No related merge requests found
Showing
with 25 additions and 219 deletions
################################################################################ # Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
# Package: Charybdis_i
################################################################################
# Declare the package name: # Declare the package name:
atlas_subdir( Charybdis_i ) atlas_subdir( Charybdis_i )
# Declare the package's dependencies:
atlas_depends_on_subdirs(
PRIVATE
Generators/GeneratorFortranCommon )
# External dependencies: # External dependencies:
find_package( Herwig ) find_package( Herwig )
find_package( Lhapdf ) find_package( Lhapdf )
......
################################################################################ # Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
# Package: Epos_i
################################################################################
# Declare the package name: # Declare the package name:
atlas_subdir( Epos_i ) atlas_subdir( Epos_i )
# Declare the package's dependencies:
atlas_depends_on_subdirs( PUBLIC
Generators/GeneratorModules
Generators/AtlasHepMC
PRIVATE
Control/AthenaKernel
GaudiKernel
Generators/TruthUtils )
# External dependencies: # External dependencies:
find_package( CLHEP ) find_package( CLHEP )
find_package( Crmc COMPONENTS Epos ) find_package( Crmc COMPONENTS Epos )
...@@ -36,8 +25,7 @@ atlas_add_library( Epos_iLib ...@@ -36,8 +25,7 @@ atlas_add_library( Epos_iLib
atlas_add_component( Epos_i atlas_add_component( Epos_i
src/components/*.cxx src/components/*.cxx
INCLUDE_DIRS ${CRMC_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} LINK_LIBRARIES Epos_iLib )
LINK_LIBRARIES ${CRMC_LIBRARIES} ${CLHEP_LIBRARIES} AtlasHepMCLib AtlasHepMCfioLib GeneratorModulesLib AthenaKernel GaudiKernel TruthUtils Epos_iLib )
# Install files from the package: # Install files from the package:
atlas_install_joboptions( share/*.py ) atlas_install_joboptions( share/*.py )
......
################################################################################ # Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
# Package: EvtGen_i
################################################################################
# Declare the package name: # Declare the package name:
atlas_subdir( EvtGen_i ) atlas_subdir( EvtGen_i )
# Declare the package's dependencies:
atlas_depends_on_subdirs( PUBLIC
Control/StoreGate
GaudiKernel
Generators/GeneratorModules
Generators/GeneratorObjects
Generators/AtlasHepMC
PRIVATE
Control/AthenaKernel )
#set( PHOTOSPP_VERSION 3.61 ) #set( PHOTOSPP_VERSION 3.61 )
#set( PHOTOSPP_ROOT #set( PHOTOSPP_ROOT
# /cvmfs/sft.cern.ch/lcg/releases/LCG_88/MCGenerators/photos++/${PHOTOSPP_VERSION}/${LCG_PLATFORM} ) # /cvmfs/sft.cern.ch/lcg/releases/LCG_88/MCGenerators/photos++/${PHOTOSPP_VERSION}/${LCG_PLATFORM} )
# External dependencies: # External dependencies:
find_package( Boost COMPONENTS filesystem thread system ) find_package( Boost COMPONENTS filesystem thread system )
find_package( CLHEP ) find_package( CLHEP )
...@@ -58,8 +44,7 @@ atlas_add_library( EvtGen_iLib ...@@ -58,8 +44,7 @@ atlas_add_library( EvtGen_iLib
atlas_add_component( EvtGen_i atlas_add_component( EvtGen_i
src/components/*.cxx src/components/*.cxx
INCLUDE_DIRS ${Boost_INCLUDE_DIRS} ${HEPPDT_INCLUDE_DIRS} ${ROOT_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} ${PYTHIA8_INCLUDE_DIRS} ${PHOTOSPP_INCLUDE_DIRS} ${TAUOLAPP_INCLUDE_DIRS} ${EVTGEN_INCLUDE_DIRS} LINK_LIBRARIES EvtGen_iLib )
LINK_LIBRARIES ${Boost_LIBRARIES} ${HEPPDT_LIBRARIES} ${ROOT_LIBRARIES} ${CLHEP_LIBRARIES} ${PYTHIA8_LIBRARIES} ${PHOTOSPP_LIBRARIES} ${TAUOLAPP_LIBRARIES} AtlasHepMCLib ${EVTGEN_LIBRARIES} StoreGateLib SGtests GaudiKernel GeneratorModulesLib GeneratorObjects AthenaKernel EvtGen_iLib )
# Install files from the package: # Install files from the package:
atlas_install_joboptions( share/common/*.py ) atlas_install_joboptions( share/common/*.py )
......
################################################################################ # Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
# Package: HepMCAnalysis_i
################################################################################
# Declare the package name: # Declare the package name:
atlas_subdir( HepMCAnalysis_i ) atlas_subdir( HepMCAnalysis_i )
# Declare the package's dependencies:
atlas_depends_on_subdirs(
PUBLIC
Control/AthenaBaseComps
GaudiKernel
Generators/AtlasHepMC
PRIVATE
Control/StoreGate
Event/EventInfo
Generators/GeneratorObjects
Generators/TruthUtils )
# External dependencies: # External dependencies:
find_package( CLHEP ) find_package( CLHEP )
find_package( HEPUtils ) find_package( HEPUtils )
...@@ -30,8 +16,6 @@ else() ...@@ -30,8 +16,6 @@ else()
set( HEPMC_HepMCAnalysis_INTERFACE_DIR ) set( HEPMC_HepMCAnalysis_INTERFACE_DIR )
endif() endif()
# Component(s) in the package: # Component(s) in the package:
atlas_add_component( HepMCAnalysis_i atlas_add_component( HepMCAnalysis_i
HepMCAnalysis_i/*.h src/*.cxx src/components/*.cxx HepMCAnalysis_i/*.h src/*.cxx src/components/*.cxx
......
################################################################################ # Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
# Package: Herwig7_i
################################################################################
# Declare the package name: # Declare the package name:
atlas_subdir( Herwig7_i ) atlas_subdir( Herwig7_i )
# Declare the package's dependencies:
atlas_depends_on_subdirs(
PUBLIC
Generators/GeneratorModules
Generators/AtlasHepMC
PRIVATE
Event/EventInfo
GaudiKernel
Tools/PathResolver )
# External dependencies: # External dependencies:
find_package( Boost ) find_package( Boost )
find_package( Herwig3 COMPONENTS HerwigAPI ) find_package( Herwig3 COMPONENTS HerwigAPI )
......
################################################################################ # Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
# Package: Hijing_i
################################################################################
# Declare the package name: # Declare the package name:
atlas_subdir( Hijing_i ) atlas_subdir( Hijing_i )
# Declare the package's dependencies:
atlas_depends_on_subdirs(
PUBLIC
Generators/GeneratorFortranCommon
Generators/GeneratorModules
Generators/AtlasHepMC
Control/CxxUtils
PRIVATE
Control/AthenaKernel
Control/StoreGate
GaudiKernel
Generators/GeneratorObjects
Generators/GeneratorUtils
Generators/TruthUtils )
# External dependencies: # External dependencies:
find_package( CLHEP ) find_package( CLHEP )
find_package( Hijing ) find_package( Hijing )
...@@ -38,7 +21,7 @@ atlas_add_library( Hijing_iLib ...@@ -38,7 +21,7 @@ atlas_add_library( Hijing_iLib
LINK_LIBRARIES ${HIJING_LIBRARIES} ${CLHEP_LIBRARIES} LINK_LIBRARIES ${HIJING_LIBRARIES} ${CLHEP_LIBRARIES}
GeneratorFortranCommonLib GeneratorModulesLib StoreGateLib GeneratorFortranCommonLib GeneratorModulesLib StoreGateLib
PRIVATE_LINK_LIBRARIES AtlasHepMCLib AthenaKernel GaudiKernel PRIVATE_LINK_LIBRARIES AtlasHepMCLib AthenaKernel GaudiKernel
GeneratorObjects TruthUtils ) GeneratorObjects GeneratorUtilsLib TruthUtils )
atlas_add_component( Hijing_i atlas_add_component( Hijing_i
src/components/*.cxx src/components/*.cxx
......
################################################################################ # Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
# Package: Hydjet_i
################################################################################
# Declare the package name: # Declare the package name:
atlas_subdir( Hydjet_i ) atlas_subdir( Hydjet_i )
# Declare the package's dependencies:
atlas_depends_on_subdirs(
PUBLIC
Generators/GeneratorFortranCommon
Generators/GeneratorModules
Generators/AtlasHepMC
Control/CxxUtils
PRIVATE
Control/AthenaKernel
Control/StoreGate
GaudiKernel
Generators/GeneratorObjects
Generators/GeneratorUtils
Generators/TruthUtils )
# External dependencies: # External dependencies:
find_package( CLHEP ) find_package( CLHEP )
find_package( Hijing ) find_package( Hijing )
...@@ -39,10 +22,10 @@ atlas_add_library( Hydjet_iLib ...@@ -39,10 +22,10 @@ atlas_add_library( Hydjet_iLib
PRIVATE_INCLUDE_DIRS ${CLHEP_INCLUDE_DIRS} PRIVATE_INCLUDE_DIRS ${CLHEP_INCLUDE_DIRS}
PRIVATE_DEFINITIONS ${CLHEP_DEFINITIONS} PRIVATE_DEFINITIONS ${CLHEP_DEFINITIONS}
LINK_LIBRARIES ${PYQUEN_LIBRARIES} ${PYTHIA6_LIBRARIES} LINK_LIBRARIES ${PYQUEN_LIBRARIES} ${PYTHIA6_LIBRARIES}
${HYDJET_LIBRARIES} ${HIJING_LIBRARIES} GeneratorFortranCommonLib ${HYDJET_LIBRARIES} ${HIJING_LIBRARIES} CxxUtils GeneratorFortranCommonLib
GeneratorModulesLib StoreGateLib GeneratorModulesLib
PRIVATE_LINK_LIBRARIES ${CLHEP_LIBRARIES} AtlasHepMCLib PRIVATE_LINK_LIBRARIES ${CLHEP_LIBRARIES} AtlasHepMCLib
AthenaKernel GaudiKernel GeneratorObjects TruthUtils ) AthenaKernel GaudiKernel GeneratorObjects GeneratorUtilsLib StoreGateLib TruthUtils )
atlas_add_component( Hydjet_i atlas_add_component( Hydjet_i
src/components/*.cxx src/components/*.cxx
......
################################################################################ # Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
# Package: Lhef_i
################################################################################
# Declare the package name: # Declare the package name:
atlas_subdir( Lhef_i ) atlas_subdir( Lhef_i )
# Declare the package's dependencies:
atlas_depends_on_subdirs( PRIVATE
Generators/GeneratorFortranCommon )
# External dependencies: # External dependencies:
find_package( Pythia6 ) find_package( Pythia6 )
......
################################################################################ # Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
# Package: MCTester_i
################################################################################
# Declare the package name: # Declare the package name:
atlas_subdir( MCTester_i ) atlas_subdir( MCTester_i )
# Declare the package's dependencies:
atlas_depends_on_subdirs( PUBLIC
Control/AthenaBaseComps
GaudiKernel
PRIVATE
Control/StoreGate
Event/EventInfo
Generators/AtlasHepMC
Generators/GeneratorObjects )
# External dependencies: # External dependencies:
find_package( MCTester ) find_package( MCTester )
find_package( ROOT COMPONENTS Core Tree MathCore Hist RIO pthread MathMore Minuit Minuit2 Matrix Physics HistPainter Rint Graf Graf3d Gpad Html Postscript Gui GX11TTF GX11 ) find_package( ROOT COMPONENTS Core Tree MathCore Hist RIO pthread MathMore Minuit Minuit2 Matrix Physics HistPainter Rint Graf Graf3d Gpad Html Postscript Gui GX11TTF GX11 )
......
################################################################################ # Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
# Package: Photospp_i
################################################################################
# Declare the package name: # Declare the package name:
atlas_subdir( Photospp_i ) atlas_subdir( Photospp_i )
# Declare the package's dependencies:
atlas_depends_on_subdirs(
PUBLIC
Control/AthenaBaseComps
PRIVATE
Control/AthenaKernel
GaudiKernel
Generators/GeneratorObjects )
# External dependencies: # External dependencies:
find_package( CLHEP ) find_package( CLHEP )
if (HEPMC3_USE) if (HEPMC3_USE)
......
################################################################################ # Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
# Package: ProtosLHEF_i
################################################################################
# Declare the package name: # Declare the package name:
atlas_subdir( ProtosLHEF_i ) atlas_subdir( ProtosLHEF_i )
# Declare the package's dependencies:
atlas_depends_on_subdirs( PUBLIC
Control/AthenaBaseComps
PRIVATE
GaudiKernel
Generators/GeneratorFortranCommon )
# Component(s) in the package: # Component(s) in the package:
atlas_add_component( ProtosLHEF_i atlas_add_component( ProtosLHEF_i
src/*.cxx src/*.cxx
......
################################################################################ # Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
# Package: Pythia8B_i
################################################################################
# Declare the package name: # Declare the package name:
atlas_subdir( Pythia8B_i ) atlas_subdir( Pythia8B_i )
# Declare the package's dependencies:
atlas_depends_on_subdirs( PUBLIC
Control/AthenaBaseComps
GaudiKernel
Generators/Pythia8_i
Generators/AtlasHepMC
PRIVATE
Generators/GeneratorObjects )
# External dependencies: # External dependencies:
find_package( Boost COMPONENTS filesystem thread system ) find_package( Boost COMPONENTS filesystem thread system )
find_package( CLHEP ) find_package( CLHEP )
......
################################################################################ # Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
# Package: Pythia8_i
################################################################################
# Declare the package name: # Declare the package name:
atlas_subdir( Pythia8_i ) atlas_subdir( Pythia8_i )
# Declare the package's dependencies:
atlas_depends_on_subdirs( PUBLIC
Control/AthenaKernel
Generators/GeneratorModules
Generators/AtlasHepMC
PRIVATE
GaudiKernel
Generators/GeneratorObjects
Tools/PathResolver )
# External dependencies: # External dependencies:
find_package( Boost COMPONENTS filesystem thread system ) find_package( Boost COMPONENTS filesystem thread system )
find_package( CLHEP ) find_package( CLHEP )
......
################################################################################ # Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
# Package: QGSJet_i
################################################################################
# Declare the package name: # Declare the package name:
atlas_subdir( QGSJet_i ) atlas_subdir( QGSJet_i )
# Declare the package's dependencies:
atlas_depends_on_subdirs( PUBLIC
Generators/GeneratorModules
Generators/AtlasHepMC
PRIVATE
Control/AthenaKernel
GaudiKernel
Generators/TruthUtils )
# External dependencies: # External dependencies:
find_package( CLHEP ) find_package( CLHEP )
find_package( Crmc COMPONENTS QgsjetII04 ) find_package( Crmc COMPONENTS QgsjetII04 )
......
################################################################################ # Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
# Package: Sherpa_i
################################################################################
# Declare the package name: # Declare the package name:
atlas_subdir( Sherpa_i ) atlas_subdir( Sherpa_i )
# Declare the package's dependencies:
atlas_depends_on_subdirs( PUBLIC
GaudiKernel
Generators/GeneratorModules
Generators/AtlasHepMC
Generators/TruthUtils
PRIVATE
Control/AthenaBaseComps
Control/AthenaKernel )
# Set the version of Sherpa to use: # Set the version of Sherpa to use:
#set( SHERPA_VERSION 2.2.2 ) #set( SHERPA_VERSION 2.2.2 )
#set( SHERPA_ROOT #set( SHERPA_ROOT
......
# $Id: CMakeLists.txt 762209 2016-07-15 14:15:34Z krasznaa $ # Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
################################################################################
# Package: Starlight_i
################################################################################
# Declare the package name: # Declare the package name:
atlas_subdir( Starlight_i ) atlas_subdir( Starlight_i )
# Declare the package's dependencies:
atlas_depends_on_subdirs(
PUBLIC
Generators/GeneratorModules
Generators/AtlasHepMC
PRIVATE
Control/AthenaKernel
Control/StoreGate
GaudiKernel
Generators/GeneratorUtils
Generators/TruthUtils )
# External dependencies: # External dependencies:
find_package( CLHEP ) find_package( CLHEP )
find_package( Starlight ) find_package( Starlight )
...@@ -32,9 +18,9 @@ atlas_add_library( Starlight_iLib ...@@ -32,9 +18,9 @@ atlas_add_library( Starlight_iLib
INCLUDE_DIRS ${STARLIGHT_INCLUDE_DIRS} INCLUDE_DIRS ${STARLIGHT_INCLUDE_DIRS}
PRIVATE_INCLUDE_DIRS ${CLHEP_INCLUDE_DIRS} PRIVATE_INCLUDE_DIRS ${CLHEP_INCLUDE_DIRS}
PRIVATE_DEFINITIONS ${CLHEP_DEFINITIONS} PRIVATE_DEFINITIONS ${CLHEP_DEFINITIONS}
LINK_LIBRARIES ${STARLIGHT_LIBRARIES} GeneratorModulesLib StoreGateLib LINK_LIBRARIES ${STARLIGHT_LIBRARIES} GeneratorModulesLib
PRIVATE_LINK_LIBRARIES ${CLHEP_LIBRARIES} AtlasHepMCLib AthenaKernel PRIVATE_LINK_LIBRARIES ${CLHEP_LIBRARIES} AtlasHepMCLib AthenaKernel
GaudiKernel TruthUtils ) GaudiKernel GeneratorUtilsLib TruthUtils StoreGateLib )
atlas_add_component( Starlight_i atlas_add_component( Starlight_i
src/components/*.cxx src/components/*.cxx
......
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