Commit 7342ff87 authored by Ben Boeckel's avatar Ben Boeckel

paraview: bundle all plugins built by ParaView

parent 6ccaa87b
Pipeline #38789 passed with stage
include(paraview-appname)
set(paraview_doc_dir "${paraview_appname}/Contents/doc")
set(paraview_data_dir "${paraview_appname}/Contents/data")
set(paraview_plugin_path "Applications/paraview.app/Contents/Plugins")
include(paraview.bundle.common)
if (NOT paraview_has_gui)
......
......@@ -96,34 +96,15 @@ function (paraview_add_plugin output)
file(WRITE "${output}" "${contents}")
endfunction ()
set(paraview_plugins
AcceleratedAlgorithms
AnalyzeNIfTIIO
ArrowGlyph
GeodesicMeasurement
GMVReader
H5PartReader
Moments
NonOrthogonalSource
SLACTools
StreamingParticles
SurfaceLIC
PacMan
ThickenLayeredCells)
if (paraview_has_gui)
file(STRINGS "${superbuild_install_location}/${paraview_plugin_path}/.plugins"
paraview_plugin_lines
REGEX "name=\"[A-Za-z0-9]+\"")
set(paraview_plugins)
foreach (paraview_plugin_line IN LISTS paraview_plugin_lines)
string(REGEX REPLACE ".*name=\"\([A-Za-z0-9]+\)\".*" "\\1" paraview_plugin "${paraview_plugin_line}")
list(APPEND paraview_plugins
CatalystScriptGeneratorPlugin
SierraPlotTools)
endif ()
if (vortexfinder2_enabled)
list(APPEND paraview_plugins
BDATReader
BDATSeriesReader
GLGPUSupercurrentFilter
GLGPUVortexFilter)
endif ()
"${paraview_plugin}")
endforeach ()
if (osmesa_built_by_superbuild OR mesa_built_by_superbuild)
set(mesa_libraries glapi)
......
......@@ -2,6 +2,7 @@ include(paraview-version)
set(paraview_doc_dir "share/paraview-${paraview_version}/doc")
set(paraview_data_dir "share/paraview-${paraview_version}/data")
set(paraview_plugin_path "lib/paraview-${paraview_version}")
include(paraview.bundle.common)
set(paraview_component ParaView)
......
set(paraview_doc_dir "doc")
set(paraview_data_dir "data")
set(paraview_plugin_path "bin")
include(paraview.bundle.common)
# Set NSIS install specific stuff.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment