]> SALOME platform Git repositories - modules/hydro.git/blob - doc/salome/examples/CMakeLists.txt
Salome HOME
Corrections of examples path after install with scbi
[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   h023_extensionSimpleAmont.py
47   h024_extensionSimpleAval.py
48   h025_extensionSimpleRiveDroite.py
49   h026_extensionSimpleRiveGauche.py
50   g027_domaineAmont.py
51   h027_regroupMeshes.py
52   g028_domaineAmontChevauchant.py
53   h028_regroupOverlappingMeshes.py
54   h029_regroupMeshesNonEnglobant.py
55   h030_editNonHydroMesh.py
56   h031_interpolationLineaireStream.py
57   h032_completeCaseNoRegions.py
58   h033_completeCaseModifiedRegions.py
59   h034_splitShapes.py
60 )
61
62 SET(HYDRO_SAMPLES
63   garonne_ign_01.png
64   garonne_ign_02.png
65   bathyFlat.xyz
66   Cloud_02.xyz
67   garonne_point_L93.xyz
68   garonne_profiles.xyz
69   ligne_eau_lambert93.xyz
70   profilsStream.xyz
71   BDALTIr_2-0_MNT_EXT_0450_6375_LAMB93_IGN69_20110929.asc
72   axeDigue.shp
73   axeDigue.shx
74   constraint1.shp
75   constraint1.shx
76   constraint2.shp
77   constraint2.shx
78   contour.shp
79   contour.shx
80   coupeDomaineAmontChevauchant.shp
81   coupeDomaineAmontChevauchant.shx
82   domaine.shp
83   domaine.shx
84   domaineAmont.shp
85   domaineAmont.shx
86   domaineAmontChevauchant.shp
87   domaineAmontChevauchant.shx
88   extension_1_1.shp
89   extension_1_1.shx
90   extension_1_2.shp
91   extension_1_2.shx
92   extension_1_3.shp
93   extension_1_3.shx
94   extension_3_1.shp
95   extension_3_1.shx
96   extension_3_2.shp
97   extension_3_2.shx
98   garonne.shp
99   garonne.shx
100   garonneAmont.shp
101   garonneAmont.shx
102   ile.shp
103   ile.shx
104   jonction_5_1.shp
105   jonction_5_1.shx
106   jonction_5_2.shp
107   jonction_5_2.shx
108   lit_majeur.shp
109   lit_majeur.shx
110   lm2.shp
111   lm2.shx
112   lmajeur.shp
113   lmajeur.shx
114   nouvelleDigue.shp
115   nouvelleDigue.shx
116   openPoly.shp
117   openPoly.shx
118   pilesPont.shp
119   pilesPont.shx
120   raccord_4_1.shp
121   raccord_4_1.shx
122   raccord_4_2.shp
123   raccord_4_2.shx
124   simplePolyline.shp
125   simplePolyline.shx
126   zoneNouvelleDigue.shp
127   zoneNouvelleDigue.shx
128   zonePont.shp
129   zonePont.shx
130   condlim.bcd
131   init.cas
132   init.lqd
133   princi_cms.f
134   axeRivesProfilesStreamLin2.sx
135   axeRivesStreamLin.sx
136   garonne_profiles.sx
137   ligne_eau.sx
138   lignedo.sx
139   profilsStream.sx
140   profilsStreamLin.sx
141   profilsStreamLin2.sx
142 )
143
144 # install Python scripts
145 #SALOME_INSTALL_SCRIPTS("${EXAMPLES_TESTS}" ${SALOME_INSTALL_DOC}/examples/HYDRO)
146
147 # Application tests
148
149 SET(TEST_INSTALL_DIRECTORY ${SALOME_INSTALL_SCRIPT_SCRIPTS}/test)
150 INSTALL(FILES ${EXAMPLES_TESTS} ${HYDRO_SAMPLES} DESTINATION ${TEST_INSTALL_DIRECTORY})
151
152 INSTALL(FILES CTestTestfileInstall.cmake
153         DESTINATION ${TEST_INSTALL_DIRECTORY}
154         RENAME CTestTestfile.cmake)