Salome HOME
test Strickler
[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   h019_normalCaseManualInterpolZStrickler.py
42 )
43
44 SET(HYDRO_SAMPLES
45   garonne_ign_01.png
46   garonne_ign_02.png
47   Cloud_02.xyz
48   garonne_point_L93.xyz
49   condlim.bcd
50   init.cas
51   init.lqd
52   garonne_profiles.sx
53   garonne_profiles.xyz
54   lignedo_lambert93.xyz
55   profilsStream.sx
56   profilsStream.xyz
57   lignedo.sx
58   bathyFlat.xyz
59 )
60
61 # install Python scripts
62 #SALOME_INSTALL_SCRIPTS("${EXAMPLES_TESTS}" ${SALOME_INSTALL_DOC}/examples/HYDRO)
63
64 # Application tests
65
66 SET(TEST_INSTALL_DIRECTORY ${SALOME_INSTALL_SCRIPT_SCRIPTS}/test)
67 INSTALL(FILES ${EXAMPLES_TESTS} ${HYDRO_SAMPLES} DESTINATION ${TEST_INSTALL_DIRECTORY})
68
69 INSTALL(FILES CTestTestfileInstall.cmake
70         DESTINATION ${TEST_INSTALL_DIRECTORY}
71         RENAME CTestTestfile.cmake)