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