Salome HOME
[EDF17832] : Move VoroGauss GaussToCell StaticMesh DevelopedSurface from EDF to parav...
[modules/paravis.git] / src / Plugins / CMakeLists.txt
1 # Copyright (C) 2010-2016  CEA/DEN, EDF R&D
2 #
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.
7 #
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.
12 #
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
16 #
17 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
18 #
19
20 INCLUDE(${PARAVIEW_USE_FILE})
21
22 SET(_subdirs
23   MEDReader
24   MEDWriter
25 #  TableReader
26   SimpleMode
27   ElevationSurface
28   ScaleVector
29   EllipseBuilder
30   DifferenceTimesteps
31   ArrayRenamer
32   JSONReader
33   DevelopedSurface
34   StaticMesh
35   GaussToCell
36   VoroGauss
37   )
38
39 IF(NOT SALOME_LIGHT_ONLY)
40   IF(SALOME_PARAVIS_BUILD_CORBA_PLUGINS)
41     LIST(APPEND _subdirs
42       ParaMEDCorba
43     )
44   ENDIF()
45 ENDIF()
46
47 IF(SALOME_PARAVIS_USE_GEOM_SOURCE)
48   LIST(APPEND _subdirs ParaGEOMCorba)
49 ENDIF()
50
51 IF(SALOME_PARAVIS_USE_SMESH_SOURCE)
52   LIST(APPEND _subdirs ParaSMESHCorba)
53 ENDIF()
54
55 FOREACH(_dir ${_subdirs})
56   ADD_SUBDIRECTORY(${_dir})
57 ENDFOREACH()