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.5.p1 ] [ 10.6 ] [ 10.6.p1 ] [ 10.6.p2 ] [ 10.6.p3 ] [ 10.7 ] [ 10.7.p1 ] [ 10.7.p2 ] [ 10.7.p3 ] [ 10.7.p4 ] [ 11.0 ] [ 11.0.p1 ] [ 11.0.p2 ] [ 11.0.p3, ] [ 11.0.p4 ] [ 11.1 ] [ 11.1.1 ] [ 11.1.2 ] [ 11.1.3 ] [ 11.2 ] [ 11.2.1 ] [ 11.2.2 ] [ 11.3.0 ]

Diff markup

Differences between /visualization/RayTracer/sources.cmake (Version 11.3.0) and /visualization/RayTracer/sources.cmake (Version 10.7.p3)


  1 # - G4RayTracer module build definition        <<   1 #------------------------------------------------------------------------------
                                                   >>   2 # Module : G4RayTracer
                                                   >>   3 # Package: Geant4.src.G4visualization.G4RayTracer
                                                   >>   4 #------------------------------------------------------------------------------
                                                   >>   5 
                                                   >>   6 #
                                                   >>   7 # Module has optional sources
                                                   >>   8 #
                                                   >>   9 # List those always built
                                                   >>  10 set(G4VIS_RAYTRACER_MODULE_HEADERS
                                                   >>  11   G4RTJpeg.hh
                                                   >>  12   G4RTJpegCoder.hh
                                                   >>  13   G4RTJpegCoderTables.hh
                                                   >>  14   G4RTJpegMaker.hh
                                                   >>  15   G4RTMessenger.hh
                                                   >>  16   G4RTOutBitStream.hh
                                                   >>  17   G4RTPrimaryGeneratorAction.hh
                                                   >>  18   G4RTRun.hh
                                                   >>  19   G4RTRunAction.hh
                                                   >>  20   G4RTSimpleScanner.hh
                                                   >>  21   G4RTSteppingAction.hh
                                                   >>  22   G4RTTrackingAction.hh
                                                   >>  23   G4RTWorkerInitialization.hh
                                                   >>  24   G4RayTracer.hh
                                                   >>  25   G4RayTracerFeatures.hh
                                                   >>  26   G4RayTracerSceneHandler.hh
                                                   >>  27   G4RayTracerViewer.hh
                                                   >>  28   G4RayTrajectory.hh
                                                   >>  29   G4RayTrajectoryPoint.hh
                                                   >>  30   G4TheMTRayTracer.hh
                                                   >>  31   G4TheRayTracer.hh
                                                   >>  32   G4VFigureFileMaker.hh
                                                   >>  33   G4VRTScanner.hh)
                                                   >>  34 
                                                   >>  35 set(G4VIS_RAYTRACER_MODULE_SOURCES
                                                   >>  36   G4RTJpegCoder.cc
                                                   >>  37   G4RTJpegMaker.cc
                                                   >>  38   G4RTMessenger.cc
                                                   >>  39   G4RTOutBitStream.cc
                                                   >>  40   G4RTPrimaryGeneratorAction.cc
                                                   >>  41   G4RTRun.cc
                                                   >>  42   G4RTRunAction.cc
                                                   >>  43   G4RTSimpleScanner.cc
                                                   >>  44   G4RTSteppingAction.cc
                                                   >>  45   G4RTTrackingAction.cc
                                                   >>  46   G4RTWorkerInitialization.cc
                                                   >>  47   G4RayTracer.cc
                                                   >>  48   G4RayTracerSceneHandler.cc
                                                   >>  49   G4RayTracerViewer.cc
                                                   >>  50   G4RayTrajectory.cc
                                                   >>  51   G4RayTrajectoryPoint.cc
                                                   >>  52   G4TheMTRayTracer.cc
                                                   >>  53   G4TheRayTracer.cc
                                                   >>  54   G4VRTScanner.cc)
  2                                                    55 
  3 # Define the Geant4 Module.                    <<  56 set(G4VIS_RAYTRACER_MODULE_LINK_LIBRARIES )
  4 geant4_add_module(G4RayTracer                  << 
  5   PUBLIC_HEADERS                               << 
  6     G4RayTracer.hh                             << 
  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                                                    57 
 51 geant4_module_compile_definitions(G4RayTracer  <<  58 #
                                                   >>  59 # X11 RayTracer only if selected
                                                   >>  60 #
                                                   >>  61 if(GEANT4_USE_RAYTRACER_X11)
                                                   >>  62   list(APPEND G4VIS_RAYTRACER_MODULE_HEADERS
                                                   >>  63     G4RayTracerX.hh
                                                   >>  64     G4RayTracerXViewer.hh
                                                   >>  65     G4RTXScanner.hh)
                                                   >>  66 
                                                   >>  67   list(APPEND G4VIS_RAYTRACER_MODULE_SOURCES
                                                   >>  68     G4RayTracerX.cc
                                                   >>  69     G4RayTracerXViewer.cc
                                                   >>  70     G4RTXScanner.cc)
                                                   >>  71 
                                                   >>  72   #
                                                   >>  73   # Add source properties and additional LINK_LIBRARIES here
                                                   >>  74   #
                                                   >>  75   # Must use G4VIS_BUILD_RAYTRACERX_DRIVER define
                                                   >>  76   add_definitions(-DG4VIS_BUILD_RAYTRACERX_DRIVER)
 52                                                    77 
 53 geant4_module_link_libraries(G4RayTracer       <<  78   # The X11 Libraries
 54   PUBLIC                                       <<  79   list(APPEND G4VIS_RAYTRACER_MODULE_LINK_LIBRARIES X11::SM X11::ICE X11::X11 X11::Xext X11::Xmu)
 55     G4vis_management                           <<  80 endif()
 56   PRIVATE                                      <<  81 
                                                   >>  82 #
                                                   >>  83 # Define the Geant4 Module.
                                                   >>  84 #
                                                   >>  85 geant4_define_module(NAME G4RayTracer
                                                   >>  86   HEADERS
                                                   >>  87     ${G4VIS_RAYTRACER_MODULE_HEADERS}
                                                   >>  88   SOURCES
                                                   >>  89     ${G4VIS_RAYTRACER_MODULE_SOURCES}
                                                   >>  90   GRANULAR_DEPENDENCIES
 57     G4bosons                                       91     G4bosons
 58     G4cuts                                         92     G4cuts
 59     G4detector                                     93     G4detector
                                                   >>  94     G4digits
 60     G4event                                        95     G4event
                                                   >>  96     G4geometrymng
 61     G4globman                                      97     G4globman
 62     G4graphics_reps                                98     G4graphics_reps
 63     G4geometrymng                              << 
 64     G4hepgeometry                              << 
 65     G4hits                                         99     G4hits
 66     G4intercoms                                   100     G4intercoms
                                                   >> 101     G4materials
 67     G4modeling                                    102     G4modeling
                                                   >> 103     G4navigation
 68     G4partman                                     104     G4partman
 69     G4procman                                     105     G4procman
 70     G4run                                      << 
 71     G4scoring                                  << 
 72     G4track                                       106     G4track
 73     G4tracking                                    107     G4tracking
 74     G4navigation)                              << 108     G4vis_management
 75                                                << 109     G4volumes
 76 # X11 RayTracer only if selected               << 110   GLOBAL_DEPENDENCIES
 77 if(GEANT4_USE_RAYTRACER_X11)                   << 111     G4digits_hits
 78   geant4_module_sources(G4RayTracer            << 112     G4event
 79     PUBLIC_HEADERS                             << 113     G4geometry
 80       G4RayTracerX.hh                          << 114     G4global
 81     PRIVATE_HEADERS                            << 115     G4graphics_reps
 82       G4RayTracerXViewer.hh                    << 116     G4intercoms
 83       G4RTXScanner.hh                          << 117     G4materials
 84     SOURCES                                    << 118     G4modeling
 85       G4RayTracerX.cc                          << 119     G4particles
 86       G4RayTracerXViewer.cc                    << 120     G4processes
 87       G4RTXScanner.cc)                         << 121     G4track
 88                                                << 122     G4tracking
 89   geant4_module_compile_definitions(G4RayTrace << 123     G4vis_management
                                                   >> 124   LINK_LIBRARIES
                                                   >> 125     ${G4VIS_RAYTRACER_MODULE_LINK_LIBRARIES}
                                                   >> 126 )
 90                                                   127 
 91   geant4_module_link_libraries(G4RayTracer PRI << 128 # List any source specific properties here
 92 endif()                                        <<