1 # Copyright (C) 2012-2013 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.
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
20 SET(COMMON_SUBDIRS INTERP_KERNEL MEDCoupling)
21 SET(PARAMEDMEM_SUBDIRS)
22 SET(OLD_COMMON_SUBDIRS)
24 # INTERP_KERNELTest, MED, RENUMBER and MEDGUI will go from OLD_COMMON_SUBDIRS -> COMMON_SUBDIRS for Salome7
27 SET(COMMON_SUBDIRS ${COMMON_SUBDIRS} MEDCoupling_Swig)
31 SET(COMMON_SUBDIRS ${COMMON_SUBDIRS} MEDLoader MEDWrapper)
32 SET(OLD_COMMON_SUBDIRS ${OLD_COMMON_SUBDIRS} MEDMEM)
34 SET(OLD_COMMON_SUBDIRS ${OLD_COMMON_SUBDIRS} INTERP_KERNELTest MEDMEMBinTest MEDMEMCppTest)
37 SET(OLD_COMMON_SUBDIRS ${OLD_COMMON_SUBDIRS} MEDMEM_SWIG)
39 ENDIF(MED_ENABLE_MED3)
42 SET(PARAMEDMEM_SUBDIRS ${PARAMEDMEM_SUBDIRS} ParaMEDMEM)
44 SET(PARAMEDMEM_SUBDIRS ${PARAMEDMEM_SUBDIRS} ParaMEDLoader)
46 SET(PARAMEDMEM_SUBDIRS ${PARAMEDMEM_SUBDIRS} ParaMEDMEMTest)
49 SET(PARAMEDMEM_SUBDIRS ${PARAMEDMEM_SUBDIRS} ParaMEDMEM_Swig)
51 ENDIF(MED_ENABLE_MED3)
54 IF(MED_ENABLE_SPLITTER)
56 SET(COMMON_SUBDIRS ${COMMON_SUBDIRS} MEDPartitioner)
57 SET(OLD_COMMON_SUBDIRS ${OLD_COMMON_SUBDIRS} MEDSPLITTER)
59 SET(OLD_COMMON_SUBDIRS ${OLD_COMMON_SUBDIRS} MEDSPLITTER_Swig)
61 ENDIF(MED_ENABLE_MED3)
62 ENDIF(MED_ENABLE_SPLITTER)
64 IF(MED_ENABLE_RENUMBER)
66 SET(OLD_COMMON_SUBDIRS ${OLD_COMMON_SUBDIRS} RENUMBER)
67 ENDIF(MED_ENABLE_MED3)
68 ENDIF(MED_ENABLE_RENUMBER)
71 SET(COMMON_SUBDIRS ${COMMON_SUBDIRS} MEDCouplingCorba)
73 SET(COMMON_SUBDIRS ${COMMON_SUBDIRS} MEDCouplingCorba_Swig)
74 SET(OLD_COMMON_SUBDIRS ${OLD_COMMON_SUBDIRS} MedCorba_Swig MED_SWIG)
76 SET(OLD_COMMON_SUBDIRS ${OLD_COMMON_SUBDIRS} MED MedClient)
78 SET(COMMON_SUBDIRS ${COMMON_SUBDIRS} ParaMEDCouplingCorba ParaMEDMEMComponent)
81 SET(COMMON_SUBDIRS ${COMMON_SUBDIRS} MEDCalculator MEDOP)
82 SET(OLD_COMMON_SUBDIRS ${OLD_COMMON_SUBDIRS} MEDMEM_I)
83 ENDIF(MED_ENABLE_MED3)
85 SET(OLD_COMMON_SUBDIRS ${OLD_COMMON_SUBDIRS} MEDGUI)
87 ENDIF(MED_ENABLE_KERNEL)
89 SET(SUBDIRS ${COMMON_SUBDIRS} ${PARAMEDMEM_SUBDIRS} ${OLD_COMMON_SUBDIRS})
91 FOREACH(DIR ${SUBDIRS})
92 ADD_SUBDIRECTORY(${DIR})
93 ENDFOREACH(DIR ${SUBDIRS})