Geant4 Cross Reference |
1 # - G4geometrymng module build definition << 1 #------------------------------------------------------------------------------ >> 2 # sources.cmake >> 3 # Module : G4geometrymng >> 4 # Package: Geant4.src.G4geometry.G4geometrymng >> 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 # >> 15 #------------------------------------------------------------------------------ >> 16 >> 17 # List external includes needed. >> 18 include_directories(${CLHEP_INCLUDE_DIRS}) >> 19 include_directories(${USOLIDS_INCLUDE_DIRS}) >> 20 >> 21 # List internal includes needed. >> 22 include_directories(${CMAKE_SOURCE_DIR}/source/global/HEPGeometry/include) >> 23 include_directories(${CMAKE_SOURCE_DIR}/source/global/HEPRandom/include) >> 24 include_directories(${CMAKE_SOURCE_DIR}/source/global/management/include) >> 25 include_directories(${CMAKE_SOURCE_DIR}/source/graphics_reps/include) >> 26 include_directories(${CMAKE_SOURCE_DIR}/source/intercoms/include) >> 27 include_directories(${CMAKE_SOURCE_DIR}/source/materials/include) >> 28 2 29 3 # Configure header for preprocessor symbols fo 30 # Configure header for preprocessor symbols for USolids 4 configure_file(${CMAKE_CURRENT_LIST_DIR}/inclu 31 configure_file(${CMAKE_CURRENT_LIST_DIR}/include/G4GeomConfig.hh.in 5 ${CMAKE_CURRENT_BINARY_DIR}/include/G4GeomCo << 32 ${CMAKE_CURRENT_BINARY_DIR}/include/G4GeomConfig.hh 6 << 33 ) 7 # Define the Geant4 Module. << 8 geant4_add_module(G4geometrymng << 9 PUBLIC_HEADERS << 10 ${CMAKE_CURRENT_BINARY_DIR}/include/G4Geom << 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(G4geometrymn << 114 PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_BIN << 115 << 116 # - Link to modules/deps << 117 geant4_module_link_libraries(G4geometrymng << 118 PUBLIC G4globman G4hepgeometry G4graphics_re << 119 PRIVATE G4materials G4heprandom) << 120 34 121 # WORKAROUND: When building/testing examples u 35 # WORKAROUND: When building/testing examples uing ROOT, ROOT's 122 # dictionary generation is not smart enough to 36 # dictionary generation is not smart enough to handle target usage 123 # requirements for include paths. Explicitly a 37 # requirements for include paths. Explicitly add the path to the 124 # generated header into build time include pat 38 # generated header into build time include paths... 125 set_property(GLOBAL APPEND 39 set_property(GLOBAL APPEND 126 PROPERTY GEANT4_BUILDTREE_INCLUDE_DIRS "${CM 40 PROPERTY GEANT4_BUILDTREE_INCLUDE_DIRS "${CMAKE_CURRENT_BINARY_DIR}/include") >> 41 >> 42 >> 43 # >> 44 # Define the Geant4 Module. >> 45 # >> 46 include(Geant4MacroDefineModule) >> 47 GEANT4_DEFINE_MODULE(NAME G4geometrymng >> 48 HEADERS >> 49 ${CMAKE_CURRENT_BINARY_DIR}/include/G4GeomConfig.hh >> 50 G4AffineTransform.hh >> 51 G4AffineTransform.icc >> 52 G4BlockingList.hh >> 53 G4BlockingList.icc >> 54 G4BoundingEnvelope.hh >> 55 G4ErrorCylSurfaceTarget.hh >> 56 G4ErrorPlaneSurfaceTarget.hh >> 57 G4ErrorSurfaceTarget.hh >> 58 G4ErrorTanPlaneTarget.hh >> 59 G4ErrorTarget.hh >> 60 G4GeomSplitter.hh >> 61 G4GeomTools.hh >> 62 G4GeomTypes.hh >> 63 G4GeometryManager.hh >> 64 G4IdentityTrajectoryFilter.hh >> 65 G4LogicalCrystalVolume.hh >> 66 G4LogicalSurface.hh >> 67 G4LogicalSurface.icc >> 68 G4LogicalVolume.hh >> 69 G4LogicalVolume.icc >> 70 G4LogicalVolumeStore.hh >> 71 G4PhysicalVolumeStore.hh >> 72 G4ReflectedSolid.hh >> 73 G4Region.hh >> 74 G4Region.icc >> 75 G4RegionStore.hh >> 76 G4ScaleTransform.hh >> 77 G4ScaleTransform.icc >> 78 G4SmartVoxelHeader.hh >> 79 G4SmartVoxelHeader.icc >> 80 G4SmartVoxelNode.hh >> 81 G4SmartVoxelNode.icc >> 82 G4SmartVoxelProxy.hh >> 83 G4SmartVoxelProxy.icc >> 84 G4SmartVoxelStat.hh >> 85 G4SolidStore.hh >> 86 G4TouchableHandle.hh >> 87 G4UAdapter.hh >> 88 G4VCurvedTrajectoryFilter.hh >> 89 G4VNestedParameterisation.hh >> 90 G4VPVDivisionFactory.hh >> 91 G4VPVParameterisation.hh >> 92 G4VPhysicalVolume.hh >> 93 G4VPhysicalVolume.icc >> 94 G4VSolid.hh >> 95 G4VSolid.icc >> 96 G4VStoreNotifier.hh >> 97 G4VTouchable.hh >> 98 G4VTouchable.icc >> 99 G4VUserRegionInformation.hh >> 100 G4VVolumeMaterialScanner.hh >> 101 G4VoxelLimits.hh >> 102 G4VoxelLimits.icc >> 103 geomwdefs.hh >> 104 meshdefs.hh >> 105 voxeldefs.hh >> 106 SOURCES >> 107 G4BlockingList.cc >> 108 G4BoundingEnvelope.cc >> 109 G4ErrorCylSurfaceTarget.cc >> 110 G4ErrorPlaneSurfaceTarget.cc >> 111 G4ErrorSurfaceTarget.cc >> 112 G4ErrorTanPlaneTarget.cc >> 113 G4ErrorTarget.cc >> 114 G4GeomTools.cc >> 115 G4GeometryManager.cc >> 116 G4IdentityTrajectoryFilter.cc >> 117 G4LogicalCrystalVolume.cc >> 118 G4LogicalSurface.cc >> 119 G4LogicalVolume.cc >> 120 G4LogicalVolumeStore.cc >> 121 G4PhysicalVolumeStore.cc >> 122 G4ReflectedSolid.cc >> 123 G4Region.cc >> 124 G4RegionStore.cc >> 125 G4SmartVoxelHeader.cc >> 126 G4SmartVoxelNode.cc >> 127 G4SmartVoxelProxy.cc >> 128 G4SmartVoxelStat.cc >> 129 G4SolidStore.cc >> 130 G4VCurvedTrajectoryFilter.cc >> 131 G4VNestedParameterisation.cc >> 132 G4VPVDivisionFactory.cc >> 133 G4VPVParameterisation.cc >> 134 G4VPhysicalVolume.cc >> 135 G4VSolid.cc >> 136 G4VTouchable.cc >> 137 G4VoxelLimits.cc >> 138 GRANULAR_DEPENDENCIES >> 139 G4globman >> 140 G4graphics_reps >> 141 G4intercoms >> 142 G4materials >> 143 GLOBAL_DEPENDENCIES >> 144 G4global >> 145 G4graphics_reps >> 146 G4intercoms >> 147 G4materials >> 148 LINK_LIBRARIES >> 149 ${VECGEOM_LIBRARIES} >> 150 ) >> 151 >> 152 # List any source specific properties here 127 153