Salome HOME
Give proper permissions to Python scripts
[modules/geom.git] / src / GEOM_SWIG / CMakeLists.txt
1 # Copyright (C) 2012-2013  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.
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 # scripts / shared
68
69 SET(_shared_SCRIPTS
70   GEOM_shared_modules.py
71   )
72
73 # --- rules ---
74
75 SALOME_INSTALL_SCRIPTS("${_other_SCRIPTS}" ${SALOME_INSTALL_SCRIPT_DATA} DEF_PERMS)
76 SALOME_INSTALL_SCRIPTS("${_shared_SCRIPTS}" ${SALOME_INSTALL_PYTHON_SHARED} DEF_PERMS)
77 SALOME_INSTALL_SCRIPTS("${_python_SCRIPTS}" ${SALOME_INSTALL_PYTHON}/salome/geom DEF_PERMS)