1 # Copyright (C) 2012-2023 CEA, EDF, 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)
44 ADD_SUBDIRECTORY(SalomeApprc_utils)
49 IF(SALOME_USE_SALOMEOBJECT)
50 ADD_SUBDIRECTORY(OBJECT)
51 ENDIF(SALOME_USE_SALOMEOBJECT)
56 IF(SALOME_USE_OCCVIEWER OR SALOME_USE_VTKVIEWER OR SALOME_USE_GLVIEWER)
57 ADD_SUBDIRECTORY(OpenGLUtils)
58 ENDIF(SALOME_USE_OCCVIEWER OR SALOME_USE_VTKVIEWER OR SALOME_USE_GLVIEWER)
63 IF(SALOME_USE_GLVIEWER)
64 ADD_SUBDIRECTORY(GLViewer)
65 ENDIF(SALOME_USE_GLVIEWER)
70 IF(SALOME_USE_VTKVIEWER)
71 ADD_SUBDIRECTORY(VTKViewer)
72 IF(SALOME_USE_SALOMEOBJECT)
73 ADD_SUBDIRECTORY(SVTK)
74 ENDIF(SALOME_USE_SALOMEOBJECT)
75 ENDIF(SALOME_USE_VTKVIEWER)
80 IF(SALOME_USE_OCCVIEWER)
81 ADD_SUBDIRECTORY(OCCViewer)
82 IF(SALOME_USE_SALOMEOBJECT)
83 ADD_SUBDIRECTORY(SOCC)
84 ENDIF(SALOME_USE_SALOMEOBJECT)
85 ENDIF(SALOME_USE_OCCVIEWER)
90 IF(SALOME_USE_PV3DVIEWER)
91 ADD_SUBDIRECTORY(PV3DViewer)
92 # ADD_SUBDIRECTORY(PV3DServerService)
93 IF(SALOME_USE_SALOMEOBJECT)
94 ADD_SUBDIRECTORY(SPV3D)
95 ENDIF(SALOME_USE_SALOMEOBJECT)
101 IF(SALOME_USE_PLOT2DVIEWER)
102 ADD_SUBDIRECTORY(Plot2d)
103 IF(SALOME_USE_SALOMEOBJECT)
104 ADD_SUBDIRECTORY(SPlot2d)
105 ENDIF(SALOME_USE_SALOMEOBJECT)
106 ENDIF(SALOME_USE_PLOT2DVIEWER)
111 IF(SALOME_USE_QXGRAPHVIEWER)
112 ADD_SUBDIRECTORY(QxScene)
113 ENDIF(SALOME_USE_QXGRAPHVIEWER)
117 IF(SALOME_USE_GRAPHICSVIEW)
118 ADD_SUBDIRECTORY(GraphicsView)
119 ENDIF(SALOME_USE_GRAPHICSVIEW)
122 IF(SALOME_USE_PVVIEWER)
123 ADD_SUBDIRECTORY(PVViewer)
124 ADD_SUBDIRECTORY(PVServerService)
130 IF(SALOME_USE_PYVIEWER)
131 ADD_SUBDIRECTORY(PyViewer)
132 ENDIF(SALOME_USE_PYVIEWER)
135 # Python-based packages, part 1 (generic)
137 IF(SALOME_USE_PYCONSOLE)
138 ADD_SUBDIRECTORY(SALOME_PYQT)
139 ENDIF(SALOME_USE_PYCONSOLE)
143 # Light SALOME packages
145 ADD_SUBDIRECTORY(LightApp)
148 # Python-based packages, part 2 (LightApp-dependent)
150 IF(SALOME_USE_PYCONSOLE)
151 IF(SALOME_USE_VTKVIEWER)
152 ADD_SUBDIRECTORY(SALOME_PY)
153 ENDIF(SALOME_USE_VTKVIEWER)
154 IF(SALOME_USE_SALOMEOBJECT)
155 ADD_SUBDIRECTORY(SALOME_SWIG)
156 ENDIF(SALOME_USE_SALOMEOBJECT)
157 ENDIF(SALOME_USE_PYCONSOLE)
160 # Full (CORBA) SALOME packages
162 IF(NOT SALOME_LIGHT_ONLY)
163 ADD_SUBDIRECTORY(TOOLSGUI)
164 ADD_SUBDIRECTORY(SalomeApp)
165 ADD_SUBDIRECTORY(Session)
166 ADD_SUBDIRECTORY(GuiHelpers)
167 ADD_SUBDIRECTORY(TreeData)
168 ENDIF(NOT SALOME_LIGHT_ONLY)