Salome HOME
b3d4ca39e14feca6d54d8c5c74d70b2da82292f4
[modules/kernel.git] / src / KERNEL_PY / 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 ADD_SUBDIRECTORY(kernel)
21
22 SET(salomepython_PYTHON
23   salome_shared_modules.py
24   import_hook.py
25   omnipatch.py
26 )
27
28 IF(SALOME_USE_CORBA)
29   SET(salomepython_PYTHON
30     ${salomepython_PYTHON}
31     Help.py
32     PyInterp.py
33     batchmode_salome.py
34     salome_test.py
35     salome_kernel.py
36     salome_study.py
37     salome_iapp.py
38     salome_ComponentGUI.py
39     iparameters.py
40     salome_version.py
41     salome_notebook.py
42     salome_pynode.py
43     salome_genericobj.py
44   )
45 ENDIF(SALOME_USE_CORBA)
46
47 SALOME_INSTALL_SCRIPTS("${salomepython_PYTHON}" ${KERNEL_salomepythondir})
48 SALOME_INSTALL_SCRIPTS(kernel_shared_modules.py ${KERNEL_sharedpkgpython_PYTHON})
49 SALOME_INSTALL_SCRIPTS(__init__.py ${KERNEL_salomepythondir}/salome)