1 # Copyright (C) 2012-2014 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)
95 # Python-based packages
97 IF(SALOME_USE_PYCONSOLE)
98 SET(SUBDIRS_PYCONSOLE PyInterp PyConsole)
99 SET(SUBDIRS_PYTHON SALOME_PYQT)
100 IF(SALOME_USE_VTKVIEWER)
101 LIST(APPEND SUBDIRS_PYTHON SALOME_PY)
103 IF(SALOME_USE_SALOMEOBJECT)
104 LIST(APPEND SUBDIRS_PYTHON SALOME_SWIG)
106 ENDIF(SALOME_USE_PYCONSOLE)
109 # Light SALOME packages
111 SET(SUBDIRS_LIGHT LightApp ResExporter)
114 # Full (CORBA) SALOME packages
116 IF(NOT SALOME_LIGHT_ONLY)
117 SET(SUBDIRS_CORBA TOOLSGUI SalomeApp Session GuiHelpers TreeData)
118 ENDIF(NOT SALOME_LIGHT_ONLY)
126 ${SUBDIRS_PLOT2DVIEWER}
127 ${SUBDIRS_QXGRAPHVIEWER}
129 ${SUBDIRS_GRAPHICSVIEW}
136 FOREACH(dir ${SUBDIRS})
137 ADD_SUBDIRECTORY(${dir})
138 ENDFOREACH(dir ${SUBDIRS})