Salome HOME
9bc1261c01890f7f481756286e1c15290d537979
[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 )
34
35 SET(HYDRO_SAMPLES
36   garonne_ign_01.png
37   garonne_ign_02.png
38   Cloud_02.xyz
39   garonne_point_L93.xyz
40 )
41
42 # install Python scripts
43 #SALOME_INSTALL_SCRIPTS("${EXAMPLES_TESTS}" ${SALOME_INSTALL_DOC}/examples/HYDRO)
44
45 # Application tests
46
47 SET(TEST_INSTALL_DIRECTORY ${SALOME_INSTALL_SCRIPT_SCRIPTS}/test)
48 INSTALL(FILES ${EXAMPLES_TESTS} ${HYDRO_SAMPLES} DESTINATION ${TEST_INSTALL_DIRECTORY})
49
50 INSTALL(FILES CTestTestfileInstall.cmake
51         DESTINATION ${TEST_INSTALL_DIRECTORY}
52         RENAME CTestTestfile.cmake)