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
45 IF(SALOME_USE_SALOMEOBJECT)
46 SET(SUBDIRS_OBJECT OBJECT)
47 ENDIF(SALOME_USE_SALOMEOBJECT)
52 IF(SALOME_USE_GLVIEWER)
53 SET(SUBDIRS_GLVIEWER GLViewer)
54 ENDIF(SALOME_USE_GLVIEWER)
59 IF(SALOME_USE_VTKVIEWER)
60 SET(SUBDIRS_VTKVIEWER VTKViewer)
62 IF(SALOME_USE_SALOMEOBJECT)
63 SET(SUBDIRS_VTKVIEWER ${SUBDIRS_VTKVIEWER} SVTK)
64 SET(SUBDIRS_VIEWERTOOLSViewerTools)
65 ENDIF(SALOME_USE_SALOMEOBJECT)
66 ENDIF(SALOME_USE_VTKVIEWER)
71 IF(SALOME_USE_OCCVIEWER)
72 SET(SUBDIRS_OCCVIEWER OCCViewer)
73 SET(SUBDIRS_VIEWERTOOLS ViewerTools)
75 IF(SALOME_USE_SALOMEOBJECT)
76 SET(SUBDIRS_OCCVIEWER ${SUBDIRS_OCCVIEWER} SOCC)
77 ENDIF(SALOME_USE_SALOMEOBJECT)
78 ENDIF(SALOME_USE_OCCVIEWER)
83 IF(SALOME_USE_PLOT2DVIEWER)
84 SET(SUBDIRS_PLOT2DVIEWER Plot2d)
86 IF(SALOME_USE_SALOMEOBJECT)
87 SET(SUBDIRS_PLOT2DVIEWER ${SUBDIRS_PLOT2DVIEWER} SPlot2d)
88 ENDIF(SALOME_USE_SALOMEOBJECT)
89 ENDIF(SALOME_USE_PLOT2DVIEWER)
94 IF(SALOME_USE_SUPERVGRAPHVIEWER)
95 SET(SUBDIRS_SUPERVGRAPHVIEWER SUPERVGraph)
96 ENDIF(SALOME_USE_SUPERVGRAPHVIEWER)
101 ###VSR: QxGraph has been replaced by QxScene
102 ###SUBDIRS_QXGRAPHVIEWER = QxGraph
103 IF(SALOME_USE_QXGRAPHVIEWER)
104 SET(SUBDIRS_QXGRAPHVIEWER QxScene)
105 ENDIF(SALOME_USE_QXGRAPHVIEWER)
108 # Python console (base)
110 IF(SALOME_USE_PYCONSOLE)
111 SET(SUBDIRS_PYCONSOLE PyInterp PyConsole)
112 ENDIF(SALOME_USE_PYCONSOLE)
115 # Light SALOME packages
123 # Full (CORBA) SALOME packages
125 IF(NOT SALOME_LIGHT_ONLY)
133 ENDIF(NOT SALOME_LIGHT_ONLY)
136 # Extra Python packages
138 IF(SALOME_USE_PYCONSOLE)
144 ENDIF(SALOME_USE_PYCONSOLE)
149 ${SUBDIRS_VIEWERTOOLS}
153 ${SUBDIRS_PLOT2DVIEWER}
154 ${SUBDIRS_SUPERVGRAPHVIEWER}
155 ${SUBDIRS_QXGRAPHVIEWER}
162 FOREACH(dir ${SUBDIRS})
163 ADD_SUBDIRECTORY(${dir})
164 ENDFOREACH(dir ${SUBDIRS})