Geant4 Cross Reference |
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