Salome HOME
updated copyright message
[modules/homard.git] / src / tests / CMakeLists.txt
1 # Copyright (C) 2012-2023  CEA, EDF
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(MED_INT_IS_LONG)
21   # Homard tests are unavailable if medfile is built with 32-bits UIDs
22   IF(SALOME_BUILD_TESTS)
23     ADD_SUBDIRECTORY(Test)
24   ENDIF(SALOME_BUILD_TESTS)
25
26   FILE(GLOB sample_files
27     ${PROJECT_SOURCE_DIR}/src/tests/samples/*.med
28     ${PROJECT_SOURCE_DIR}/src/tests/samples/*.bilan
29     ${PROJECT_SOURCE_DIR}/src/tests/samples/*.odt
30     ${PROJECT_SOURCE_DIR}/src/tests/samples/*.pdf
31     ${PROJECT_SOURCE_DIR}/src/tests/samples/*.png
32     ${PROJECT_SOURCE_DIR}/src/tests/samples/*.xao)
33   INSTALL(FILES ${sample_files} DESTINATION ${SALOME_HOMARD_INSTALL_SAMPLES})
34 ENDIF(MED_INT_IS_LONG)