Geant4 Cross Reference |
1 # - G4RayTracer module build definition 1 # - G4RayTracer module build definition 2 2 >> 3 # Module has optional sources >> 4 # List those always built >> 5 set(G4VIS_RAYTRACER_MODULE_HEADERS >> 6 G4RTJpeg.hh >> 7 G4RTJpegCoder.hh >> 8 G4RTJpegCoderTables.hh >> 9 G4RTJpegMaker.hh >> 10 G4RTMessenger.hh >> 11 G4RTOutBitStream.hh >> 12 G4RTPrimaryGeneratorAction.hh >> 13 G4RTRun.hh >> 14 G4RTRunAction.hh >> 15 G4RTSimpleScanner.hh >> 16 G4RTSteppingAction.hh >> 17 G4RTTrackingAction.hh >> 18 G4RTWorkerInitialization.hh >> 19 G4RayTracer.hh >> 20 G4RayTracerFeatures.hh >> 21 G4RayTracerSceneHandler.hh >> 22 G4RayTracerViewer.hh >> 23 G4RayTrajectory.hh >> 24 G4RayTrajectoryPoint.hh >> 25 G4TheMTRayTracer.hh >> 26 G4TheRayTracer.hh >> 27 G4VFigureFileMaker.hh >> 28 G4VRTScanner.hh) >> 29 >> 30 set(G4VIS_RAYTRACER_MODULE_SOURCES >> 31 G4RTJpegCoder.cc >> 32 G4RTJpegMaker.cc >> 33 G4RTMessenger.cc >> 34 G4RTOutBitStream.cc >> 35 G4RTPrimaryGeneratorAction.cc >> 36 G4RTRun.cc >> 37 G4RTRunAction.cc >> 38 G4RTSimpleScanner.cc >> 39 G4RTSteppingAction.cc >> 40 G4RTTrackingAction.cc >> 41 G4RTWorkerInitialization.cc >> 42 G4RayTracer.cc >> 43 G4RayTracerSceneHandler.cc >> 44 G4RayTracerViewer.cc >> 45 G4RayTrajectory.cc >> 46 G4RayTrajectoryPoint.cc >> 47 G4TheMTRayTracer.cc >> 48 G4TheRayTracer.cc >> 49 G4VRTScanner.cc) >> 50 >> 51 set(G4VIS_RAYTRACER_MODULE_LINK_LIBRARIES ) >> 52 >> 53 # X11 RayTracer only if selected >> 54 if(GEANT4_USE_RAYTRACER_X11) >> 55 list(APPEND G4VIS_RAYTRACER_MODULE_HEADERS >> 56 G4RayTracerX.hh >> 57 G4RayTracerXViewer.hh >> 58 G4RTXScanner.hh) >> 59 >> 60 list(APPEND G4VIS_RAYTRACER_MODULE_SOURCES >> 61 G4RayTracerX.cc >> 62 G4RayTracerXViewer.cc >> 63 G4RTXScanner.cc) >> 64 >> 65 # The X11 Libraries >> 66 list(APPEND G4VIS_RAYTRACER_MODULE_LINK_LIBRARIES X11::SM X11::ICE X11::X11 X11::Xext X11::Xmu) >> 67 endif() >> 68 3 # Define the Geant4 Module. 69 # Define the Geant4 Module. 4 geant4_add_module(G4RayTracer 70 geant4_add_module(G4RayTracer 5 PUBLIC_HEADERS << 71 PUBLIC_HEADERS ${G4VIS_RAYTRACER_MODULE_HEADERS} 6 G4RayTracer.hh << 72 SOURCES ${G4VIS_RAYTRACER_MODULE_SOURCES}) 7 PRIVATE_HEADERS << 8 G4RTJpeg.hh << 9 G4RTJpegCoder.hh << 10 G4RTJpegCoderTables.hh << 11 G4RTJpegMaker.hh << 12 G4RTMessenger.hh << 13 G4RTOutBitStream.hh << 14 G4RTPrimaryGeneratorAction.hh << 15 G4RTRun.hh << 16 G4RTRunAction.hh << 17 G4RTSimpleScanner.hh << 18 G4RTSteppingAction.hh << 19 G4RTTrackingAction.hh << 20 G4RTWorkerInitialization.hh << 21 G4RayTracerFeatures.hh << 22 G4RayTracerSceneHandler.hh << 23 G4RayTracerViewer.hh << 24 G4RayTrajectory.hh << 25 G4RayTrajectoryPoint.hh << 26 G4TheMTRayTracer.hh << 27 G4TheRayTracer.hh << 28 G4VFigureFileMaker.hh << 29 G4VRTScanner.hh << 30 SOURCES << 31 G4RTJpegCoder.cc << 32 G4RTJpegMaker.cc << 33 G4RTMessenger.cc << 34 G4RTOutBitStream.cc << 35 G4RTPrimaryGeneratorAction.cc << 36 G4RTRun.cc << 37 G4RTRunAction.cc << 38 G4RTSimpleScanner.cc << 39 G4RTSteppingAction.cc << 40 G4RTTrackingAction.cc << 41 G4RTWorkerInitialization.cc << 42 G4RayTracer.cc << 43 G4RayTracerSceneHandler.cc << 44 G4RayTracerViewer.cc << 45 G4RayTrajectory.cc << 46 G4RayTrajectoryPoint.cc << 47 G4TheMTRayTracer.cc << 48 G4TheRayTracer.cc << 49 G4VRTScanner.cc) << 50 << 51 geant4_module_compile_definitions(G4RayTracer << 52 73 53 geant4_module_link_libraries(G4RayTracer 74 geant4_module_link_libraries(G4RayTracer 54 PUBLIC 75 PUBLIC 55 G4vis_management << 56 PRIVATE << 57 G4bosons << 58 G4cuts << 59 G4detector << 60 G4event << 61 G4globman 76 G4globman 62 G4graphics_reps 77 G4graphics_reps 63 G4geometrymng << 64 G4hepgeometry << 65 G4hits << 66 G4intercoms << 67 G4modeling 78 G4modeling 68 G4partman << 69 G4procman << 70 G4run 79 G4run 71 G4scoring << 80 G4hits 72 G4track 81 G4track >> 82 G4intercoms 73 G4tracking 83 G4tracking >> 84 G4vis_management >> 85 G4hepgeometry >> 86 ${G4VIS_RAYTRACER_MODULE_LINK_LIBRARIES} >> 87 PRIVATE >> 88 G4event >> 89 G4bosons >> 90 G4scoring >> 91 G4partman >> 92 G4procman >> 93 G4cuts >> 94 G4tasking >> 95 G4detector 74 G4navigation) 96 G4navigation) 75 << 76 # X11 RayTracer only if selected << 77 if(GEANT4_USE_RAYTRACER_X11) << 78 geant4_module_sources(G4RayTracer << 79 PUBLIC_HEADERS << 80 G4RayTracerX.hh << 81 PRIVATE_HEADERS << 82 G4RayTracerXViewer.hh << 83 G4RTXScanner.hh << 84 SOURCES << 85 G4RayTracerX.cc << 86 G4RayTracerXViewer.cc << 87 G4RTXScanner.cc) << 88 << 89 geant4_module_compile_definitions(G4RayTrace << 90 << 91 geant4_module_link_libraries(G4RayTracer PRI << 92 endif() <<