1 # Copyright (C) 2012-2013 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.
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 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 # Python-based packages
91 IF(SALOME_USE_PYCONSOLE)
92 SET(SUBDIRS_PYCONSOLE PyInterp PyConsole)
93 SET(SUBDIRS_PYTHON SALOME_SWIG SALOME_PY SALOME_PYQT)
94 ENDIF(SALOME_USE_PYCONSOLE)
97 # Light SALOME packages
99 SET(SUBDIRS_LIGHT LightApp ResExporter)
102 # Full (CORBA) SALOME packages
104 IF(NOT SALOME_LIGHT_ONLY)
105 SET(SUBDIRS_CORBA TOOLSGUI Session SalomeApp GuiHelpers TreeData)
106 ENDIF(NOT SALOME_LIGHT_ONLY)
114 ${SUBDIRS_PLOT2DVIEWER}
115 ${SUBDIRS_QXGRAPHVIEWER}
116 ${SUBDIRS_GRAPHICSVIEW}
123 FOREACH(dir ${SUBDIRS})
124 ADD_SUBDIRECTORY(${dir})
125 ENDFOREACH(dir ${SUBDIRS})