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1 ] [ 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 ]

  1 # - G4geometrymng module build definition
  2 
  3 # Configure header for preprocessor symbols for USolids
  4 configure_file(${CMAKE_CURRENT_LIST_DIR}/include/G4GeomConfig.hh.in
  5   ${CMAKE_CURRENT_BINARY_DIR}/include/G4GeomConfig.hh)
  6 
  7 # Define the Geant4 Module.
  8 geant4_add_module(G4geometrymng
  9   PUBLIC_HEADERS
 10     ${CMAKE_CURRENT_BINARY_DIR}/include/G4GeomConfig.hh
 11     G4AffineTransform.hh
 12     G4AffineTransform.icc
 13     G4BlockingList.hh
 14     G4BlockingList.icc
 15     G4BoundingEnvelope.hh
 16     G4ErrorCylSurfaceTarget.hh
 17     G4ErrorPlaneSurfaceTarget.hh
 18     G4ErrorSurfaceTarget.hh
 19     G4ErrorTanPlaneTarget.hh
 20     G4ErrorTarget.hh
 21     G4GeomSplitter.hh
 22     G4GeomTools.hh
 23     G4GeomTypes.hh
 24     G4GeometryManager.hh
 25     G4IdentityTrajectoryFilter.hh
 26     G4LogicalCrystalVolume.hh
 27     G4LogicalSurface.hh
 28     G4LogicalSurface.icc
 29     G4LogicalVolume.hh
 30     G4LogicalVolume.icc
 31     G4LogicalVolumeStore.hh
 32     G4NavigationHistory.hh
 33     G4NavigationHistory.icc
 34     G4NavigationHistoryPool.hh
 35     G4NavigationLevel.hh
 36     G4NavigationLevel.icc
 37     G4NavigationLevelRep.hh
 38     G4NavigationLevelRep.icc
 39     G4PhysicalVolumeStore.hh
 40     G4ReflectedSolid.hh
 41     G4Region.hh
 42     G4Region.icc
 43     G4RegionStore.hh
 44     G4ScaleTransform.hh
 45     G4ScaleTransform.icc
 46     G4SmartVoxelHeader.hh
 47     G4SmartVoxelHeader.icc
 48     G4SmartVoxelNode.hh
 49     G4SmartVoxelNode.icc
 50     G4SmartVoxelProxy.hh
 51     G4SmartVoxelProxy.icc
 52     G4SmartVoxelStat.hh
 53     G4SolidStore.hh
 54     G4TouchableHandle.hh
 55     G4TouchableHistory.hh
 56     G4TouchableHistory.icc
 57     G4TouchableHistoryHandle.hh
 58     G4UAdapter.hh
 59     G4VCurvedTrajectoryFilter.hh
 60     G4VNestedParameterisation.hh
 61     G4VPVDivisionFactory.hh
 62     G4VPhysicalVolume.hh
 63     G4VPhysicalVolume.icc
 64     G4VPVParameterisation.hh
 65     G4VSolid.hh
 66     G4VSolid.icc
 67     G4VStoreNotifier.hh
 68     G4VTouchable.hh
 69     G4VUserRegionInformation.hh
 70     G4VVolumeMaterialScanner.hh
 71     G4VoxelLimits.hh
 72     G4VoxelLimits.icc
 73     geomwdefs.hh
 74     meshdefs.hh
 75     voxeldefs.hh
 76   SOURCES
 77     G4BlockingList.cc
 78     G4BoundingEnvelope.cc
 79     G4ErrorCylSurfaceTarget.cc
 80     G4ErrorPlaneSurfaceTarget.cc
 81     G4ErrorSurfaceTarget.cc
 82     G4ErrorTanPlaneTarget.cc
 83     G4ErrorTarget.cc
 84     G4GeomTools.cc
 85     G4GeometryManager.cc
 86     G4IdentityTrajectoryFilter.cc
 87     G4LogicalCrystalVolume.cc
 88     G4LogicalSurface.cc
 89     G4LogicalVolume.cc
 90     G4LogicalVolumeStore.cc
 91     G4NavigationHistory.cc
 92     G4NavigationHistoryPool.cc
 93     G4NavigationLevel.cc
 94     G4NavigationLevelRep.cc
 95     G4PhysicalVolumeStore.cc
 96     G4ReflectedSolid.cc
 97     G4Region.cc
 98     G4RegionStore.cc
 99     G4SmartVoxelHeader.cc
100     G4SmartVoxelNode.cc
101     G4SmartVoxelStat.cc
102     G4SolidStore.cc
103     G4TouchableHistory.cc
104     G4VCurvedTrajectoryFilter.cc
105     G4VNestedParameterisation.cc
106     G4VPVDivisionFactory.cc
107     G4VPVParameterisation.cc
108     G4VPhysicalVolume.cc
109     G4VSolid.cc
110     G4VoxelLimits.cc)
111 
112 # - Add path to generated header
113 geant4_module_include_directories(G4geometrymng
114   PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR}/include>)
115 
116 # - Link to modules/deps
117 geant4_module_link_libraries(G4geometrymng
118   PUBLIC G4globman G4hepgeometry G4graphics_reps ${VECGEOM_LIBRARIES}
119   PRIVATE G4materials G4heprandom)
120 
121 # WORKAROUND: When building/testing examples uing ROOT, ROOT's
122 # dictionary generation is not smart enough to handle target usage
123 # requirements for include paths. Explicitly add the path to the
124 # generated header into build time include paths...
125 set_property(GLOBAL APPEND
126   PROPERTY GEANT4_BUILDTREE_INCLUDE_DIRS "${CMAKE_CURRENT_BINARY_DIR}/include")
127