Salome HOME
updated copyright message
[modules/geom.git] / resources / CMakeLists.txt
1 # Copyright (C) 2012-2023  CEA/DEN, EDF R&D, OPEN CASCADE
2 #
3 # This library is free software; you can redistribute it and/or
4 # modify it under the terms of the GNU Lesser General Public
5 # License as published by the Free Software Foundation; either
6 # version 2.1 of the License, or (at your option) any later version.
7 #
8 # This library is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY; without even the implied warranty of
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
11 # Lesser General Public License for more details.
12 #
13 # You should have received a copy of the GNU Lesser General Public
14 # License along with this library; if not, write to the Free Software
15 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
16 #
17 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
18 #
19
20 # ===============================================================
21 # Files to be installed
22 # ===============================================================
23
24 # These files are data, module or lib files
25 SET( _res_files
26   AdvancedGEOM.xml
27   STLPlugin.xml
28   BREPPlugin.xml
29   STEPPlugin.xml
30   IGESPlugin.xml
31   XAOPlugin.xml
32   GEOMDS_Resources
33   ShHealing
34   Y14.5M-2009.ttf
35   3dsketch.png
36   isoline.png
37   isoline_v.png
38   angle.png
39   annotation.png
40   arc.png
41   arccenter.png
42   arcofellipse.png
43   archimede.png
44   axisinertia.png
45   basicproperties.png
46   bounding.png
47   box.png
48   box2points.png
49   boxdxyz.png
50   build_compound.png
51   build_edge.png
52   build_edge_wire.png
53   build_edge_curve.png
54   build_face.png
55   build_face_surface.png
56   build_face_constraints.png
57   build_shell.png
58   build_solid.png
59   build_wire.png
60   centergravity.png
61   chamfer.png
62   chamferall.png
63   chamferedge.png
64   chamferface.png
65   chamferedgefromface.png
66   change_orientation.png
67   change_direction.png
68   check.png
69   circle.png
70   circlepointvector.png
71   circle3points.png
72   circlecenter2pnts.png
73   common.png
74   cone.png
75   conedxyz.png
76   conepointvector.png
77   cut.png
78   cylinder.png
79   cylinderdxyz.png
80   cylinderpointvector.png
81   delete.png
82   divided_disk.png
83   disk.png
84   disk3points.png
85   disk_pntvecr.png
86   disk_r.png
87   display.png
88   displayonly.png
89   displayall.png
90   draft.png
91   edgeextension.png
92   erase.png
93   eraseall.png
94   extract.png
95   extruded_boss.png
96   extruded_cut.png
97   facetosurface.png
98   faceextension.png
99   face_hw.png
100   face_vechw.png
101   feature_detect.png
102   fillet.png
103   fillet1d.png
104   fillet2d.png
105   filletall.png
106   filletedge.png
107   filletwire.png
108   filletface.png
109   filling.png
110   folder.png
111   fuse.png
112   fuse_collinear_edges.png
113   geometry.png
114   import_picture.png
115   import.png
116   limit_tolerance.png
117   line.png
118   line2points.png
119   line2faces.png
120   managedimensions.png
121   mindist.png
122   mirrorPoint.png
123   mirrorAxe.png
124   mirrorPlane.png
125   ModuleGeom.png
126   multirotation.png
127   multirotationdouble.png
128   multirotationsimple.png
129   multitranslation.png
130   multitranslationdouble.png
131   multitranslationsimple.png
132   normale.png
133   offset.png
134   projection.png
135   projection_on_edge.png
136   projection_on_wire.png
137   proj_on_cyl.png
138   origin_and_vectors.png
139   partition.png
140   partitionkeep.png
141   partitionplane.png
142   pipe.png
143   pipebinormal.png
144   pipesections.png
145   plane.png
146   planeWorking.png
147   plane3points.png
148   planeface.png
149   planepointvector.png
150   planeworkingface.png
151   planeworkingvector.png
152   planeworkingorigin.png
153   point2.png
154   pointonedge.png
155   pointonedgebypoint.png
156   pointonface.png
157   point_line_intersection.png
158   polyline.png
159   prism.png
160   prism2.png
161   prism3.png
162   rectangle.png
163   revol.png
164   rotate.png
165   rotatepnt.png
166   scale.png
167   scale_along_axes.png
168   section.png
169   select1.png
170   sewing.png
171   shading.png
172   shading_with_edges.png
173   shapesonshape.png
174   shared_shapes.png
175   sketch.png
176   solid_from_faces.png
177   sphere.png
178   spheredxyz.png
179   spherepoint.png
180   subshape.png
181   supressHolesOnFaceShell.png
182   supressface.png
183   supresshole.png
184   thickness.png
185   thickness2.png
186   tolerance.png
187   torus.png
188   torusdxyz.png
189   toruspointvector.png
190   transfer_data.png
191   translationDxyz.png
192   translationPoints.png
193   translationVector.png
194   tree_compound.png
195   tree_compsolid.png
196   tree_edge.png
197   tree_face.png
198   tree_shape.png
199   tree_shell.png
200   tree_solid.png
201   tree_vertex.png
202   tree_wire.png
203   tree_group_vertex.png
204   tree_group_edge.png
205   tree_group_face.png
206   tree_group_solid.png
207   tree_field_vertex.png
208   tree_field_edge.png
209   tree_field_face.png
210   tree_field_solid.png
211   tree_lcs.png
212   vector.png
213   vector_mode.png
214   vector2points.png
215   vectordxyz.png
216   wireframe.png
217   whatis.png
218   ellipse.png
219   ellipsepointvector.png
220   bezier.png
221   interpol.png
222   spline.png
223   closecontour.png
224   suppressintwires.png
225   marker.png
226   marker2.png
227   marker3.png
228   marker_1.png
229   marker_2.png
230   marker_3.png
231   marker_4.png
232   marker_5.png
233   marker_6.png
234   marker_7.png
235   marker_8.png
236   marker_9.png
237   marker_10.png
238   marker_11.png
239   marker_12.png
240   marker_13.png
241   position.png
242   position2.png
243   position3.png
244   free_bound.png
245   point_coord.png
246   point3.png
247   shapeprocess.png
248   block_2f.png
249   block_6f.png
250   block_face_2e.png
251   block_face_4e.png
252   block_face_4v.png
253   block_multitrsf_double.png
254   block_multitrsf_simple.png
255   tree_block.png
256   subblock.png
257   group_new.png
258   group_edit.png
259   field_new.png
260   field_edit.png
261   glue.png
262   check_blocks_compound.png
263   get_non_blocks.png
264   check_self_intersections.png
265   fast_intersect.png
266   free_faces.png
267   propagate.png
268   redo.png
269   undo.png
270   setcolor.png
271   glue2.png
272   remove_webs.png
273   remove_extra_edges.png
274   union_faces.png
275   coordsys.png
276   translation.png
277   arrow_down.png
278   arrow_up.png
279   closedpolyline.png
280   closedspline.png
281   edit_points.png
282   join2.png
283   bringTogether.png
284   new_point.png
285   new_section.png
286   # ADVANCED_RESOURCES:
287   pipetshape.png tree_pipetshape.png pipetshape_import_icon.png pipetshape_section.png
288   dlg_pipetshape.png dlg_pipetshapechamfer.png dlg_pipetshapefillet.png
289   dlg_pipetshapel1.png dlg_pipetshaper1.png dlg_pipetshapew1.png
290   dlg_pipetshapel2.png dlg_pipetshaper2.png dlg_pipetshapew2.png
291   dlg_pipetshapechamferl1.png dlg_pipetshapechamferr1.png dlg_pipetshapechamferw1.png
292   dlg_pipetshapechamferl2.png dlg_pipetshapechamferr2.png dlg_pipetshapechamferw2.png
293   dlg_pipetshapechamferh.png dlg_pipetshapechamferw.png
294   dlg_pipetshapefilletl1.png dlg_pipetshapefilletr1.png dlg_pipetshapefilletw1.png
295   dlg_pipetshapefilletl2.png dlg_pipetshapefilletr2.png dlg_pipetshapefilletw2.png
296   dlg_pipetshapefilletrf.png
297   dividedcylinder.png dividedcylinder_r_h.png
298   smoothingsurface.png smoothingsurface_lpoints.png tree_smoothingsurface.png
299   exportxao.png importxao.png
300   ##@@ insert new functions before this line @@ do not remove this line @@##
301   )
302 IF(SALOME_GEOM_USE_VTK)
303   SET(_res_files
304     VTKPlugin.xml
305     ${_res_files}
306   )
307 ENDIF(SALOME_GEOM_USE_VTK)
308
309 INSTALL(FILES ${_res_files} DESTINATION ${SALOME_GEOM_INSTALL_RES_DATA})
310
311 SET( _texture_files
312   texture1.dat
313   texture2.dat
314   texture3.dat
315 )
316 INSTALL(FILES ${_texture_files} DESTINATION ${SALOME_GEOM_INSTALL_RES_DATA}/textures)
317
318 SALOME_CONFIGURE_FILE(GEOMCatalog.xml.in GEOMCatalog.xml INSTALL ${SALOME_GEOM_INSTALL_RES_DATA})
319 SALOME_CONFIGURE_FILE(SalomeApp.xml.in SalomeApp.xml INSTALL ${SALOME_GEOM_INSTALL_RES_DATA})
320 INSTALL(FILES ${CMAKE_CURRENT_BINARY_DIR}/SalomeApp.xml RENAME SalomeAppSL.xml DESTINATION ${SALOME_GEOM_INSTALL_RES_DATA})
321 SALOME_CONFIGURE_FILE(Plugin.in Plugin INSTALL ${SALOME_GEOM_INSTALL_RES_DATA})
322
323
324
325