Salome HOME
22599: EDF 8159 SMESH: Bad groups created by extrusion
[modules/smesh.git] / src / CMakeLists.txt
1 # Copyright (C) 2012-2015  CEA/DEN, EDF R&D, OPEN CASCADE
2 #
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.
7 #
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.
12 #
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
16 #
17 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
18 #
19
20 ##
21 # Common packages
22 ##
23 SET(SUBDIRS_COMMON
24   SMDS
25   SMESHDS
26   SMESHUtils
27   Controls
28   Driver
29   MEDWrapper
30   DriverMED
31   DriverDAT
32   DriverUNV
33   DriverSTL
34   DriverGMF
35   SMESH
36   SMESH_I
37   SMESHClient
38   SMESH_SWIG
39   StdMeshers
40   StdMeshers_I
41   SMESH_PY
42   Tools
43 )
44
45 IF(SALOME_SMESH_ENABLE_MEFISTO)
46   SET(SUBDIRS_MEFISTO2 MEFISTO2)
47 ENDIF(SALOME_SMESH_ENABLE_MEFISTO)
48
49 ##
50 # CGNS
51 ##
52 IF(SALOME_SMESH_USE_CGNS)
53   SET(SUBDIRS_CGNS 
54     DriverCGNS
55   )
56 ENDIF(SALOME_SMESH_USE_CGNS)
57
58 ##
59 # GUI
60 ##
61 IF(SALOME_BUILD_GUI)
62   SET(SUBDIRS_GUI OBJECT 
63                   SMESHFiltersSelection 
64                   SMESHGUI 
65                   PluginUtils
66                   SMESH_SWIG_WITHIHM
67                   StdMeshersGUI
68   )
69 ENDIF(SALOME_BUILD_GUI)
70
71 SET(SUBDIRS
72   ${SUBDIRS_COMMON}
73   ${SUBDIRS_MEFISTO2}
74   ${SUBDIRS_CGNS}
75   ${SUBDIRS_GUI}
76 )
77
78 FOREACH(dir ${SUBDIRS})
79  ADD_SUBDIRECTORY(${dir})
80 ENDFOREACH(dir ${SUBDIRS})