Salome HOME
Addition of Bivariate noise representation to deal with 2D/3D uncertainties visualization
[modules/paravis.git] / src / Plugins / BivariateRepresentations / Plugin / CMakeLists.txt
diff --git a/src/Plugins/BivariateRepresentations/Plugin/CMakeLists.txt b/src/Plugins/BivariateRepresentations/Plugin/CMakeLists.txt
new file mode 100644 (file)
index 0000000..f63635c
--- /dev/null
@@ -0,0 +1,36 @@
+if (PARAVIEW_USE_QT)
+  list(APPEND sources
+    pqBivariateAnimationManager.cxx
+    pqBivariateAnimationManager.h)
+
+  paraview_plugin_add_auto_start(
+    CLASS_NAME "pqBivariateAnimationManager"
+    STARTUP onStartup
+    SHUTDOWN onShutdown
+    INTERFACES autostart_interface
+    SOURCES autostart_sources)
+  list(APPEND interfaces
+    ${autostart_interface})
+  list(APPEND sources
+    ${autostart_sources})
+endif ()
+
+paraview_add_plugin(BivariateRepresentations
+  REQUIRED_ON_CLIENT
+  REQUIRED_ON_SERVER
+  VERSION "1.0"
+  UI_INTERFACES ${interfaces}
+  SOURCES ${sources}
+  MODULES BivariateRepresentations::vtkBivariateRepresentations
+  MODULE_FILES "${CMAKE_CURRENT_SOURCE_DIR}/Representations/vtk.module"
+  XML_DOCUMENTATION OFF)
+ install(TARGETS BivariateRepresentations
+  RUNTIME DESTINATION lib/paraview
+  LIBRARY DESTINATION lib/paraview
+  ARCHIVE DESTINATION lib/paraview
+  )
+
+if (BUILD_TESTING)
+  add_subdirectory(Testing)
+endif()