Geant4 Cross Reference |
1 # - G4globman module build definition << 1 #------------------------------------------------------------------------------ 2 << 2 # sources.cmake 3 # - Configure header for preprocessor symbols << 3 # Module : G4globman 4 # Convert CMake variables -> #cmakedefine symb << 4 # Package: Geant4.src.G4global.G4globman 5 set(G4MULTITHREADED ${GEANT4_BUILD_MULTITHREAD << 5 # 6 set(G4_STORE_TRAJECTORY ${GEANT4_BUILD_STORE_T << 6 # Sources description for a library. 7 set(G4VERBOSE ${GEANT4_BUILD_VERBOSE_CODE}) << 7 # Lists the sources and headers of the code explicitely. 8 << 8 # Lists include paths needed. 9 configure_file(${CMAKE_CURRENT_LIST_DIR}/inclu << 9 # Lists the internal granular and global dependencies of the library. 10 ${CMAKE_CURRENT_BINARY_DIR}/include/G4Global << 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:44:49 bmorgan Exp $ >> 15 # >> 16 #------------------------------------------------------------------------------ 11 17 12 geant4_get_datasetnames(GEANT4_DATASETS) << 18 # List external includes needed. 13 foreach(_ds ${GEANT4_DATASETS}) << 19 include_directories(${CLHEP_INCLUDE_DIRS}) 14 geant4_get_dataset_property(${_ds} ENVVAR ${ << 15 geant4_get_dataset_property(${_ds} DIRECTORY << 16 set(GEANT4_DATASET_LIST << 17 "${GEANT4_DATASET_LIST}\n{ \"${${_ds}_ENVV << 18 endforeach() << 19 20 20 configure_file(${CMAKE_CURRENT_LIST_DIR}/inclu << 21 # List internal includes needed. 21 ${CMAKE_CURRENT_BINARY_DIR}/include/G4FindDa << 22 22 23 # 23 # 24 # Define the Geant4 Module. 24 # Define the Geant4 Module. 25 # 25 # 26 geant4_add_module(G4globman << 26 include(Geant4MacroDefineModule) 27 PUBLIC_HEADERS << 27 GEANT4_DEFINE_MODULE(NAME G4globman 28 ${CMAKE_CURRENT_BINARY_DIR}/include/G4Glob << 28 HEADERS 29 G4Allocator.hh << 29 G4strstreambuf.hh 30 G4AllocatorList.hh << 30 G4Allocator.hh 31 G4AllocatorPool.hh << 31 G4strstreambuf.icc 32 G4ApplicationState.hh << 32 G4AllocatorPool.hh 33 G4AutoDelete.hh << 33 globals.hh 34 G4AutoLock.hh << 34 G4ApplicationState.hh 35 G4Backtrace.hh << 35 templates.hh 36 G4BuffercoutDestination.hh << 36 G4DataVector.hh 37 G4CacheDetails.hh << 37 G4DataVector.icc 38 G4Cache.hh << 38 G4ErrorPropagatorData.hh 39 G4coutDestination.hh << 39 G4ErrorPropagatorData.icc 40 G4coutFormatters.hh << 40 G4Evaluator.hh 41 G4DataVector.hh << 41 G4ExceptionSeverity.hh 42 G4DataVector.icc << 42 G4FPEDetection.hh 43 G4EnvironmentUtils.hh << 43 G4FastVector.hh 44 G4ErrorPropagatorData.hh << 44 G4GeometryTolerance.hh 45 G4ErrorPropagatorData.icc << 45 G4LPhysicsFreeVector.hh 46 G4Evaluator.hh << 46 G4LPhysicsFreeVector.icc 47 G4Exception.hh << 47 G4OrderedTable.hh 48 G4ExceptionSeverity.hh << 48 G4PhysicalConstants.hh 49 G4Exp.hh << 49 G4PhysicsFreeVector.hh 50 G4FastVector.hh << 50 G4PhysicsLinearVector.hh 51 G4FilecoutDestination.hh << 51 G4PhysicsLnVector.hh 52 G4Filesystem.hh << 52 G4PhysicsLogVector.hh 53 G4FPEDetection.hh << 53 G4PhysicsOrderedFreeVector.hh 54 G4GeometryTolerance.hh << 54 G4PhysicsOrderedFreeVector.icc 55 G4GlobalConfig.hh.in << 55 G4PhysicsTable.hh 56 G4ios.hh << 56 G4PhysicsTable.icc 57 G4LockcoutDestination.hh << 57 G4PhysicsVector.hh 58 G4Log.hh << 58 G4PhysicsVector.icc 59 G4MasterForwardcoutDestination.hh << 59 G4PhysicsVectorCache.hh 60 G4MTBarrier.hh << 60 G4PhysicsVectorType.hh 61 G4MTcoutDestination.hh << 61 G4Physics2DVector.hh 62 G4MulticoutDestination.hh << 62 G4Physics2DVector.icc 63 G4OrderedTable.hh << 63 G4Physics2DVectorCache.hh 64 G4PhysicalConstants.hh << 64 G4Pow.hh 65 G4Physics2DVector.hh << 65 G4ReferenceCountedHandle.hh 66 G4Physics2DVector.icc << 66 G4RotationMatrix.hh 67 G4PhysicsFreeVector.hh << 67 G4SIunits.hh 68 G4PhysicsLinearVector.hh << 68 G4SliceTimer.hh 69 G4PhysicsLogVector.hh << 69 G4SliceTimer.icc 70 G4PhysicsModelCatalog.hh << 70 G4StateManager.hh 71 G4PhysicsOrderedFreeVector.hh << 71 G4StateManager.icc 72 G4PhysicsTable.hh << 72 G4String.hh 73 G4PhysicsTable.icc << 73 G4String.icc 74 G4PhysicsVector.hh << 74 G4SystemOfUnits.hh 75 G4PhysicsVector.icc << 75 G4ThreeVector.hh 76 G4PhysicsVectorType.hh << 76 G4Timer.hh 77 G4Pow.hh << 77 G4Timer.icc 78 G4ReferenceCountedHandle.hh << 78 G4Tokenizer.hh 79 G4RotationMatrix.hh << 79 G4TwoVector.hh 80 G4SliceTimer.hh << 80 G4Types.hh 81 G4SliceTimer.icc << 81 G4UnitsTable.hh 82 G4StateManager.hh << 82 G4UnitsTable.icc 83 G4StateManager.icc << 83 G4UserLimits.hh 84 G4String.hh << 84 G4UserLimits.icc 85 G4String.icc << 85 G4VExceptionHandler.hh 86 G4SystemOfUnits.hh << 86 G4VNotifier.hh 87 G4TaskGroup.hh << 87 G4VStateDependent.hh 88 G4Task.hh << 88 G4Version.hh 89 G4TaskManager.hh << 89 G4coutDestination.hh 90 G4TaskSingletonDelegator.hh << 90 G4ios.hh 91 G4TBBTaskGroup.hh << 91 SOURCES 92 G4ThreadData.hh << 92 G4AllocatorPool.cc 93 G4Threading.hh << 93 G4DataVector.cc 94 G4ThreadLocalSingleton.hh << 94 G4ErrorPropagatorData.cc 95 G4ThreadPool.hh << 95 G4Exception.cc 96 G4ThreeVector.hh << 96 G4GeometryTolerance.cc 97 G4Timer.hh << 97 G4LPhysicsFreeVector.cc 98 G4Timer.icc << 98 G4OrderedTable.cc 99 G4Tokenizer.hh << 99 G4PhysicsFreeVector.cc 100 G4TWorkspacePool.hh << 100 G4PhysicsLinearVector.cc 101 G4TwoVector.hh << 101 G4PhysicsLnVector.cc 102 G4Types.hh << 102 G4PhysicsLogVector.cc 103 G4UnitsTable.hh << 103 G4PhysicsOrderedFreeVector.cc 104 G4UnitsTable.icc << 104 G4PhysicsTable.cc 105 G4UserLimits.hh << 105 G4PhysicsVector.cc 106 G4UserLimits.icc << 106 G4PhysicsVectorCache.cc 107 G4UserTaskQueue.hh << 107 G4Physics2DVector.cc 108 G4Version.hh << 108 G4Physics2DVectorCache.cc 109 G4VExceptionHandler.hh << 109 G4Pow.cc 110 G4VNotifier.hh << 110 G4SliceTimer.cc 111 G4VStateDependent.hh << 111 G4StateManager.cc 112 G4VTask.hh << 112 G4Timer.cc 113 G4VUserTaskQueue.hh << 113 G4UnitsTable.cc 114 globals.hh << 114 G4VExceptionHandler.cc 115 templates.hh << 115 G4VNotifier.cc 116 tls.hh << 116 G4VStateDependent.cc 117 windefs.hh << 117 G4coutDestination.cc 118 SOURCES << 118 G4ios.cc 119 G4Allocator.cc << 119 GRANULAR_DEPENDENCIES 120 G4AllocatorPool.cc << 120 GLOBAL_DEPENDENCIES 121 G4AllocatorList.cc << 121 LINK_LIBRARIES 122 G4BuffercoutDestination.cc << 122 ${CLHEP_LIBRARIES} 123 G4CacheDetails.cc << 123 ) 124 G4coutDestination.cc << 125 G4coutFormatters.cc << 126 G4DataVector.cc << 127 G4ErrorPropagatorData.cc << 128 G4Exception.cc << 129 G4FilecoutDestination.cc << 130 G4FindDataDir.cc << 131 G4GeometryTolerance.cc << 132 G4ios.cc << 133 G4LockcoutDestination.cc << 134 G4MasterForwardcoutDestination.cc << 135 G4MTBarrier.cc << 136 G4MTcoutDestination.cc << 137 G4OrderedTable.cc << 138 G4PhysicsFreeVector.cc << 139 G4PhysicsLinearVector.cc << 140 G4PhysicsLogVector.cc << 141 G4PhysicsModelCatalog.cc << 142 G4PhysicsTable.cc << 143 G4PhysicsVector.cc << 144 G4Physics2DVector.cc << 145 G4Pow.cc << 146 G4ReferenceCountedHandle.cc << 147 G4SliceTimer.cc << 148 G4StateManager.cc << 149 G4ThreadLocalSingleton.cc << 150 G4Threading.cc << 151 G4Timer.cc << 152 G4UnitsTable.cc << 153 G4VExceptionHandler.cc << 154 G4VStateDependent.cc) << 155 << 156 # - Add path to generated header << 157 geant4_module_include_directories(G4globman << 158 PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_BIN << 159 124 160 geant4_module_link_libraries(G4globman << 125 # List any source specific properties here 161 PUBLIC << 162 ${CLHEP_LIBRARIES} << 163 ${PTL_LIBRARIES} << 164 ${GEANT4_CXX_FILESYSTEM_LIBRARY} # to temp << 165 ) << 166 126 167 # TEMP WORKAROUND: When building/testing examp << 168 # dictionary generation is not smart enough to << 169 # requirements for include paths. Explicitly a << 170 # generated header into build time include pat << 171 # We eventually want to do this through "..._i << 172 # remove entirely and require a min version of << 173 set_property(GLOBAL APPEND << 174 PROPERTY GEANT4_BUILDTREE_INCLUDE_DIRS "${CM <<