PV_PROCESS_MODULES()
+INCLUDE_DIRECTORIES(
+ ${MEDCOUPLING_INCLUDE_DIRS}
+ ${MEDFILE_INCLUDE_DIRS}
+ ${HDF5_INCLUDE_DIRS})
+
+ADD_SUBDIRECTORY(IO)
ADD_SUBDIRECTORY(ParaViewPlugin)
INCLUDE(CMakePackageConfigHelpers)
#
# Author : Anthony Geay (EDF R&D)
-INCLUDE_DIRECTORIES(
- ${MEDCOUPLING_INCLUDE_DIRS}
- ${MEDFILE_INCLUDE_DIRS}
- ${HDF5_INCLUDE_DIRS})
-
ADD_LIBRARY(VTKToMEDMem SHARED VTKToMEDMem.cxx)
TARGET_LINK_LIBRARIES(VTKToMEDMem vtkPVVTKExtensionsRendering vtkFiltersGeneral vtkFiltersCore ${PARAVIEW_LIBRARIES} ${MEDCoupling_medloader} ${MEDFILE_C_LIBRARIES})
-VTK_MODULE_LIBRARY(vtkMEDWriter vtkMEDWriter.cxx)
-TARGET_LINK_LIBRARIES(vtkMEDWriter VTKToMEDMem)
-INSTALL(TARGETS vtkMEDWriter RUNTIME DESTINATION ${VTK_INSTALL_RUNTIME_DIR} LIBRARY DESTINATION ${VTK_INSTALL_LIBRARY_DIR} ARCHIVE DESTINATION ${VTK_INSTALL_ARCHIVE_DIR} )
INSTALL(TARGETS VTKToMEDMem EXPORT ${PROJECT_NAME}TargetGroup RUNTIME DESTINATION ${VTK_INSTALL_RUNTIME_DIR} LIBRARY DESTINATION ${VTK_INSTALL_LIBRARY_DIR} ARCHIVE DESTINATION ${VTK_INSTALL_ARCHIVE_DIR} )
INSTALL(FILES VTKToMEDMem.hxx VTKMEDTraits.hxx DESTINATION ${MEDWRITER_INSTALL_HEADERS})
+++ /dev/null
-SET(VTK_LIBS vtkCommonExecutionModel vtkParallelCore)
-VTK_MODULE(vtkMEDWriter DEPENDS ${VTK_LIBS})
INCLUDE_DIRECTORIES( ${CMAKE_CURRENT_SOURCE_DIR}/../IO )
ADD_PARAVIEW_PLUGIN(MEDWriterPlugin "4.0"
- SERVER_MANAGER_SOURCES ${SM_SRCS}
- SERVER_MANAGER_XML Resources/MEDWriterServer.xml
- CS_KITS
- vtkMEDWriter)
-TARGET_LINK_LIBRARIES(MEDWriterPlugin vtkMEDWriter vtkMEDWriterCS)
+ SERVER_MANAGER_SOURCES ${SM_SRCS} ${PROJECT_SOURCE_DIR}/IO/vtkMEDWriter.cxx
+ SERVER_MANAGER_XML Resources/MEDWriterServer.xml)
+TARGET_LINK_LIBRARIES(MEDWriterPlugin VTKToMEDMem)
INSTALL(TARGETS MEDWriterPlugin RUNTIME DESTINATION lib/paraview LIBRARY DESTINATION lib/paraview ARCHIVE DESTINATION lib/paraview)