Salome HOME
99f9795bb7325d41250e27be08723fb33674b330
[modules/homard.git] / src / tests / CMakeLists.txt
1 # Copyright (C) 2012-2021  CEA/DEN, EDF R&D
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 IF(SALOME_BUILD_TESTS)
21   ADD_SUBDIRECTORY(Test)
22 ENDIF(SALOME_BUILD_TESTS)
23
24 FILE(GLOB sample_files
25   ${PROJECT_SOURCE_DIR}/src/tests/samples/*.med
26   ${PROJECT_SOURCE_DIR}/src/tests/samples/*.bilan
27   ${PROJECT_SOURCE_DIR}/src/tests/samples/*.odt
28   ${PROJECT_SOURCE_DIR}/src/tests/samples/*.pdf
29   ${PROJECT_SOURCE_DIR}/src/tests/samples/*.png
30   ${PROJECT_SOURCE_DIR}/src/tests/samples/*.xao)
31 INSTALL(FILES ${sample_files} DESTINATION ${SALOME_HOMARD_INSTALL_SAMPLES})