Geant4 Cross Reference |
1 # - G4FR module build definition << 1 #------------------------------------------------------------------------------ >> 2 # Module : G4FR >> 3 # Package: Geant4.src.G4visualization.G4FR >> 4 #------------------------------------------------------------------------------ 2 5 >> 6 # >> 7 # Module has optional sources >> 8 # >> 9 >> 10 # List those always built >> 11 set(G4VIS_DAWN_MODULE_HEADERS >> 12 G4DAWNFILE.hh >> 13 G4DAWNFILESceneHandler.hh >> 14 G4DAWNFILEViewer.hh >> 15 G4FRConst.hh >> 16 G4FRFeatures.hh >> 17 G4FRSceneFunc.icc >> 18 G4FRofstream.hh >> 19 G4VisFeaturesOfDAWNFILE.hh >> 20 G4VisFeaturesOfFukuiRenderer.hh) >> 21 >> 22 set(G4VIS_DAWN_MODULE_SOURCES >> 23 G4DAWNFILE.cc >> 24 G4DAWNFILESceneHandler.cc >> 25 G4DAWNFILEViewer.cc >> 26 G4VisFeaturesOfDAWNFILE.cc >> 27 G4VisFeaturesOfFukuiRenderer.cc) >> 28 >> 29 # DAWN Network driver only built if user selected >> 30 if(GEANT4_USE_NETWORKDAWN) >> 31 list(APPEND G4VIS_DAWN_MODULE_HEADERS >> 32 G4FRClientServer.hh >> 33 G4FukuiRenderer.hh >> 34 G4FukuiRendererSceneHandler.hh >> 35 G4FukuiRendererViewer.hh) >> 36 >> 37 list(APPEND G4VIS_DAWN_MODULE_SOURCES >> 38 G4FRClientServer.cc >> 39 G4FukuiRenderer.cc >> 40 G4FukuiRendererSceneHandler.cc >> 41 G4FukuiRendererViewer.cc) >> 42 >> 43 # To activate the Fukui Renderer Network component, we need an >> 44 # extra compile definition >> 45 add_definitions(-DG4VIS_BUILD_DAWN_DRIVER) >> 46 endif() >> 47 >> 48 # 3 # Define the Geant4 Module. 49 # Define the Geant4 Module. 4 geant4_add_module(G4FR << 50 # 5 PUBLIC_HEADERS << 51 geant4_define_module(NAME G4FR 6 G4DAWNFILE.hh << 52 HEADERS 7 PRIVATE_HEADERS << 53 ${G4VIS_DAWN_MODULE_HEADERS} 8 G4DAWNFILESceneHandler.hh << 9 G4DAWNFILEViewer.hh << 10 G4FRConst.hh << 11 G4FRSceneFunc.icc << 12 G4FRofstream.hh << 13 G4VisFeaturesOfDAWNFILE.hh << 14 SOURCES 54 SOURCES 15 G4DAWNFILE.cc << 55 ${G4VIS_DAWN_MODULE_SOURCES} 16 G4DAWNFILESceneHandler.cc << 56 GRANULAR_DEPENDENCIES 17 G4DAWNFILEViewer.cc << 18 G4VisFeaturesOfDAWNFILE.cc) << 19 << 20 geant4_module_link_libraries(G4FR << 21 PUBLIC << 22 G4vis_management << 23 PRIVATE << 24 G4csg 57 G4csg 25 G4geometrymng 58 G4geometrymng 26 G4globman 59 G4globman 27 G4graphics_reps 60 G4graphics_reps 28 G4hepgeometry << 61 G4hits 29 G4modeling) << 62 G4intercoms >> 63 G4modeling >> 64 G4specsolids >> 65 G4vis_management >> 66 GLOBAL_DEPENDENCIES >> 67 G4digits_hits >> 68 G4geometry >> 69 G4global >> 70 G4graphics_reps >> 71 G4intercoms >> 72 G4modeling >> 73 G4vis_management >> 74 ) 30 75 >> 76 # List any source specific properties here