Salome HOME
Update copyrights
[modules/geom.git] / src / GEOM_SWIG / CMakeLists.txt
1 # Copyright (C) 2012-2019  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 # --- scripts ---
21
22 # scripts / samples,data
23 SET(_other_SCRIPTS
24   GEOM_Spanner.py
25   GEOM_blocks.py
26   GEOM_example.py
27   GEOM_example2.py
28   GEOM_example3.py
29   GEOM_example4.py
30   GEOM_example5.py
31   GEOM_example6.py
32   GEOM_example7.py
33   GEOM_moteur.py
34   GEOM_TestAll.py
35   GEOM_TestField.py
36   GEOM_TestOthers.py
37   GEOM_TestHealing.py
38   GEOM_TestMeasures.py
39   GEOM_usinggeom.py
40   GEOM_Partition1.py
41   GEOM_Partition2.py
42   GEOM_Partition3.py
43   GEOM_Partition4.py
44   GEOM_Partition5.py
45   GEOM_cyl2complementary.py
46   GEOM_shellSolid.py
47   GEOM_tube_geom.py
48   GEOM_tube_geom_gg2.py
49   GEOM_Nut.py
50   GEOM_Sketcher.py
51   GEOM_ObjectInfo.py
52   PAL_MESH_019_020_geometry.py
53   PAL_MESH_028_geometry.py
54   PAL_MESH_030_geometry.py
55   PAL_MESH_033_geometry.py
56   PAL_MESH_035_geometry.py
57   )
58
59 # scripts / python
60
61 SET(_python_SCRIPTS
62   geomBuilder.py
63   gsketcher.py
64   )
65
66 # Advanced scripts
67
68 SET(_python_advanced_SCRIPTS
69   AdvancedGEOMBuilder.py
70   __init__.py
71 )
72
73 # STL plugin scripts
74
75 SET(_python_STL_SCRIPTS
76   STLPluginBuilder.py
77   __init__.py
78 )
79
80 # BREP plugin scripts
81
82 SET(_python_BREP_SCRIPTS
83   BREPPluginBuilder.py
84   __init__.py
85 )
86
87 # STEP plugin scripts
88
89 SET(_python_STEP_SCRIPTS
90   STEPPluginBuilder.py
91   __init__.py
92 )
93
94 # IGES plugin scripts
95
96 SET(_python_IGES_SCRIPTS
97   IGESPluginBuilder.py
98   __init__.py
99 )
100
101 # XAO plugin scripts
102
103 SET(_python_XAO_SCRIPTS
104   XAOPluginBuilder.py
105   __init__.py
106 )
107
108 # VTK plugin scripts
109
110 SET(_python_VTK_SCRIPTS
111   VTKPluginBuilder.py
112   __init__.py
113 )
114
115 # scripts / shared
116
117 SET(_shared_SCRIPTS
118   GEOM_shared_modules.py
119   )
120
121 # --- rules ---
122
123 SALOME_INSTALL_SCRIPTS("${_other_SCRIPTS}" ${SALOME_INSTALL_SCRIPT_DATA} DEF_PERMS)
124 SALOME_INSTALL_SCRIPTS("${_shared_SCRIPTS}" ${SALOME_INSTALL_PYTHON_SHARED} DEF_PERMS)
125 SALOME_INSTALL_SCRIPTS("${_python_SCRIPTS}" ${SALOME_INSTALL_PYTHON}/salome/geom DEF_PERMS)
126
127 # Install plugin scripts
128 SALOME_INSTALL_SCRIPTS("${_python_advanced_SCRIPTS}" ${SALOME_INSTALL_PYTHON}/salome/AdvancedGEOM DEF_PERMS)
129 SALOME_INSTALL_SCRIPTS("${_python_STL_SCRIPTS}" ${SALOME_INSTALL_PYTHON}/salome/STLPlugin DEF_PERMS)
130 SALOME_INSTALL_SCRIPTS("${_python_BREP_SCRIPTS}" ${SALOME_INSTALL_PYTHON}/salome/BREPPlugin DEF_PERMS)
131 SALOME_INSTALL_SCRIPTS("${_python_STEP_SCRIPTS}" ${SALOME_INSTALL_PYTHON}/salome/STEPPlugin DEF_PERMS)
132 SALOME_INSTALL_SCRIPTS("${_python_IGES_SCRIPTS}" ${SALOME_INSTALL_PYTHON}/salome/IGESPlugin DEF_PERMS)
133 SALOME_INSTALL_SCRIPTS("${_python_XAO_SCRIPTS}" ${SALOME_INSTALL_PYTHON}/salome/XAOPlugin DEF_PERMS)
134 IF(SALOME_GEOM_USE_VTK)
135   SALOME_INSTALL_SCRIPTS("${_python_VTK_SCRIPTS}" ${SALOME_INSTALL_PYTHON}/salome/VTKPlugin DEF_PERMS)
136 ENDIF(SALOME_GEOM_USE_VTK)