1 # Copyright (C) 2015 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
19 ADD_SUBDIRECTORY(INTERP_KERNEL)
20 IF(MEDCOUPLING_BUILD_TESTS)
21 IF(NOT MEDCOUPLING_MICROMED) # to be fixed later: the tests depends on some MEDLoader includes!!
22 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)
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)
77 INSTALL(FILES CTestTestfileInstallMEDCoupling.cmake
78 DESTINATION ${MEDCOUPLING_INSTALL_TESTS}/MEDCoupling
79 RENAME CTestTestfile.cmake)