Geant4 Cross Reference |
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,v 1.1 2010/09/29 18:39:57 bmorgan Exp $ >> 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 G4CellScorer.hh >> 58 G4CellScorerStore.hh >> 59 G4ClassificationOfNewTrack.hh >> 60 G4EvManMessenger.hh >> 61 G4Event.hh >> 62 G4EventManager.hh >> 63 G4GeneralParticleSource.hh >> 64 G4GeneralParticleSourceMessenger.hh >> 65 G4HEPEvtInterface.hh >> 66 G4HEPEvtParticle.hh >> 67 G4ParticleGun.hh >> 68 G4ParticleGunMessenger.hh >> 69 G4PrimaryTransformer.hh >> 70 G4RayShooter.hh >> 71 G4SPSAngDistribution.hh >> 72 G4SPSEneDistribution.hh >> 73 G4SPSPosDistribution.hh >> 74 G4SPSRandomGenerator.hh >> 75 G4SingleParticleSource.hh >> 76 G4SmartTrackStack.hh >> 77 G4StackChecker.hh >> 78 G4StackManager.hh >> 79 G4StackedTrack.hh >> 80 G4StackingMessenger.hh >> 81 G4TrackStack.hh >> 82 G4TrajectoryContainer.hh >> 83 G4UserEventAction.hh >> 84 G4UserStackingAction.hh >> 85 G4VPrimaryGenerator.hh >> 86 G4VUserEventInformation.hh >> 87 eventgendefs.hh >> 88 evmandefs.hh >> 89 trajectoryControl.hh >> 90 SOURCES >> 91 G4AdjointPosOnPhysVolGenerator.cc >> 92 G4AdjointPrimaryGenerator.cc >> 93 G4AdjointStackingAction.cc >> 94 G4CellScorer.cc >> 95 G4CellScorerStore.cc >> 96 G4EvManMessenger.cc >> 97 G4Event.cc >> 98 G4EventManager.cc >> 99 G4GeneralParticleSource.cc >> 100 G4GeneralParticleSourceMessenger.cc >> 101 G4HEPEvtInterface.cc >> 102 G4HEPEvtParticle.cc >> 103 G4ParticleGun.cc >> 104 G4ParticleGunMessenger.cc >> 105 G4PrimaryTransformer.cc >> 106 G4RayShooter.cc >> 107 G4SPSAngDistribution.cc >> 108 G4SPSEneDistribution.cc >> 109 G4SPSPosDistribution.cc >> 110 G4SPSRandomGenerator.cc >> 111 G4SingleParticleSource.cc >> 112 G4SmartTrackStack.cc >> 113 G4StackChecker.cc >> 114 G4StackManager.cc >> 115 G4StackedTrack.cc >> 116 G4StackingMessenger.cc >> 117 G4TrackStack.cc >> 118 G4TrajectoryContainer.cc >> 119 G4UserEventAction.cc >> 120 G4UserStackingAction.cc >> 121 G4VPrimaryGenerator.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) <<