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 ADD_SUBDIRECTORY(INTERP_KERNELTest)
23 ADD_SUBDIRECTORY(MEDCoupling)
24 IF(MEDCOUPLING_ENABLE_PYTHON)
25 ADD_SUBDIRECTORY(MEDCoupling_Swig)
26 ENDIF(MEDCOUPLING_ENABLE_PYTHON)
28 IF(NOT MEDCOUPLING_MICROMED)
30 ADD_SUBDIRECTORY(MEDLoader)
33 IF(MEDCOUPLING_ENABLE_RENUMBER)
34 ADD_SUBDIRECTORY(RENUMBER)
35 IF(MEDCOUPLING_ENABLE_PYTHON)
36 ADD_SUBDIRECTORY(RENUMBER_Swig)
37 ENDIF(MEDCOUPLING_ENABLE_PYTHON)
38 ENDIF(MEDCOUPLING_ENABLE_RENUMBER)
41 IF(MEDCOUPLING_ENABLE_PARTITIONER)
42 ADD_SUBDIRECTORY(MEDPartitioner)
43 IF(MEDCOUPLING_ENABLE_PYTHON)
44 ADD_SUBDIRECTORY(MEDPartitioner_Swig)
45 ENDIF(MEDCOUPLING_ENABLE_PYTHON)
46 ENDIF(MEDCOUPLING_ENABLE_PARTITIONER)
47 ENDIF(NOT MEDCOUPLING_MICROMED)
49 IF(MEDCOUPLING_USE_MPI)
51 ADD_SUBDIRECTORY(ParaMEDMEM)
54 IF(NOT MEDCOUPLING_MICROMED)
55 ADD_SUBDIRECTORY(ParaMEDLoader)
56 ENDIF(NOT MEDCOUPLING_MICROMED)
57 IF(MEDCOUPLING_ENABLE_PYTHON)
58 ADD_SUBDIRECTORY(ParaMEDMEM_Swig)
59 ENDIF(MEDCOUPLING_ENABLE_PYTHON)
60 IF(MEDCOUPLING_BUILD_TESTS)
61 IF(NOT MEDCOUPLING_MICROMED)
62 ADD_SUBDIRECTORY(ParaMEDMEMTest)
63 ENDIF(NOT MEDCOUPLING_MICROMED)
64 ENDIF(MEDCOUPLING_BUILD_TESTS)
65 ENDIF(MEDCOUPLING_USE_MPI)
68 INSTALL(FILES CTestTestfileInstall.cmake
69 DESTINATION ${MEDCOUPLING_INSTALL_TESTS}
70 RENAME CTestTestfile.cmake)
72 INSTALL(FILES CTestTestfileInstallMEDCoupling.cmake
73 DESTINATION ${MEDCOUPLING_INSTALL_TESTS}/MEDCoupling
74 RENAME CTestTestfile.cmake)