Salome HOME
cfd41c73379adbed6f54de3b3267203f3f997f75
[modules/hydro.git] / doc / salome / examples / 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 # examples that cant be used for testing because they use external mesher plug-ins
21
22 SET(EXAMPLES_TESTS
23   h001_importImage.py
24   h002_importImage.py
25   h003_changeLCS.py
26   h004_importBathyXYZ.py
27   h005_importImageBad.py
28   h006_importBathyXYZBad.py
29   h007_createPolySplineClosed.py
30   h008_simpleCase.py
31   h009_normalCaseManual.py
32   h010_normalCaseManualMesh.py
33   h011_normalCaseManualInterpolZ.py
34   h012_caseDigueManual.py
35   h013_caseDigueManualMesh.py
36   h014_caseDigueManualInterpolZ.py
37   h015_normalCaseManualTelemac.py
38   h016_pilesPontManualMesh.py
39   h017_interpolationLineaire.py
40   h018_streamInterpolation.py
41 )
42
43 SET(HYDRO_SAMPLES
44   garonne_ign_01.png
45   garonne_ign_02.png
46   Cloud_02.xyz
47   garonne_point_L93.xyz
48   condlim.bcd
49   init.cas
50   init.lqd
51   garonne_profiles.sx
52   garonne_profiles.xyz
53   lignedo_lambert93.xyz
54   profilsStream.sx
55   profilsStream.xyz
56   lignedo.sx
57 )
58
59 # install Python scripts
60 #SALOME_INSTALL_SCRIPTS("${EXAMPLES_TESTS}" ${SALOME_INSTALL_DOC}/examples/HYDRO)
61
62 # Application tests
63
64 SET(TEST_INSTALL_DIRECTORY ${SALOME_INSTALL_SCRIPT_SCRIPTS}/test)
65 INSTALL(FILES ${EXAMPLES_TESTS} DESTINATION ${TEST_INSTALL_DIRECTORY})
66 INSTALL(FILES ${HYDRO_SAMPLES} DESTINATION ${TEST_INSTALL_DIRECTORY}/HYDRO)
67
68 INSTALL(FILES CTestTestfileInstall.cmake
69         DESTINATION ${TEST_INSTALL_DIRECTORY}
70         RENAME CTestTestfile.cmake)