Salome HOME
Create insitu library.
[modules/paravis.git] / src / Plugins / GhostCellsGenerator / CMakeLists.txt
1 CMAKE_MINIMUM_REQUIRED(VERSION 2.8)
2
3 PROJECT(GhostCellsGenerator)
4
5 FIND_PACKAGE(ParaView REQUIRED)
6 INCLUDE(${PARAVIEW_USE_FILE})
7
8 IF(PARAVIEW_USE_MPI)
9 # Necessary while this class is not in VTK
10   SET(SOURCES vtkPUnstructuredGridGhostCellsGenerator.cxx)
11 ENDIF(PARAVIEW_USE_MPI)
12
13 ADD_PARAVIEW_PLUGIN(GhostCellsGenerator "1.0"
14   SERVER_MANAGER_SOURCES vtkPVUnstructuredGridGhostCellsGenerator.cxx
15   SERVER_MANAGER_XML GhostCellsGenerator.xml
16   SOURCES ${SOURCES}
17   REQUIRED_ON_SERVER)
18
19 INSTALL( TARGETS GhostCellsGenerator 
20   RUNTIME DESTINATION lib/paraview
21   LIBRARY DESTINATION lib/paraview
22   ARCHIVE DESTINATION lib/paraview
23   )