Geant4 Cross Reference |
1 # - G4heprandom module build definition << 1 #------------------------------------------------------------------------------ >> 2 # sources.cmake >> 3 # Module : >> 4 # Package: Geant4.src.G4global. >> 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 #------------------------------------------------------------------------------ 2 16 3 geant4_add_module(G4heprandom << 17 # List external includes needed. 4 PUBLIC_HEADERS << 18 include_directories(${CLHEP_INCLUDE_DIRS}) 5 G4Poisson.hh << 19 6 G4QuickRand.hh << 20 # List internal includes needed. 7 G4RandomDirection.hh << 21 include_directories(${CMAKE_SOURCE_DIR}/source/global/management/include) 8 G4RandomTools.hh << 22 9 G4UniformRandPool.hh << 23 # 10 Randomize.hh << 24 # Define the Geant4 Module. 11 SOURCES << 25 # 12 G4Poisson.cc << 26 13 G4UniformRandPool.cc) << 27 include(Geant4MacroDefineModule) >> 28 GEANT4_DEFINE_MODULE(NAME G4heprandom >> 29 HEADERS >> 30 G4Poisson.hh >> 31 G4QuickRand.hh >> 32 G4RandomDirection.hh >> 33 G4RandomTools.hh >> 34 G4UniformRandPool.hh >> 35 Randomize.hh >> 36 SOURCES >> 37 G4Poisson.cc >> 38 G4UniformRandPool.cc >> 39 GRANULAR_DEPENDENCIES >> 40 GLOBAL_DEPENDENCIES >> 41 LINK_LIBRARIES >> 42 ) >> 43 >> 44 # List any source specific properties here 14 45 15 geant4_module_link_libraries(G4heprandom PUBLI <<