1 # Copyright (C) 2012-2015 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 ADD_SUBDIRECTORY(HelpBrowser)
26 ADD_SUBDIRECTORY(Style)
29 ADD_SUBDIRECTORY(ObjBrowser)
30 ADD_SUBDIRECTORY(SUIT)
31 ADD_SUBDIRECTORY(SUITApp)
35 ADD_SUBDIRECTORY(LogWindow)
37 ADD_SUBDIRECTORY(Event)
38 ADD_SUBDIRECTORY(ViewerData)
39 ADD_SUBDIRECTORY(ViewerTools)
40 ADD_SUBDIRECTORY(ImageComposer)
41 ADD_SUBDIRECTORY(GUI_PY)
46 IF(SALOME_USE_SALOMEOBJECT)
47 ADD_SUBDIRECTORY(OBJECT)
48 ENDIF(SALOME_USE_SALOMEOBJECT)
53 IF(SALOME_USE_OCCVIEWER OR SALOME_USE_VTKVIEWER OR SALOME_USE_GLVIEWER)
54 ADD_SUBDIRECTORY(OpenGLUtils)
55 ENDIF(SALOME_USE_OCCVIEWER OR SALOME_USE_VTKVIEWER OR SALOME_USE_GLVIEWER)
60 IF(SALOME_USE_GLVIEWER)
61 ADD_SUBDIRECTORY(GLViewer)
62 ENDIF(SALOME_USE_GLVIEWER)
67 IF(SALOME_USE_VTKVIEWER)
68 ADD_SUBDIRECTORY(VTKViewer)
69 IF(SALOME_USE_SALOMEOBJECT)
70 ADD_SUBDIRECTORY(SVTK)
71 ENDIF(SALOME_USE_SALOMEOBJECT)
72 ENDIF(SALOME_USE_VTKVIEWER)
77 IF(SALOME_USE_OCCVIEWER)
78 ADD_SUBDIRECTORY(OCCViewer)
79 IF(SALOME_USE_SALOMEOBJECT)
80 ADD_SUBDIRECTORY(SOCC)
81 ENDIF(SALOME_USE_SALOMEOBJECT)
82 ENDIF(SALOME_USE_OCCVIEWER)
87 IF(SALOME_USE_PLOT2DVIEWER)
88 ADD_SUBDIRECTORY(Plot2d)
89 IF(SALOME_USE_SALOMEOBJECT)
90 ADD_SUBDIRECTORY(SPlot2d)
91 ENDIF(SALOME_USE_SALOMEOBJECT)
92 ENDIF(SALOME_USE_PLOT2DVIEWER)
97 IF(SALOME_USE_QXGRAPHVIEWER)
98 ADD_SUBDIRECTORY(QxScene)
99 ENDIF(SALOME_USE_QXGRAPHVIEWER)
103 IF(SALOME_USE_GRAPHICSVIEW)
104 ADD_SUBDIRECTORY(GraphicsView)
105 ENDIF(SALOME_USE_GRAPHICSVIEW)
108 IF(SALOME_USE_PVVIEWER)
109 ADD_SUBDIRECTORY(PVViewer)
110 ADD_SUBDIRECTORY(PVServerService)
116 IF(SALOME_USE_PYVIEWER)
117 ADD_SUBDIRECTORY(PyEditor)
118 ADD_SUBDIRECTORY(PyViewer)
119 ENDIF(SALOME_USE_PYVIEWER)
123 # Python-based packages, part 1 (generic)
125 IF(SALOME_USE_PYCONSOLE)
126 ADD_SUBDIRECTORY(PyInterp)
127 ADD_SUBDIRECTORY(PyConsole)
128 ADD_SUBDIRECTORY(SalomePyConsole)
129 ADD_SUBDIRECTORY(SALOME_PYQT)
130 ENDIF(SALOME_USE_PYCONSOLE)
133 # Light SALOME packages
135 ADD_SUBDIRECTORY(LightApp)
136 ADD_SUBDIRECTORY(ResExporter)
139 # Python-based packages, part 2 (LightApp-dependent)
141 IF(SALOME_USE_PYCONSOLE)
142 IF(SALOME_USE_VTKVIEWER)
143 ADD_SUBDIRECTORY(SALOME_PY)
144 ENDIF(SALOME_USE_VTKVIEWER)
145 IF(SALOME_USE_SALOMEOBJECT)
146 ADD_SUBDIRECTORY(SALOME_SWIG)
147 ENDIF(SALOME_USE_SALOMEOBJECT)
148 ENDIF(SALOME_USE_PYCONSOLE)
151 # Full (CORBA) SALOME packages
153 IF(NOT SALOME_LIGHT_ONLY)
154 ADD_SUBDIRECTORY(TOOLSGUI)
155 ADD_SUBDIRECTORY(SalomeApp)
156 ADD_SUBDIRECTORY(Session)
157 ADD_SUBDIRECTORY(GuiHelpers)
158 ADD_SUBDIRECTORY(TreeData)
159 ENDIF(NOT SALOME_LIGHT_ONLY)