1 | #------------------------------------------------------------------------------ |
---|
2 | # sources.cmake |
---|
3 | # Module : G4RayTracer |
---|
4 | # Package: Geant4.src.G4visualization.G4RayTracer |
---|
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:12:47 bmorgan Exp $ |
---|
15 | # |
---|
16 | #------------------------------------------------------------------------------ |
---|
17 | |
---|
18 | # List external includes needed. |
---|
19 | include_directories(${CLHEP_INCLUDE_DIRS}) |
---|
20 | |
---|
21 | # List internal includes needed. |
---|
22 | include_directories(${CMAKE_SOURCE_DIR}/source/digits_hits/detector/include) |
---|
23 | include_directories(${CMAKE_SOURCE_DIR}/source/digits_hits/digits/include) |
---|
24 | include_directories(${CMAKE_SOURCE_DIR}/source/digits_hits/hits/include) |
---|
25 | include_directories(${CMAKE_SOURCE_DIR}/source/event/include) |
---|
26 | include_directories(${CMAKE_SOURCE_DIR}/source/geometry/management/include) |
---|
27 | include_directories(${CMAKE_SOURCE_DIR}/source/geometry/navigation/include) |
---|
28 | include_directories(${CMAKE_SOURCE_DIR}/source/geometry/volumes/include) |
---|
29 | include_directories(${CMAKE_SOURCE_DIR}/source/global/HEPGeometry/include) |
---|
30 | include_directories(${CMAKE_SOURCE_DIR}/source/global/HEPRandom/include) |
---|
31 | include_directories(${CMAKE_SOURCE_DIR}/source/global/management/include) |
---|
32 | include_directories(${CMAKE_SOURCE_DIR}/source/graphics_reps/include) |
---|
33 | include_directories(${CMAKE_SOURCE_DIR}/source/intercoms/include) |
---|
34 | include_directories(${CMAKE_SOURCE_DIR}/source/materials/include) |
---|
35 | include_directories(${CMAKE_SOURCE_DIR}/source/particles/bosons/include) |
---|
36 | include_directories(${CMAKE_SOURCE_DIR}/source/particles/management/include) |
---|
37 | include_directories(${CMAKE_SOURCE_DIR}/source/processes/cuts/include) |
---|
38 | include_directories(${CMAKE_SOURCE_DIR}/source/processes/management/include) |
---|
39 | include_directories(${CMAKE_SOURCE_DIR}/source/track/include) |
---|
40 | include_directories(${CMAKE_SOURCE_DIR}/source/tracking/include) |
---|
41 | include_directories(${CMAKE_SOURCE_DIR}/source/visualization/management/include) |
---|
42 | include_directories(${CMAKE_SOURCE_DIR}/source/visualization/modeling/include) |
---|
43 | |
---|
44 | |
---|
45 | # |
---|
46 | # Module has optional sources |
---|
47 | # |
---|
48 | # List those always built |
---|
49 | set(G4VIS_RAYTRACER_MODULE_HEADERS |
---|
50 | G4RTJpeg.hh |
---|
51 | G4RTJpegCoder.hh |
---|
52 | G4RTJpegCoderTables.hh |
---|
53 | G4RTJpegMaker.hh |
---|
54 | G4RTMessenger.hh |
---|
55 | G4RTOutBitStream.hh |
---|
56 | G4RTSimpleScanner.hh |
---|
57 | G4RTSteppingAction.hh |
---|
58 | G4RTTrackingAction.hh |
---|
59 | G4RayTracer.hh |
---|
60 | G4RayTracerFeatures.hh |
---|
61 | G4RayTracerSceneHandler.hh |
---|
62 | G4RayTracerViewer.hh |
---|
63 | G4RayTrajectory.hh |
---|
64 | G4RayTrajectoryPoint.hh |
---|
65 | G4TheRayTracer.hh |
---|
66 | G4VFigureFileMaker.hh |
---|
67 | G4VRTScanner.hh) |
---|
68 | |
---|
69 | set(G4VIS_RAYTRACER_MODULE_SOURCES |
---|
70 | G4RTJpegCoder.cc |
---|
71 | G4RTJpegMaker.cc |
---|
72 | G4RTMessenger.cc |
---|
73 | G4RTOutBitStream.cc |
---|
74 | G4RTSimpleScanner.cc |
---|
75 | G4RTSteppingAction.cc |
---|
76 | G4RTTrackingAction.cc |
---|
77 | G4RayTracer.cc |
---|
78 | G4RayTracerSceneHandler.cc |
---|
79 | G4RayTracerViewer.cc |
---|
80 | G4RayTrajectory.cc |
---|
81 | G4RayTrajectoryPoint.cc |
---|
82 | G4TheRayTracer.cc |
---|
83 | G4VRTScanner.cc) |
---|
84 | |
---|
85 | set(G4VIS_RAYTRACER_MODULE_LINK_LIBRARIES ) |
---|
86 | |
---|
87 | # |
---|
88 | # X11 RayTracer only if selected |
---|
89 | # |
---|
90 | if(GEANT4_USE_RAYTRACERX) |
---|
91 | list(APPEND G4VIS_RAYTRACER_MODULE_HEADERS |
---|
92 | G4RayTracerX.hh |
---|
93 | G4RayTracerXViewer.hh |
---|
94 | G4RTXScanner.hh) |
---|
95 | |
---|
96 | list(APPEND G4VIS_RAYTRACER_MODULE_SOURCES |
---|
97 | G4RayTracerX.cc |
---|
98 | G4RayTracerXViewer.cc |
---|
99 | G4RTXScanner.cc) |
---|
100 | |
---|
101 | # |
---|
102 | # Add source properties and additional LINK_LIBRARIES here |
---|
103 | # |
---|
104 | endif() |
---|
105 | |
---|
106 | |
---|
107 | # |
---|
108 | # Define the Geant4 Module. |
---|
109 | # |
---|
110 | include(Geant4MacroDefineModule) |
---|
111 | GEANT4_DEFINE_MODULE(NAME G4RayTracer |
---|
112 | HEADERS |
---|
113 | ${G4VIS_RAYTRACER_MODULE_HEADERS} |
---|
114 | SOURCES |
---|
115 | ${G4VIS_RAYTRACER_MODULE_SOURCES} |
---|
116 | GRANULAR_DEPENDENCIES |
---|
117 | G4bosons |
---|
118 | G4cuts |
---|
119 | G4detector |
---|
120 | G4digits |
---|
121 | G4event |
---|
122 | G4geometrymng |
---|
123 | G4globman |
---|
124 | G4graphics_reps |
---|
125 | G4hits |
---|
126 | G4intercoms |
---|
127 | G4materials |
---|
128 | G4modeling |
---|
129 | G4navigation |
---|
130 | G4partman |
---|
131 | G4procman |
---|
132 | G4track |
---|
133 | G4tracking |
---|
134 | G4vis_management |
---|
135 | G4volumes |
---|
136 | GLOBAL_DEPENDENCIES |
---|
137 | G4digits_hits |
---|
138 | G4event |
---|
139 | G4geometry |
---|
140 | G4global |
---|
141 | G4graphics_reps |
---|
142 | G4intercoms |
---|
143 | G4materials |
---|
144 | G4modeling |
---|
145 | G4particles |
---|
146 | G4processes |
---|
147 | G4track |
---|
148 | G4tracking |
---|
149 | G4vis_management |
---|
150 | LINK_LIBRARIES |
---|
151 | ${G4VIS_RAYTRACER_MODULE_LINK_LIBRARIES} |
---|
152 | ) |
---|
153 | |
---|
154 | # List any source specific properties here |
---|
155 | |
---|