Geant4 Cross Reference |
1 # - G4hepgeometry module build definition << 1 #------------------------------------------------------------------------------ >> 2 # sources.cmake >> 3 # Module : G4hepgeometry >> 4 # Package: Geant4.src.G4global.G4hepgeometry >> 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 # $Id: sources.cmake,v 1.1 2010/09/29 18:44:01 bmorgan Exp $ >> 15 # >> 16 #------------------------------------------------------------------------------ 2 17 3 geant4_add_module(G4hepgeometry << 18 # List external includes needed. 4 PUBLIC_HEADERS << 19 include_directories(${CLHEP_INCLUDE_DIRS}) 5 G4LorentzRotation.hh << 20 6 G4LorentzVector.hh << 21 # List internal includes needed. 7 G4Normal3D.hh << 22 include_directories(${CMAKE_SOURCE_DIR}/source/global/management/include) 8 G4Plane3D.hh << 23 9 G4Point3D.hh << 24 # 10 G4Transform3D.hh << 25 # Define the Geant4 Module. 11 G4Vector3D.hh << 26 # 12 geomdefs.hh) << 27 include(Geant4MacroDefineModule) >> 28 GEANT4_DEFINE_MODULE(NAME G4hepgeometry >> 29 HEADERS >> 30 G4LorentzRotation.hh >> 31 G4LorentzVector.hh >> 32 G4Normal3D.hh >> 33 G4Plane3D.hh >> 34 G4Point3D.hh >> 35 G4Transform3D.hh >> 36 G4Vector3D.hh >> 37 geomdefs.hh >> 38 SOURCES >> 39 GRANULAR_DEPENDENCIES >> 40 G4globman >> 41 GLOBAL_DEPENDENCIES >> 42 LINK_LIBRARIES >> 43 ) >> 44 >> 45 # List any source specific properties here 13 46 14 geant4_module_link_libraries(G4hepgeometry INT <<