ENH: improve setup for paraview
- removed reliance on ParaView_INCLUDE_DIR variable for conveying the major.minor version information when compiling. This can be somewhat fragile and also adds variable that is an unnecessary when running (only used when compiling). Instead use `have_pvplugin_support` function in paraviewFunctions wmake script to determine the maj.min from the PV_PLUGIN_PATH since we have already defined the output path there with paraview maj.min numbering. Can now build with paraview from the operating system, provided that it has develop headers available. ParaView_VERSION=system In the etc/config.sh/paraview setup, the maj.min is taken from the corresponding `paraview --version` output and used when defining the PV_PLUGIN_PATH. During the build, the include path taken from `paraview-config` for a system installation, from the guess installation root of the paraview binary, or ParaView_DIR otherwise. NB: using a system ParaView for building runTimePostProcessing is unsupported. - these types of builds appear to have various library resolution issues (eg, libexpat not being loaded). Additionally, the build logic does not yet cover this type of use case.
Showing
- applications/utilities/postProcessing/graphics/PVReaders/Allwclean 3 additions, 5 deletions...ons/utilities/postProcessing/graphics/PVReaders/Allwclean
- applications/utilities/postProcessing/graphics/PVReaders/Allwmake 12 additions, 24 deletions...ions/utilities/postProcessing/graphics/PVReaders/Allwmake
- applications/utilities/postProcessing/graphics/PVReaders/PVFoamReader/CMakeLists-Project.txt 1 addition, 1 deletion...ng/graphics/PVReaders/PVFoamReader/CMakeLists-Project.txt
- applications/utilities/postProcessing/graphics/PVReaders/PVblockMeshReader/CMakeLists-Project.txt 1 addition, 1 deletion...aphics/PVReaders/PVblockMeshReader/CMakeLists-Project.txt
- applications/utilities/postProcessing/graphics/PVReaders/foamPv/Make/options 2 additions, 4 deletions...ies/postProcessing/graphics/PVReaders/foamPv/Make/options
- applications/utilities/postProcessing/graphics/PVReaders/vtkPVFoam/Make/options 3 additions, 5 deletions.../postProcessing/graphics/PVReaders/vtkPVFoam/Make/options
- applications/utilities/postProcessing/graphics/PVReaders/vtkPVblockMesh/Make/options 3 additions, 5 deletions...Processing/graphics/PVReaders/vtkPVblockMesh/Make/options
- bin/paraFoam 48 additions, 47 deletionsbin/paraFoam
- etc/config.csh/paraview 74 additions, 31 deletionsetc/config.csh/paraview
- etc/config.sh/paraview 88 additions, 54 deletionsetc/config.sh/paraview
- src/functionObjects/graphics/runTimePostProcessing/Allwclean 2 additions, 4 deletionssrc/functionObjects/graphics/runTimePostProcessing/Allwclean
- wmake/rules/General/paraview 0 additions, 8 deletionswmake/rules/General/paraview
- wmake/scripts/cmakeFunctions 27 additions, 64 deletionswmake/scripts/cmakeFunctions
- wmake/scripts/paraviewFunctions 202 additions, 0 deletionswmake/scripts/paraviewFunctions
Please register or sign in to comment