Salome HOME
0052610: Inactive "eye" icon after mesh compound creation
[modules/smesh.git] / src / CMakeLists.txt
1 # Copyright (C) 2012-2014  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 # Copyright (C) 2012-2013  CEA/DEN, EDF R&D, OPEN CASCADE
21 #
22 # This library is free software; you can redistribute it and/or
23 # modify it under the terms of the GNU Lesser General Public
24 # License as published by the Free Software Foundation; either
25 # version 2.1 of the License.
26 #
27 # This library is distributed in the hope that it will be useful,
28 # but WITHOUT ANY WARRANTY; without even the implied warranty of
29 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
30 # Lesser General Public License for more details.
31 #
32 # You should have received a copy of the GNU Lesser General Public
33 # License along with this library; if not, write to the Free Software
34 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
35 #
36 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
37 #
38
39 ##
40 # Common packages
41 ##
42 SET(SUBDIRS_COMMON
43   SMDS
44   SMESHDS
45   SMESHUtils
46   Controls
47   Driver
48   MEDWrapper
49   DriverMED
50   DriverDAT
51   DriverUNV
52   DriverSTL
53   DriverGMF
54   SMESH
55   SMESH_I
56   SMESHClient
57   SMESH_SWIG
58   StdMeshers
59   StdMeshers_I
60   SMESH_PY
61   Tools
62 )
63
64 IF(SALOME_SMESH_ENABLE_MEFISTO)
65   SET(SUBDIRS_MEFISTO2 MEFISTO2)
66 ENDIF(SALOME_SMESH_ENABLE_MEFISTO)
67
68 ##
69 # CGNS
70 ##
71 IF(SALOME_SMESH_USE_CGNS)
72   SET(SUBDIRS_CGNS 
73     DriverCGNS
74   )
75 ENDIF(SALOME_SMESH_USE_CGNS)
76
77 ##
78 # GUI
79 ##
80 IF(SALOME_BUILD_GUI)
81   SET(SUBDIRS_GUI OBJECT 
82                   SMESHFiltersSelection 
83                   SMESHGUI 
84                   PluginUtils
85                   SMESH_SWIG_WITHIHM
86                   StdMeshersGUI
87   )
88 ENDIF(SALOME_BUILD_GUI)
89
90 SET(SUBDIRS
91   ${SUBDIRS_COMMON}
92   ${SUBDIRS_MEFISTO2}
93   ${SUBDIRS_CGNS}
94   ${SUBDIRS_GUI}
95 )
96
97 FOREACH(dir ${SUBDIRS})
98  ADD_SUBDIRECTORY(${dir})
99 ENDFOREACH(dir ${SUBDIRS})