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
24 CASCatch Qtx HelpBrowser Style DDS QDS ObjBrowser SUIT SUITApp STD CAF
25 CAM LogWindow Prs Event OpenGLUtils ViewerData ViewerTools ImageComposer GUI_PY
31 IF(SALOME_USE_SALOMEOBJECT)
32 SET(SUBDIRS_OBJECT OBJECT)
33 ENDIF(SALOME_USE_SALOMEOBJECT)
38 IF(SALOME_USE_GLVIEWER)
39 SET(SUBDIRS_GLVIEWER GLViewer)
40 ENDIF(SALOME_USE_GLVIEWER)
45 IF(SALOME_USE_VTKVIEWER)
46 SET(SUBDIRS_VTKVIEWER VTKViewer)
48 IF(SALOME_USE_SALOMEOBJECT)
49 LIST(APPEND SUBDIRS_VTKVIEWER SVTK)
50 ENDIF(SALOME_USE_SALOMEOBJECT)
51 ENDIF(SALOME_USE_VTKVIEWER)
56 IF(SALOME_USE_OCCVIEWER)
57 SET(SUBDIRS_OCCVIEWER OCCViewer)
59 IF(SALOME_USE_SALOMEOBJECT)
60 LIST(APPEND SUBDIRS_OCCVIEWER SOCC)
61 ENDIF(SALOME_USE_SALOMEOBJECT)
62 ENDIF(SALOME_USE_OCCVIEWER)
67 IF(SALOME_USE_PLOT2DVIEWER)
68 SET(SUBDIRS_PLOT2DVIEWER Plot2d)
70 IF(SALOME_USE_SALOMEOBJECT)
71 LIST(APPEND SUBDIRS_PLOT2DVIEWER SPlot2d)
72 ENDIF(SALOME_USE_SALOMEOBJECT)
73 ENDIF(SALOME_USE_PLOT2DVIEWER)
78 IF(SALOME_USE_QXGRAPHVIEWER)
79 SET(SUBDIRS_QXGRAPHVIEWER QxScene)
80 ENDIF(SALOME_USE_QXGRAPHVIEWER)
84 IF(SALOME_USE_GRAPHICSVIEW)
85 SET(SUBDIRS_GRAPHICSVIEW GraphicsView)
86 ENDIF(SALOME_USE_GRAPHICSVIEW)
89 IF(SALOME_USE_PVVIEWER)
90 SET(SUBDIRS_PVVIEWER PVViewer)
96 IF(SALOME_USE_PYVIEWER)
97 SET(SUBDIRS_PYVIEWER PyEditor PyViewer)
98 ENDIF(SALOME_USE_PYVIEWER)
102 # Python-based packages
104 IF(SALOME_USE_PYCONSOLE)
105 SET(SUBDIRS_PYCONSOLE PyInterp PyConsole)
106 SET(SUBDIRS_PYTHON SALOME_PYQT)
107 IF(SALOME_USE_VTKVIEWER)
108 LIST(APPEND SUBDIRS_PYTHON SALOME_PY)
110 IF(SALOME_USE_SALOMEOBJECT)
111 LIST(APPEND SUBDIRS_PYTHON SALOME_SWIG)
113 ENDIF(SALOME_USE_PYCONSOLE)
116 # Light SALOME packages
118 SET(SUBDIRS_LIGHT LightApp ResExporter)
121 # Full (CORBA) SALOME packages
123 IF(NOT SALOME_LIGHT_ONLY)
124 SET(SUBDIRS_CORBA TOOLSGUI SalomeApp Session GuiHelpers TreeData)
125 ENDIF(NOT SALOME_LIGHT_ONLY)
133 ${SUBDIRS_PLOT2DVIEWER}
134 ${SUBDIRS_QXGRAPHVIEWER}
136 ${SUBDIRS_GRAPHICSVIEW}
144 FOREACH(dir ${SUBDIRS})
145 ADD_SUBDIRECTORY(${dir})
146 ENDFOREACH(dir ${SUBDIRS})