Salome HOME
0b15f29be7fe4f1c62822c9952c0b15a8a715a60
[modules/med.git] / src / MEDOP / tui / xmedpy / CMakeLists.txt
1 # Copyright (C) 2012-2013  CEA/DEN, EDF R&D
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 INCLUDE(${SALOME_MACROS_DIR}/InstallAndCompilePythonFile.cmake)
21
22 SET(PYFILES_TO_INSTALL
23   __init__.py
24   fieldproxy.py
25   fieldtools.py
26   fieldguide.py
27   cmdtools.py
28 # For the control of PARAVIS and VISU
29   driver_pvis.py
30   driver_visu.py
31 # For the medop.sh executable program
32   medop.py
33 # Modules that are required for test or tutorial purposes only:
34   properties.py
35   )
36
37 INSTALL_AND_COMPILE_PYTHON_FILE("${PYFILES_TO_INSTALL}" ${MED_salomepythondir}/xmed)
38
39 SET(TEST_SCRIPTS_XMED
40   tests/test_xmed_fieldOperations.py
41   tests/test_xmed_uiEventListener.py
42   tests/test_xmed_visualisation.py
43   )
44
45 INSTALL(FILES ${TEST_SCRIPTS_XMED} PERMISSIONS OWNER_EXECUTE OWNER_WRITE OWNER_READ GROUP_EXECUTE GROUP_READ WORLD_EXECUTE WORLD_READ DESTINATION ${MED_salomebin_BINS}/xmed)