1 # Copyright (C) 2015-2016 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 ENDIF(MEDCOUPLING_ENABLE_PYTHON)
32 IF(NOT MEDCOUPLING_MICROMED)
34 ADD_SUBDIRECTORY(MEDLoader)
37 IF(MEDCOUPLING_ENABLE_RENUMBER)
38 ADD_SUBDIRECTORY(RENUMBER)
39 IF(MEDCOUPLING_ENABLE_PYTHON)
40 ADD_SUBDIRECTORY(RENUMBER_Swig)
41 ENDIF(MEDCOUPLING_ENABLE_PYTHON)
42 ENDIF(MEDCOUPLING_ENABLE_RENUMBER)
45 IF(MEDCOUPLING_ENABLE_PARTITIONER)
46 ADD_SUBDIRECTORY(MEDPartitioner)
47 IF(MEDCOUPLING_ENABLE_PYTHON)
48 ADD_SUBDIRECTORY(MEDPartitioner_Swig)
49 ENDIF(MEDCOUPLING_ENABLE_PYTHON)
50 ENDIF(MEDCOUPLING_ENABLE_PARTITIONER)
51 ENDIF(NOT MEDCOUPLING_MICROMED)
53 IF(MEDCOUPLING_USE_MPI)
55 ADD_SUBDIRECTORY(ParaMEDMEM)
58 IF(NOT MEDCOUPLING_MICROMED)
59 ADD_SUBDIRECTORY(ParaMEDLoader)
60 ENDIF(NOT MEDCOUPLING_MICROMED)
61 IF(MEDCOUPLING_ENABLE_PYTHON)
62 ADD_SUBDIRECTORY(ParaMEDMEM_Swig)
63 ENDIF(MEDCOUPLING_ENABLE_PYTHON)
64 IF(MEDCOUPLING_BUILD_TESTS)
65 IF(NOT MEDCOUPLING_MICROMED)
66 ADD_SUBDIRECTORY(ParaMEDMEMTest)
67 ENDIF(NOT MEDCOUPLING_MICROMED)
68 ENDIF(MEDCOUPLING_BUILD_TESTS)
69 ENDIF(MEDCOUPLING_USE_MPI)
72 INSTALL(FILES CTestTestfileInstall.cmake
73 DESTINATION ${MEDCOUPLING_INSTALL_TESTS}
74 RENAME CTestTestfile.cmake)