Salome HOME
[EDF25906] : redirect output of the wget into MESSAGE macro
[modules/smesh.git] / src / CMakeLists.txt
1 # Copyright (C) 2012-2022  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 ##
46 # CGNS
47 ##
48 IF(SALOME_SMESH_USE_CGNS)
49   SET(SUBDIRS_CGNS
50     DriverCGNS
51   )
52 ENDIF(SALOME_SMESH_USE_CGNS)
53
54 ##
55 # GUI
56 ##
57 IF(SALOME_BUILD_GUI)
58   SET(SUBDIRS_GUI OBJECT
59                   SMESHFiltersSelection
60                   SMESHGUI
61                   PluginUtils
62                   SMESH_SWIG_WITHIHM
63                   StdMeshersGUI
64   )
65 ENDIF(SALOME_BUILD_GUI)
66
67 SET(SUBDIRS
68   ${SUBDIRS_COMMON}
69   ${SUBDIRS_CGNS}
70   ${SUBDIRS_GUI}
71 )
72
73 FOREACH(dir ${SUBDIRS})
74  ADD_SUBDIRECTORY(${dir})
75 ENDFOREACH(dir ${SUBDIRS})