Salome HOME
abf31765c79f665e2e95d62ba467edcd32652d51
[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   h020_normalCaseChangeBathy.py
43   h021_meshChangeBathy.py
44   g022_extensionSimpleComplete.py
45   h022_extensionSimpleComplete.py
46 )
47
48 SET(HYDRO_SAMPLES
49   garonne_ign_01.png
50   garonne_ign_02.png
51   Cloud_02.xyz
52   garonne_point_L93.xyz
53   domaine.shp
54   domaine.shx
55   domaineAmont.shp
56   domaineAmont.shx
57   domaineAmontChevauchant.shp
58   domaineAmontChevauchant.shx
59   extension_1_1.shp
60   extension_1_1.shx
61   extension_1_2.shp
62   extension_1_2.shx
63   extension_1_3.shp
64   extension_1_3.shx
65   extension_3_1.shp
66   extension_3_1.shx
67   extension_3_2.shp
68   extension_3_2.shx
69   garonne.shp
70   garonne.shx
71   garonneAmont.shp
72   garonneAmont.shx
73   ile.shp
74   ile.shx
75   jonction_5_1.shp
76   jonction_5_1.shx
77   jonction_5_2.shp
78   jonction_5_2.shx
79   lit_majeur.shp
80   lit_majeur.shx
81   raccord_4_1.shp
82   raccord_4_1.shx
83   raccord_4_2.shp
84   raccord_4_2.shx
85   condlim.bcd
86   init.cas
87   init.lqd
88   garonne_profiles.sx
89   garonne_profiles.xyz
90   ligne_eau_lambert93.xyz
91   princi_cms.f
92   profilsStream.sx
93   profilsStream.xyz
94   lignedo.sx
95   ligne_eau.sx
96   bathyFlat.xyz
97   BDALTIr_2-0_MNT_EXT_0450_6375_LAMB93_IGN69_20110929.asc
98 )
99
100 # install Python scripts
101 #SALOME_INSTALL_SCRIPTS("${EXAMPLES_TESTS}" ${SALOME_INSTALL_DOC}/examples/HYDRO)
102
103 # Application tests
104
105 SET(TEST_INSTALL_DIRECTORY ${SALOME_INSTALL_SCRIPT_SCRIPTS}/test)
106 INSTALL(FILES ${EXAMPLES_TESTS} ${HYDRO_SAMPLES} DESTINATION ${TEST_INSTALL_DIRECTORY})
107
108 INSTALL(FILES CTestTestfileInstall.cmake
109         DESTINATION ${TEST_INSTALL_DIRECTORY}
110         RENAME CTestTestfile.cmake)