1 # Copyright (C) 2015-2020 CEA/DEN, EDF R&D
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.
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.
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
17 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
21 ADD_SUBDIRECTORY(INTERP_KERNEL)
22 IF(MEDCOUPLING_BUILD_TESTS)
23 ADD_SUBDIRECTORY(INTERP_KERNELTest)
24 ENDIF(MEDCOUPLING_BUILD_TESTS)
27 ADD_SUBDIRECTORY(MEDCoupling)
28 IF(MEDCOUPLING_ENABLE_PYTHON)
29 ADD_SUBDIRECTORY(MEDCoupling_Swig)
30 ADD_SUBDIRECTORY(PyWrapping)
31 ENDIF(MEDCOUPLING_ENABLE_PYTHON)
33 IF(NOT MEDCOUPLING_MICROMED)
35 ADD_SUBDIRECTORY(MEDLoader)
38 IF(MEDCOUPLING_ENABLE_RENUMBER)
39 ADD_SUBDIRECTORY(RENUMBER)
40 IF(MEDCOUPLING_ENABLE_PYTHON)
41 ADD_SUBDIRECTORY(RENUMBER_Swig)
42 ENDIF(MEDCOUPLING_ENABLE_PYTHON)
43 ENDIF(MEDCOUPLING_ENABLE_RENUMBER)
46 IF(MEDCOUPLING_ENABLE_PARTITIONER)
47 ADD_SUBDIRECTORY(MEDPartitioner)
48 IF(MEDCOUPLING_ENABLE_PYTHON)
49 ADD_SUBDIRECTORY(MEDPartitioner_Swig)
50 ENDIF(MEDCOUPLING_ENABLE_PYTHON)
51 ENDIF(MEDCOUPLING_ENABLE_PARTITIONER)
52 ENDIF(NOT MEDCOUPLING_MICROMED)
54 IF(MEDCOUPLING_USE_MPI)
56 ADD_SUBDIRECTORY(ParaMEDMEM)
59 IF(NOT MEDCOUPLING_MICROMED)
60 ADD_SUBDIRECTORY(ParaMEDLoader)
61 ENDIF(NOT MEDCOUPLING_MICROMED)
62 IF(MEDCOUPLING_ENABLE_PYTHON)
63 ADD_SUBDIRECTORY(ParaMEDMEM_Swig)
64 ENDIF(MEDCOUPLING_ENABLE_PYTHON)
65 IF(MEDCOUPLING_BUILD_TESTS)
66 IF(NOT MEDCOUPLING_MICROMED)
67 ADD_SUBDIRECTORY(ParaMEDMEMTest)
68 ENDIF(NOT MEDCOUPLING_MICROMED)
69 ENDIF(MEDCOUPLING_BUILD_TESTS)
70 ENDIF(MEDCOUPLING_USE_MPI)
73 INSTALL(FILES CTestTestfileInstall.cmake
74 DESTINATION ${MEDCOUPLING_INSTALL_TESTS}
75 RENAME CTestTestfile.cmake)