Geant4 Cross Reference |
1 # - G4FR module build definition << 1 #------------------------------------------------------------------------------ >> 2 # sources.cmake >> 3 # Module : G4FR >> 4 # Package: Geant4.src.G4visualization.G4FR >> 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 19:11:41 bmorgan Exp $ >> 15 # >> 16 #------------------------------------------------------------------------------ 2 17 3 # Define the Geant4 Module. << 18 # List external includes needed. 4 geant4_add_module(G4FR << 19 include_directories(${CLHEP_INCLUDE_DIRS}) 5 PUBLIC_HEADERS << 20 >> 21 # List internal includes needed. >> 22 include_directories(${CMAKE_SOURCE_DIR}/source/digits_hits/hits/include) >> 23 include_directories(${CMAKE_SOURCE_DIR}/source/geometry/management/include) >> 24 include_directories(${CMAKE_SOURCE_DIR}/source/geometry/solids/CSG/include) >> 25 include_directories(${CMAKE_SOURCE_DIR}/source/geometry/solids/specific/include) >> 26 include_directories(${CMAKE_SOURCE_DIR}/source/global/HEPGeometry/include) >> 27 include_directories(${CMAKE_SOURCE_DIR}/source/global/management/include) >> 28 include_directories(${CMAKE_SOURCE_DIR}/source/graphics_reps/include) >> 29 include_directories(${CMAKE_SOURCE_DIR}/source/intercoms/include) >> 30 include_directories(${CMAKE_SOURCE_DIR}/source/visualization/management/include) >> 31 include_directories(${CMAKE_SOURCE_DIR}/source/visualization/modeling/include) >> 32 >> 33 >> 34 # >> 35 # Module has optional sources >> 36 # >> 37 # List those always built >> 38 set(G4VIS_DAWN_MODULE_HEADERS 6 G4DAWNFILE.hh 39 G4DAWNFILE.hh 7 PRIVATE_HEADERS << 8 G4DAWNFILESceneHandler.hh 40 G4DAWNFILESceneHandler.hh 9 G4DAWNFILEViewer.hh 41 G4DAWNFILEViewer.hh 10 G4FRConst.hh 42 G4FRConst.hh >> 43 G4FRFeatures.hh 11 G4FRSceneFunc.icc 44 G4FRSceneFunc.icc 12 G4FRofstream.hh << 45 G4FRofstream.hh) 13 G4VisFeaturesOfDAWNFILE.hh << 46 14 SOURCES << 47 set(G4VIS_DAWN_MODULE_SOURCES 15 G4DAWNFILE.cc 48 G4DAWNFILE.cc 16 G4DAWNFILESceneHandler.cc 49 G4DAWNFILESceneHandler.cc 17 G4DAWNFILEViewer.cc << 50 G4DAWNFILEViewer.cc) 18 G4VisFeaturesOfDAWNFILE.cc) << 51 >> 52 # >> 53 # DAWN Network driver only built if user selected >> 54 # >> 55 if(GEANT4_USE_NETWORKDAWN) >> 56 list(APPEND G4VIS_DAWN_MODULE_HEADERS >> 57 G4FRClientServer.hh >> 58 G4FukuiRenderer.hh >> 59 G4FukuiRendererSceneHandler.hh >> 60 G4FukuiRendererViewer.hh) >> 61 >> 62 list(APPEND G4VIS_DAWN_MODULE_SOURCES >> 63 G4FRClientServer.cc >> 64 G4FukuiRenderer.cc >> 65 G4FukuiRendererSceneHandler.cc >> 66 G4FukuiRendererViewer.cc) >> 67 >> 68 # >> 69 # Add extra needed defs here >> 70 # >> 71 endif() >> 72 >> 73 >> 74 >> 75 # >> 76 # Define the Geant4 Module. >> 77 # >> 78 include(Geant4MacroDefineModule) >> 79 GEANT4_DEFINE_MODULE(NAME G4FR >> 80 HEADERS >> 81 ${G4VIS_DAWN_MODULE_HEADERS} >> 82 SOURCES >> 83 ${G4VIS_DAWN_MODULE_SOURCES} >> 84 GRANULAR_DEPENDENCIES >> 85 G4csg >> 86 G4geometrymng >> 87 G4globman >> 88 G4graphics_reps >> 89 G4hits >> 90 G4intercoms >> 91 G4modeling >> 92 G4specsolids >> 93 G4vis_management >> 94 GLOBAL_DEPENDENCIES >> 95 G4digits_hits >> 96 G4geometry >> 97 G4global >> 98 G4graphics_reps >> 99 G4intercoms >> 100 G4modeling >> 101 G4vis_management >> 102 LINK_LIBRARIES >> 103 ) 19 104 20 geant4_module_link_libraries(G4FR << 105 # List any source specific properties here 21 PUBLIC << 22 G4vis_management << 23 PRIVATE << 24 G4csg << 25 G4geometrymng << 26 G4globman << 27 G4graphics_reps << 28 G4hepgeometry << 29 G4modeling) << 30 106