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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.4.p3)


  1 # - G4RayTracer module build definition        <<   1 #------------------------------------------------------------------------------
  2                                                <<   2 # sources.cmake
  3 # Define the Geant4 Module.                    <<   3 # Module : G4RayTracer
  4 geant4_add_module(G4RayTracer                  <<   4 # Package: Geant4.src.G4visualization.G4RayTracer
  5   PUBLIC_HEADERS                               <<   5 #
  6     G4RayTracer.hh                             <<   6 # Sources description for a library.
  7   PRIVATE_HEADERS                              <<   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$
                                                   >>  15 #
                                                   >>  16 #------------------------------------------------------------------------------
                                                   >>  17 
                                                   >>  18 # List external includes needed.
                                                   >>  19 include_directories(${CLHEP_INCLUDE_DIRS})
                                                   >>  20 include_directories(${USOLIDS_INCLUDE_DIRS})
                                                   >>  21 
                                                   >>  22 # List internal includes needed.
                                                   >>  23 include_directories(${CMAKE_SOURCE_DIR}/source/digits_hits/detector/include)
                                                   >>  24 include_directories(${CMAKE_SOURCE_DIR}/source/digits_hits/digits/include)
                                                   >>  25 include_directories(${CMAKE_SOURCE_DIR}/source/digits_hits/hits/include)
                                                   >>  26 include_directories(${CMAKE_SOURCE_DIR}/source/event/include)
                                                   >>  27 include_directories(${CMAKE_SOURCE_DIR}/source/geometry/management/include)
                                                   >>  28 include_directories(${CMAKE_SOURCE_DIR}/source/geometry/navigation/include)
                                                   >>  29 include_directories(${CMAKE_SOURCE_DIR}/source/geometry/volumes/include)
                                                   >>  30 include_directories(${CMAKE_SOURCE_DIR}/source/global/HEPGeometry/include)
                                                   >>  31 include_directories(${CMAKE_SOURCE_DIR}/source/global/HEPRandom/include)
                                                   >>  32 include_directories(${CMAKE_SOURCE_DIR}/source/global/management/include)
                                                   >>  33 include_directories(${CMAKE_SOURCE_DIR}/source/graphics_reps/include)
                                                   >>  34 include_directories(${CMAKE_SOURCE_DIR}/source/intercoms/include)
                                                   >>  35 include_directories(${CMAKE_SOURCE_DIR}/source/materials/include)
                                                   >>  36 include_directories(${CMAKE_SOURCE_DIR}/source/particles/bosons/include)
                                                   >>  37 include_directories(${CMAKE_SOURCE_DIR}/source/particles/management/include)
                                                   >>  38 include_directories(${CMAKE_SOURCE_DIR}/source/processes/cuts/include)
                                                   >>  39 include_directories(${CMAKE_SOURCE_DIR}/source/processes/management/include)
                                                   >>  40 include_directories(${CMAKE_SOURCE_DIR}/source/run/include)
                                                   >>  41 include_directories(${CMAKE_SOURCE_DIR}/source/track/include)
                                                   >>  42 include_directories(${CMAKE_SOURCE_DIR}/source/tracking/include)
                                                   >>  43 include_directories(${CMAKE_SOURCE_DIR}/source/visualization/management/include)
                                                   >>  44 include_directories(${CMAKE_SOURCE_DIR}/source/visualization/modeling/include)
                                                   >>  45 
                                                   >>  46 
                                                   >>  47 #
                                                   >>  48 # Module has optional sources
                                                   >>  49 #
                                                   >>  50 # List those always built
                                                   >>  51 set(G4VIS_RAYTRACER_MODULE_HEADERS
  8     G4RTJpeg.hh                                    52     G4RTJpeg.hh
  9     G4RTJpegCoder.hh                               53     G4RTJpegCoder.hh
 10     G4RTJpegCoderTables.hh                         54     G4RTJpegCoderTables.hh
 11     G4RTJpegMaker.hh                               55     G4RTJpegMaker.hh
 12     G4RTMessenger.hh                               56     G4RTMessenger.hh
 13     G4RTOutBitStream.hh                            57     G4RTOutBitStream.hh
 14     G4RTPrimaryGeneratorAction.hh                  58     G4RTPrimaryGeneratorAction.hh
 15     G4RTRun.hh                                     59     G4RTRun.hh
 16     G4RTRunAction.hh                               60     G4RTRunAction.hh
 17     G4RTSimpleScanner.hh                           61     G4RTSimpleScanner.hh
 18     G4RTSteppingAction.hh                          62     G4RTSteppingAction.hh
 19     G4RTTrackingAction.hh                          63     G4RTTrackingAction.hh
 20     G4RTWorkerInitialization.hh                    64     G4RTWorkerInitialization.hh
                                                   >>  65     G4RayTracer.hh
 21     G4RayTracerFeatures.hh                         66     G4RayTracerFeatures.hh
 22     G4RayTracerSceneHandler.hh                     67     G4RayTracerSceneHandler.hh
 23     G4RayTracerViewer.hh                           68     G4RayTracerViewer.hh
 24     G4RayTrajectory.hh                             69     G4RayTrajectory.hh
 25     G4RayTrajectoryPoint.hh                        70     G4RayTrajectoryPoint.hh
 26     G4TheMTRayTracer.hh                            71     G4TheMTRayTracer.hh
 27     G4TheRayTracer.hh                              72     G4TheRayTracer.hh
 28     G4VFigureFileMaker.hh                          73     G4VFigureFileMaker.hh
 29     G4VRTScanner.hh                            <<  74     G4VRTScanner.hh)
 30   SOURCES                                      <<  75 
                                                   >>  76 set(G4VIS_RAYTRACER_MODULE_SOURCES
 31     G4RTJpegCoder.cc                               77     G4RTJpegCoder.cc
 32     G4RTJpegMaker.cc                               78     G4RTJpegMaker.cc
 33     G4RTMessenger.cc                               79     G4RTMessenger.cc
 34     G4RTOutBitStream.cc                            80     G4RTOutBitStream.cc
 35     G4RTPrimaryGeneratorAction.cc                  81     G4RTPrimaryGeneratorAction.cc
 36     G4RTRun.cc                                     82     G4RTRun.cc
 37     G4RTRunAction.cc                               83     G4RTRunAction.cc
 38     G4RTSimpleScanner.cc                           84     G4RTSimpleScanner.cc
 39     G4RTSteppingAction.cc                          85     G4RTSteppingAction.cc
 40     G4RTTrackingAction.cc                          86     G4RTTrackingAction.cc
 41     G4RTWorkerInitialization.cc                    87     G4RTWorkerInitialization.cc
 42     G4RayTracer.cc                                 88     G4RayTracer.cc
 43     G4RayTracerSceneHandler.cc                     89     G4RayTracerSceneHandler.cc
 44     G4RayTracerViewer.cc                           90     G4RayTracerViewer.cc
 45     G4RayTrajectory.cc                             91     G4RayTrajectory.cc
 46     G4RayTrajectoryPoint.cc                        92     G4RayTrajectoryPoint.cc
 47     G4TheMTRayTracer.cc                            93     G4TheMTRayTracer.cc
 48     G4TheRayTracer.cc                              94     G4TheRayTracer.cc
 49     G4VRTScanner.cc)                               95     G4VRTScanner.cc)
 50                                                    96 
 51 geant4_module_compile_definitions(G4RayTracer  <<  97 set(G4VIS_RAYTRACER_MODULE_LINK_LIBRARIES )
 52                                                << 
 53 geant4_module_link_libraries(G4RayTracer       << 
 54   PUBLIC                                       << 
 55     G4vis_management                           << 
 56   PRIVATE                                      << 
 57     G4bosons                                   << 
 58     G4cuts                                     << 
 59     G4detector                                 << 
 60     G4event                                    << 
 61     G4globman                                  << 
 62     G4graphics_reps                            << 
 63     G4geometrymng                              << 
 64     G4hepgeometry                              << 
 65     G4hits                                     << 
 66     G4intercoms                                << 
 67     G4modeling                                 << 
 68     G4partman                                  << 
 69     G4procman                                  << 
 70     G4run                                      << 
 71     G4scoring                                  << 
 72     G4track                                    << 
 73     G4tracking                                 << 
 74     G4navigation)                              << 
 75                                                    98 
                                                   >>  99 #
 76 # X11 RayTracer only if selected                  100 # X11 RayTracer only if selected
                                                   >> 101 #
 77 if(GEANT4_USE_RAYTRACER_X11)                      102 if(GEANT4_USE_RAYTRACER_X11)
 78   geant4_module_sources(G4RayTracer            << 103     list(APPEND G4VIS_RAYTRACER_MODULE_HEADERS
 79     PUBLIC_HEADERS                             << 104         G4RayTracerX.hh
 80       G4RayTracerX.hh                          << 105         G4RayTracerXViewer.hh
 81     PRIVATE_HEADERS                            << 106         G4RTXScanner.hh)
 82       G4RayTracerXViewer.hh                    << 107 
 83       G4RTXScanner.hh                          << 108     list(APPEND G4VIS_RAYTRACER_MODULE_SOURCES
                                                   >> 109         G4RayTracerX.cc
                                                   >> 110         G4RayTracerXViewer.cc
                                                   >> 111         G4RTXScanner.cc)
                                                   >> 112 
                                                   >> 113     #
                                                   >> 114     # Add source properties and additional LINK_LIBRARIES here
                                                   >> 115     #
                                                   >> 116     # Need X11 includes!
                                                   >> 117     include_directories(${X11_INCLUDE_DIR})
                                                   >> 118 
                                                   >> 119     # Must use G4VIS_BUILD_RAYTRACERX_DRIVER define
                                                   >> 120     GEANT4_ADD_COMPILE_DEFINITIONS(SOURCES ${G4VIS_RAYTRACER_MODULE_SOURCES}
                                                   >> 121         COMPILE_DEFINITIONS G4VIS_BUILD_RAYTRACERX_DRIVER)
                                                   >> 122 
                                                   >> 123     # The X11 Libraries
                                                   >> 124     list(APPEND G4VIS_RAYTRACER_MODULE_LINK_LIBRARIES ${X11_LIBRARIES})
                                                   >> 125 endif()
                                                   >> 126     
                                                   >> 127 
                                                   >> 128 #
                                                   >> 129 # Define the Geant4 Module.
                                                   >> 130 #
                                                   >> 131 include(Geant4MacroDefineModule)
                                                   >> 132 GEANT4_DEFINE_MODULE(NAME G4RayTracer
                                                   >> 133     HEADERS
                                                   >> 134         ${G4VIS_RAYTRACER_MODULE_HEADERS}
 84     SOURCES                                       135     SOURCES
 85       G4RayTracerX.cc                          << 136         ${G4VIS_RAYTRACER_MODULE_SOURCES}
 86       G4RayTracerXViewer.cc                    << 137     GRANULAR_DEPENDENCIES
 87       G4RTXScanner.cc)                         << 138         G4bosons
                                                   >> 139         G4cuts
                                                   >> 140         G4detector
                                                   >> 141         G4digits
                                                   >> 142         G4event
                                                   >> 143         G4geometrymng
                                                   >> 144         G4globman
                                                   >> 145         G4graphics_reps
                                                   >> 146         G4hits
                                                   >> 147         G4intercoms
                                                   >> 148         G4materials
                                                   >> 149         G4modeling
                                                   >> 150         G4navigation
                                                   >> 151         G4partman
                                                   >> 152         G4procman
                                                   >> 153         G4track
                                                   >> 154         G4tracking
                                                   >> 155         G4vis_management
                                                   >> 156         G4volumes
                                                   >> 157     GLOBAL_DEPENDENCIES
                                                   >> 158         G4digits_hits
                                                   >> 159         G4event
                                                   >> 160         G4geometry
                                                   >> 161         G4global
                                                   >> 162         G4graphics_reps
                                                   >> 163         G4intercoms
                                                   >> 164         G4materials
                                                   >> 165         G4modeling
                                                   >> 166         G4particles
                                                   >> 167         G4processes
                                                   >> 168         G4track
                                                   >> 169         G4tracking
                                                   >> 170         G4vis_management
                                                   >> 171     LINK_LIBRARIES
                                                   >> 172         ${G4VIS_RAYTRACER_MODULE_LINK_LIBRARIES}
                                                   >> 173 )
 88                                                   174 
 89   geant4_module_compile_definitions(G4RayTrace << 175 # List any source specific properties here
 90                                                   176 
 91   geant4_module_link_libraries(G4RayTracer PRI << 
 92 endif()                                        <<