1 # Copyright (C) 2012-2022 CEA/DEN, EDF R&D, OPEN CASCADE
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
17 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
23 ADD_SUBDIRECTORY(CASCatch)
25 IF(SALOME_GUI_ENABLE_QTXWEBBROWSER)
26 ADD_SUBDIRECTORY(HelpBrowser)
28 ADD_SUBDIRECTORY(Style)
31 ADD_SUBDIRECTORY(ObjBrowser)
32 ADD_SUBDIRECTORY(SUIT)
33 ADD_SUBDIRECTORY(SUITApp)
37 ADD_SUBDIRECTORY(LogWindow)
39 ADD_SUBDIRECTORY(Event)
40 ADD_SUBDIRECTORY(ViewerData)
41 ADD_SUBDIRECTORY(ViewerTools)
42 ADD_SUBDIRECTORY(ImageComposer)
43 ADD_SUBDIRECTORY(GUI_PY)
48 IF(SALOME_USE_SALOMEOBJECT)
49 ADD_SUBDIRECTORY(OBJECT)
50 ENDIF(SALOME_USE_SALOMEOBJECT)
55 IF(SALOME_USE_OCCVIEWER OR SALOME_USE_VTKVIEWER OR SALOME_USE_GLVIEWER)
56 ADD_SUBDIRECTORY(OpenGLUtils)
57 ENDIF(SALOME_USE_OCCVIEWER OR SALOME_USE_VTKVIEWER OR SALOME_USE_GLVIEWER)
62 IF(SALOME_USE_GLVIEWER)
63 ADD_SUBDIRECTORY(GLViewer)
64 ENDIF(SALOME_USE_GLVIEWER)
69 IF(SALOME_USE_VTKVIEWER)
70 ADD_SUBDIRECTORY(VTKViewer)
71 IF(SALOME_USE_SALOMEOBJECT)
72 ADD_SUBDIRECTORY(SVTK)
73 ENDIF(SALOME_USE_SALOMEOBJECT)
74 ENDIF(SALOME_USE_VTKVIEWER)
79 IF(SALOME_USE_OCCVIEWER)
80 ADD_SUBDIRECTORY(OCCViewer)
81 IF(SALOME_USE_SALOMEOBJECT)
82 ADD_SUBDIRECTORY(SOCC)
83 ENDIF(SALOME_USE_SALOMEOBJECT)
84 ENDIF(SALOME_USE_OCCVIEWER)
89 IF(SALOME_USE_PV3DVIEWER)
90 ADD_SUBDIRECTORY(PV3DViewer)
91 # ADD_SUBDIRECTORY(PV3DServerService)
92 IF(SALOME_USE_SALOMEOBJECT)
93 ADD_SUBDIRECTORY(SPV3D)
94 ENDIF(SALOME_USE_SALOMEOBJECT)
100 IF(SALOME_USE_PLOT2DVIEWER)
101 ADD_SUBDIRECTORY(Plot2d)
102 IF(SALOME_USE_SALOMEOBJECT)
103 ADD_SUBDIRECTORY(SPlot2d)
104 ENDIF(SALOME_USE_SALOMEOBJECT)
105 ENDIF(SALOME_USE_PLOT2DVIEWER)
110 IF(SALOME_USE_QXGRAPHVIEWER)
111 ADD_SUBDIRECTORY(QxScene)
112 ENDIF(SALOME_USE_QXGRAPHVIEWER)
116 IF(SALOME_USE_GRAPHICSVIEW)
117 ADD_SUBDIRECTORY(GraphicsView)
118 ENDIF(SALOME_USE_GRAPHICSVIEW)
121 IF(SALOME_USE_PVVIEWER)
122 ADD_SUBDIRECTORY(PVViewer)
123 ADD_SUBDIRECTORY(PVServerService)
129 IF(SALOME_USE_PYVIEWER)
130 ADD_SUBDIRECTORY(PyViewer)
131 ENDIF(SALOME_USE_PYVIEWER)
134 # Python-based packages, part 1 (generic)
136 IF(SALOME_USE_PYCONSOLE)
137 ADD_SUBDIRECTORY(SALOME_PYQT)
138 ENDIF(SALOME_USE_PYCONSOLE)
142 # Light SALOME packages
144 ADD_SUBDIRECTORY(LightApp)
147 # Python-based packages, part 2 (LightApp-dependent)
149 IF(SALOME_USE_PYCONSOLE)
150 IF(SALOME_USE_VTKVIEWER)
151 ADD_SUBDIRECTORY(SALOME_PY)
152 ENDIF(SALOME_USE_VTKVIEWER)
153 IF(SALOME_USE_SALOMEOBJECT)
154 ADD_SUBDIRECTORY(SALOME_SWIG)
155 ENDIF(SALOME_USE_SALOMEOBJECT)
156 ENDIF(SALOME_USE_PYCONSOLE)
159 # Full (CORBA) SALOME packages
161 IF(NOT SALOME_LIGHT_ONLY)
162 ADD_SUBDIRECTORY(TOOLSGUI)
163 ADD_SUBDIRECTORY(SalomeApp)
164 ADD_SUBDIRECTORY(Session)
165 ADD_SUBDIRECTORY(GuiHelpers)
166 ADD_SUBDIRECTORY(TreeData)
167 ENDIF(NOT SALOME_LIGHT_ONLY)