From 93e83752e1d0168cfda94d00750666aaf88136b7 Mon Sep 17 00:00:00 2001 From: Atlas-Software Librarian <Atlas-Software.Librarian@cern.ch> Date: Fri, 8 Apr 2016 18:40:19 +0200 Subject: [PATCH] 'CMakeLists.txt' (ISF_Geant4CommonServices-00-02-05) * cmt/requirements - Fix for race condition in creation of python directory in the InstallArea. ATLASSIM-2050. * tagging ISF_Geant4CommonServices-00-02-05 --- .../ISF_Geant4CommonServices/CMakeLists.txt | 33 +++++++++++++++++++ .../ISF_Geant4CommonServices/cmt/requirements | 2 ++ 2 files changed, 35 insertions(+) create mode 100644 Simulation/ISF/ISF_Geant4/ISF_Geant4CommonServices/CMakeLists.txt diff --git a/Simulation/ISF/ISF_Geant4/ISF_Geant4CommonServices/CMakeLists.txt b/Simulation/ISF/ISF_Geant4/ISF_Geant4CommonServices/CMakeLists.txt new file mode 100644 index 00000000000..3aa423f2d65 --- /dev/null +++ b/Simulation/ISF/ISF_Geant4/ISF_Geant4CommonServices/CMakeLists.txt @@ -0,0 +1,33 @@ +################################################################################ +# Package: ISF_Geant4CommonServices +################################################################################ + +# Declare the package name: +atlas_subdir( ISF_Geant4CommonServices ) + +# Declare the package's dependencies: +atlas_depends_on_subdirs( PUBLIC + GaudiKernel + PRIVATE + AtlasGeometryCommon/SubDetectorEnvelopes + Control/AthenaBaseComps + DetectorDescription/AtlasDetDescr + Simulation/ISF/ISF_Core/ISF_Event + Simulation/ISF/ISF_Core/ISF_Interfaces ) + +# External dependencies: +find_package( CLHEP ) +find_package( Geant4 ) +find_package( XercesC ) + +# Component(s) in the package: +atlas_add_component( ISF_Geant4CommonServices + src/*.cxx + src/components/*.cxx + INCLUDE_DIRS ${GEANT4_INCLUDE_DIRS} ${XERCESC_INCLUDE_DIRS} ${CLHEP_INCLUDE_DIRS} + LINK_LIBRARIES ${GEANT4_LIBRARIES} ${XERCESC_LIBRARIES} ${CLHEP_LIBRARIES} GaudiKernel AthenaBaseComps AtlasDetDescr ISF_Event ISF_Interfaces ) + +# Install files from the package: +atlas_install_headers( ISF_Geant4CommonServices ) +atlas_install_python_modules( python/*.py ) + diff --git a/Simulation/ISF/ISF_Geant4/ISF_Geant4CommonServices/cmt/requirements b/Simulation/ISF/ISF_Geant4/ISF_Geant4CommonServices/cmt/requirements index d17577eac05..591ae2f9219 100644 --- a/Simulation/ISF/ISF_Geant4/ISF_Geant4CommonServices/cmt/requirements +++ b/Simulation/ISF/ISF_Geant4/ISF_Geant4CommonServices/cmt/requirements @@ -34,6 +34,8 @@ apply_pattern component_library apply_pattern declare_python_modules files="*.py" private +macro_append ISF_Geant4CommonServicesConf_dependencies " install_python_modules" # use this to enable debugging for this package #macro cppdebugflags '$(cppdebugflags_s)' #macro_remove componentshr_linkopts "-Wl,-s" +end_private -- GitLab