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[ 10.6 ] [ 10.6.p1 ] [ 10.6.p2 ] [ 10.6.p3 ] [ 10.7 ] [ 10.7.p1 ] [ 10.7.p2 ] [ 10.7.p3 ] [ 10.7.p4 ] [ 11.0 ] [ 11.0.p1 ] [ 11.0.p2 ] [ 11.0.p3, ] [ 11.0.p4 ] [ 11.1 ] [ 11.1.1 ] [ 11.1.2 ] [ 11.1.3 ] [ 11.2 ] [ 11.2.1 ] [ 11.2.2 ] [ 11.3.0 ]

Diff markup

Differences between /event/sources.cmake (Version 11.3.0) and /event/sources.cmake (Version 10.3.p2)


  1 # - G4event module build definition            <<   1 #------------------------------------------------------------------------------
                                                   >>   2 # sources.cmake
                                                   >>   3 # Module : G4event
                                                   >>   4 # Package: Geant4.src.G4event
                                                   >>   5 #
                                                   >>   6 # Sources description for a library.
                                                   >>   7 # Lists the sources and headers of the code explicitely.
                                                   >>   8 # Lists include paths needed.
                                                   >>   9 # Lists the internal granular and global dependencies of the library.
                                                   >>  10 # Source specific properties should be added at the end.
                                                   >>  11 #
                                                   >>  12 # Generated on : 24/9/2010
                                                   >>  13 #
                                                   >>  14 # $Id: sources.cmake 95248 2016-02-02 09:37:04Z gcosmo $
                                                   >>  15 #
                                                   >>  16 #------------------------------------------------------------------------------
  2                                                    17 
  3 # Define the Geant4 Module.                    <<  18 # List external includes needed.
  4 geant4_add_module(G4event                      <<  19 include_directories(${CLHEP_INCLUDE_DIRS})
  5   PUBLIC_HEADERS                               <<  20 
  6     G4AdjointPosOnPhysVolGenerator.hh          <<  21 # List internal includes needed.
  7     G4AdjointPrimaryGenerator.hh               <<  22 include_directories(${CMAKE_SOURCE_DIR}/source/digits_hits/detector/include)
  8     G4AdjointStackingAction.hh                 <<  23 include_directories(${CMAKE_SOURCE_DIR}/source/digits_hits/digits/include)
  9     G4ClassificationOfNewTrack.hh              <<  24 include_directories(${CMAKE_SOURCE_DIR}/source/digits_hits/hits/include)
 10     G4EvManMessenger.hh                        <<  25 include_directories(${CMAKE_SOURCE_DIR}/source/geometry/biasing/include)
 11     G4Event.hh                                 <<  26 include_directories(${CMAKE_SOURCE_DIR}/source/geometry/management/include)
 12     G4EventManager.hh                          <<  27 include_directories(${CMAKE_SOURCE_DIR}/source/geometry/navigation/include)
 13     G4GeneralParticleSource.hh                 <<  28 include_directories(${CMAKE_SOURCE_DIR}/source/geometry/volumes/include)
 14     G4GeneralParticleSourceData.hh             <<  29 include_directories(${CMAKE_SOURCE_DIR}/source/global/HEPGeometry/include)
 15     G4GeneralParticleSourceMessenger.hh        <<  30 include_directories(${CMAKE_SOURCE_DIR}/source/global/HEPNumerics/include)
 16     G4HEPEvtInterface.hh                       <<  31 include_directories(${CMAKE_SOURCE_DIR}/source/global/HEPRandom/include)
 17     G4HEPEvtParticle.hh                        <<  32 include_directories(${CMAKE_SOURCE_DIR}/source/global/management/include)
 18     G4ParticleGun.hh                           <<  33 include_directories(${CMAKE_SOURCE_DIR}/source/graphics_reps/include)
 19     G4ParticleGunMessenger.hh                  <<  34 include_directories(${CMAKE_SOURCE_DIR}/source/intercoms/include)
 20     G4PrimaryTransformer.hh                    <<  35 include_directories(${CMAKE_SOURCE_DIR}/source/materials/include)
 21     G4RayShooter.hh                            <<  36 include_directories(${CMAKE_SOURCE_DIR}/source/particles/bosons/include)
 22     G4SPSAngDistribution.hh                    <<  37 include_directories(${CMAKE_SOURCE_DIR}/source/particles/hadrons/barions/include)
 23     G4SPSEneDistribution.hh                    <<  38 include_directories(${CMAKE_SOURCE_DIR}/source/particles/hadrons/ions/include)
 24     G4SPSPosDistribution.hh                    <<  39 include_directories(${CMAKE_SOURCE_DIR}/source/particles/hadrons/mesons/include)
 25     G4SPSRandomGenerator.hh                    <<  40 include_directories(${CMAKE_SOURCE_DIR}/source/particles/leptons/include)
 26     G4SingleParticleSource.hh                  <<  41 include_directories(${CMAKE_SOURCE_DIR}/source/particles/leptons/include)
 27     G4SmartTrackStack.hh                       <<  42 include_directories(${CMAKE_SOURCE_DIR}/source/particles/management/include)
 28     G4StackChecker.hh                          <<  43 include_directories(${CMAKE_SOURCE_DIR}/source/processes/electromagnetic/utils/include)
 29     G4StackManager.hh                          <<  44 include_directories(${CMAKE_SOURCE_DIR}/source/processes/management/include)
 30     G4StackedTrack.hh                          <<  45 include_directories(${CMAKE_SOURCE_DIR}/source/track/include)
 31     G4StackingMessenger.hh                     <<  46 include_directories(${CMAKE_SOURCE_DIR}/source/tracking/include)
 32     G4SubEvent.hh                              << 
 33     G4SubEventTrackStack.hh                    << 
 34     G4TrackStack.hh                            << 
 35     G4TrajectoryContainer.hh                   << 
 36     G4UserEventAction.hh                       << 
 37     G4MultiEventAction.hh                      << 
 38     G4UserStackingAction.hh                    << 
 39     G4VPrimaryGenerator.hh                     << 
 40     G4VUserEventInformation.hh                 << 
 41     evtdefs.hh                                 << 
 42   SOURCES                                      << 
 43     G4AdjointPosOnPhysVolGenerator.cc          << 
 44     G4AdjointPrimaryGenerator.cc               << 
 45     G4AdjointStackingAction.cc                 << 
 46     G4EvManMessenger.cc                        << 
 47     G4Event.cc                                 << 
 48     G4EventManager.cc                          << 
 49     G4GeneralParticleSource.cc                 << 
 50     G4GeneralParticleSourceData.cc             << 
 51     G4GeneralParticleSourceMessenger.cc        << 
 52     G4HEPEvtInterface.cc                       << 
 53     G4HEPEvtParticle.cc                        << 
 54     G4ParticleGun.cc                           << 
 55     G4ParticleGunMessenger.cc                  << 
 56     G4PrimaryTransformer.cc                    << 
 57     G4RayShooter.cc                            << 
 58     G4SPSAngDistribution.cc                    << 
 59     G4SPSEneDistribution.cc                    << 
 60     G4SPSPosDistribution.cc                    << 
 61     G4SPSRandomGenerator.cc                    << 
 62     G4SingleParticleSource.cc                  << 
 63     G4SmartTrackStack.cc                       << 
 64     G4StackChecker.cc                          << 
 65     G4StackManager.cc                          << 
 66     G4StackingMessenger.cc                     << 
 67     G4SubEvent.cc                              << 
 68     G4SubEventTrackStack.cc                    << 
 69     G4TrackStack.cc                            << 
 70     G4TrajectoryContainer.cc                   << 
 71     G4UserEventAction.cc                       << 
 72     G4MultiEventAction.cc                      << 
 73     G4UserStackingAction.cc                    << 
 74     G4VPrimaryGenerator.cc)                    << 
 75                                                    47 
 76 geant4_module_compile_definitions(G4event PRIV <<  48 #
                                                   >>  49 # Define the Geant4 Module.
                                                   >>  50 #
                                                   >>  51 include(Geant4MacroDefineModule)
                                                   >>  52 GEANT4_DEFINE_MODULE(NAME G4event
                                                   >>  53     HEADERS
                                                   >>  54         G4AdjointPosOnPhysVolGenerator.hh
                                                   >>  55         G4AdjointPrimaryGenerator.hh
                                                   >>  56         G4AdjointStackingAction.hh
                                                   >>  57         G4ClassificationOfNewTrack.hh
                                                   >>  58         G4EvManMessenger.hh
                                                   >>  59         G4Event.hh
                                                   >>  60         G4EventManager.hh
                                                   >>  61         G4GeneralParticleSource.hh
                                                   >>  62         G4GeneralParticleSourceMessenger.hh
                                                   >>  63         G4HEPEvtInterface.hh
                                                   >>  64         G4HEPEvtParticle.hh
                                                   >>  65         G4ParticleGun.hh
                                                   >>  66         G4ParticleGunMessenger.hh
                                                   >>  67         G4PrimaryTransformer.hh
                                                   >>  68         G4RayShooter.hh
                                                   >>  69         G4SPSAngDistribution.hh
                                                   >>  70         G4SPSEneDistribution.hh
                                                   >>  71         G4SPSPosDistribution.hh
                                                   >>  72         G4SPSRandomGenerator.hh
                                                   >>  73         G4SingleParticleSource.hh
                                                   >>  74         G4SmartTrackStack.hh
                                                   >>  75         G4StackChecker.hh
                                                   >>  76         G4StackManager.hh
                                                   >>  77         G4StackedTrack.hh
                                                   >>  78         G4StackingMessenger.hh
                                                   >>  79         G4TrackStack.hh
                                                   >>  80         G4TrajectoryContainer.hh
                                                   >>  81         G4UserEventAction.hh
                                                   >>  82         G4MultiEventAction.hh
                                                   >>  83         G4UserStackingAction.hh
                                                   >>  84         G4VPrimaryGenerator.hh
                                                   >>  85         G4VUserEventInformation.hh
                                                   >>  86         eventgendefs.hh
                                                   >>  87         evmandefs.hh
                                                   >>  88         evtdefs.hh
                                                   >>  89         trajectoryControl.hh
                                                   >>  90   G4GeneralParticleSourceData.hh
                                                   >>  91     SOURCES
                                                   >>  92         G4AdjointPosOnPhysVolGenerator.cc
                                                   >>  93         G4AdjointPrimaryGenerator.cc
                                                   >>  94         G4AdjointStackingAction.cc
                                                   >>  95         G4EvManMessenger.cc
                                                   >>  96         G4Event.cc
                                                   >>  97         G4EventManager.cc
                                                   >>  98         G4GeneralParticleSource.cc
                                                   >>  99         G4GeneralParticleSourceMessenger.cc
                                                   >> 100         G4HEPEvtInterface.cc
                                                   >> 101         G4HEPEvtParticle.cc
                                                   >> 102         G4ParticleGun.cc
                                                   >> 103         G4ParticleGunMessenger.cc
                                                   >> 104         G4PrimaryTransformer.cc
                                                   >> 105         G4RayShooter.cc
                                                   >> 106         G4SPSAngDistribution.cc
                                                   >> 107         G4SPSEneDistribution.cc
                                                   >> 108         G4SPSPosDistribution.cc
                                                   >> 109         G4SPSRandomGenerator.cc
                                                   >> 110         G4SingleParticleSource.cc
                                                   >> 111         G4SmartTrackStack.cc
                                                   >> 112         G4StackChecker.cc
                                                   >> 113         G4StackManager.cc
                                                   >> 114         G4StackingMessenger.cc
                                                   >> 115         G4TrackStack.cc
                                                   >> 116         G4TrajectoryContainer.cc
                                                   >> 117         G4UserEventAction.cc
                                                   >> 118         G4MultiEventAction.cc
                                                   >> 119         G4UserStackingAction.cc
                                                   >> 120         G4VPrimaryGenerator.cc
                                                   >> 121   G4GeneralParticleSourceData.cc
                                                   >> 122     GRANULAR_DEPENDENCIES
                                                   >> 123         G4baryons
                                                   >> 124         G4bosons
                                                   >> 125         G4detector
                                                   >> 126         G4digits
                                                   >> 127         G4emutils
                                                   >> 128         G4geombias
                                                   >> 129         G4geometrymng
                                                   >> 130         G4globman
                                                   >> 131         G4graphics_reps
                                                   >> 132         G4hepnumerics
                                                   >> 133         G4hits
                                                   >> 134         G4intercoms
                                                   >> 135         G4ions
                                                   >> 136         G4leptons
                                                   >> 137         G4materials
                                                   >> 138         G4mesons
                                                   >> 139         G4navigation
                                                   >> 140         G4partman
                                                   >> 141         G4procman
                                                   >> 142         G4track
                                                   >> 143         G4tracking
                                                   >> 144         G4volumes
                                                   >> 145     GLOBAL_DEPENDENCIES
                                                   >> 146         G4digits_hits
                                                   >> 147         G4geometry
                                                   >> 148         G4global
                                                   >> 149         G4graphics_reps
                                                   >> 150         G4intercoms
                                                   >> 151         G4materials
                                                   >> 152         G4particles
                                                   >> 153         G4processes
                                                   >> 154         G4track
                                                   >> 155         G4tracking
                                                   >> 156     LINK_LIBRARIES
                                                   >> 157 )
 77                                                   158 
 78 # Enable smart stack                           << 159 # List any source specific properties here
 79 if(GEANT4_USE_SMARTSTACK)                      << 
 80   geant4_module_compile_definitions(G4event PU << 
 81 endif()                                        << 
 82                                                   160 
 83 geant4_module_link_libraries(G4event           << 
 84   PUBLIC                                       << 
 85     G4track                                    << 
 86     G4tracking                                 << 
 87     G4digits                                   << 
 88     G4hits                                     << 
 89     G4partman                                  << 
 90     G4geometrymng                              << 
 91     G4navigation                               << 
 92     G4intercoms                                << 
 93     G4hepnumerics                              << 
 94     G4globman                                  << 
 95   PRIVATE                                      << 
 96     G4procman                                  << 
 97     G4bosons                                   << 
 98     G4detector                                 << 
 99     G4graphics_reps                            << 
100     G4materials                                << 
101     G4heprandom                                << 
102     G4parameterisation)                        <<