Salome HOME
Lot 6: tuning of the installation step
[modules/hydrosolver.git] / src / salome_hydro / CMakeLists.txt
1 #  Copyright (C) 2012-2013 EDF
2 #
3 #  This file is part of SALOME HYDRO module.
4 #
5 #  SALOME HYDRO module is free software: you can redistribute it and/or modify
6 #  it under the terms of the GNU General Public License as published by
7 #  the Free Software Foundation, either version 3 of the License, or
8 #  (at your option) any later version.
9 #
10 #  SALOME HYDRO module is distributed in the hope that it will be useful,
11 #  but WITHOUT ANY WARRANTY; without even the implied warranty of
12 #  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13 #  GNU General Public License for more details.
14 #
15 #  You should have received a copy of the GNU General Public License
16 #  along with SALOME HYDRO module.  If not, see <http://www.gnu.org/licenses/>.
17
18 #ADD_SUBDIRECTORY(mascaret)
19 #ADD_SUBDIRECTORY(telemac2d)
20 #ADD_SUBDIRECTORY(pytel)
21 #ADD_SUBDIRECTORY(coupling1d2d)
22 ADD_SUBDIRECTORY(boundary_conditions)
23
24 # --- Python files ---
25
26 SET(PYFILES
27   __init__.py
28   study.py
29   gui_utils.py
30   generate_interpolz.py
31   interpolz_gui.py
32 )
33
34 SET(UIFILES
35   interpolz.ui
36 )
37
38 SET(TEMPLFILES
39   interpolz.template
40 )
41
42 # --- rules ---
43
44 SALOME_INSTALL_SCRIPTS( "${PYFILES}" ${SALOME_INSTALL_PYTHON}/salome/hydro)
45 INSTALL( FILES ${UIFILES} DESTINATION ${SALOME_INSTALL_PYTHON}/salome/hydro)
46 INSTALL( FILES ${TEMPLFILES} DESTINATION ${SALOME_INSTALL_PYTHON}/salome/hydro)