INTERACTIVE_UPGRADE
is set to ON
. ENABLE_paraviewsdk
to ON
, which will install the ParaView development files into the intermediate "install" folder. This feature was adapted from the Projects/unix
folder into Projects/win32
. mpi_INSTALL_DEVELOPMENT
to ON
, which will install the Open-MPI build into a sibling folder of the target installation. ParaView_MODULE_VTKWRAPPINGJAVA
and ParaView_VTK_WRAP_JAVA
. *.lib
files when installing the whole ParaView bundle, in case the SDK option is chosen. Here is a list with the defaults used in CMake.
Even though the base folder used in this build was at P:/ParaView-4.1.0-sandbox/
, it was necessary to futher trim down the path to W:/
, because otherwise it would not be possible to perform the build. So here's an example for 64bit, along with the defaults:
SuperBuild
source code folder: W:/ParaViewSuperBuild
W:/pv64build
jam.exe
from http://sourceforge.net/projects/freetype/files/ftjam/2.5.2/ftjam-2.5.2-win32.zip/download and place it in the main folder: W:/
W:/downloads
CMake options:
~~~~~~
CMAKE_CONFIGURATION_TYPES:STRING=Release
CMAKE_CXX_FLAGS <- append /MP
CMAKE_C_FLAGS <- append /MP
CMAKE_INSTALL_PREFIX:STRING=W:/release-x64/ParaView-4.1.0-Windows-64bit
download_location:PATH=W:/downloads
ENABLE_qt:BOOL=ON
USE_SYSTEM_qt:BOOL=ON
QT_QMAKE_EXECUTABLE:PATH=Q:/4.8.2_x64/bin/qmake.exe
ParaView_FROM_GIT:BOOL=OFF
ParaView_URL:PATH=W:/downloads/ParaView-v4.1.0-source.zip
ParaView_URL_MD5:STRING=efeac04858599aedf0131eb23beb249c
FTJAM_EXECUTABLE:PATH=W:/jam.exe
DEVENV_PATH:PATH=d:/PROGRA~2/MICROS~1.0/Common7/IDE/VCExpress.exe
NMAKE_PATH:PATH=d:/PROGRA~2/MICROS~1.0/VC/bin/amd64/nmake.exe
INTERACTIVE_UPGRADE:BOOL=ON
ENABLE_paraviewsdk:BOOL=ON
mpi_INSTALL_DEVELOPMENT:BOOL=ON
ENABLE_acusolve:BOOL=OFF
ENABLE_boost:BOOL=ON
ENABLE_cgns:BOOL=ON
ENABLE_freetype:BOOL=ON
ENABLE_hdf5:BOOL=ON
ENABLE_libxml2:BOOL=OFF
ENABLE_manta:BOOL=OFF
ENABLE_matplotlib:BOOL=ON
ENABLE_mpi:BOOL=ON
ENABLE_numpy:BOOL=ON
ENABLE_paraview:BOOL=ON
ENABLE_png:BOOL=ON
ENABLE_python:BOOL=ON
ENABLE_qt:BOOL=ON
ENABLE_silo:BOOL=ON
ENABLE_szip:BOOL=ON
ENABLE_visitbridge:BOOL=ON
ENABLE_vistrails:BOOL=OFF
ENABLE_zlib:BOOL=ON
~~~~~~
These steps are for recreating the official builds of ParaView, as well as turn on the additional features presented in this unofficial project.
You'll have to do these steps once per architecture (x86 and x86_64):
Install the MSVC 2008 version of Qt 4.8.2 (if in doubt, pick with Qt3) from http://code.google.com/p/qt-msvc-installer/.
Install Git for Windows: http://msysgit.github.com/
Download the source code for the ParaView SuperBuild using either one of the following:
Using git:
git clone git://git.code.sf.net/p/unofficial-paraview-sdk/superbuild410
cd superbuild410
git checkout unofficial_r2
Or download and unpack a zip snapshot from the repository: unofficial_r2.zip - click on the "Download Snapshot" link.
Configure the project with the CMake GUI. For each one, you'll probably have to hit the "Configure" button.
CMAKE_INSTALL_PREFIX
. c:/ParaViewBuilds/ParaView-4.1.0-win32
. This is because the options mpi_INSTALL_DEVELOPMENT:BOOL=ON
will install the development packages in the respective subfolders at c:/ParaViewBuilds/
. To build the project, open the file ParaViewSuperBuild.sln
with MSVC 2008 (Express).
Release
version, instead of the Debug version. Solution -> Build Solution
. INSTALL
and select Project only -> Build only INSTALL
. Creating the self-extractables:
7z a -sfx -t7z -mx=9 -ms=on -mmt=on ParaView-4.1.0-win32-complete_dev-r1.exe ParaView-4.1.0-Windows-32bit
7z a -sfx -t7z -mx=9 -ms=on -mmt=on ParaView-4.1.0-win64-complete_dev-r1.exe ParaView-4.1.0-Windows-64bit
7z a -sfx -t7z -mx=9 -ms=on -mmt=on OpenMPI-1.4.4-win32-r1.exe OpenMPI-Windows-32bit
7z a -sfx -t7z -mx=9 -ms=on -mmt=on OpenMPI-1.4.4-win64-r1.exe OpenMPI-Windows-64bit
Currently they are self-extractable, not installers themselves. Either run where they are and place the resulting folder where you want... Or run each self-extractable like this:
ParaView-4.1.0-win32-complete_dev-r1.exe -o"C:\ParaViewDevs\"
ParaView-4.1.0-win64-complete_dev-r1.exe -o"C:\ParaViewDevs\"
Add additional options for:
Actually, need something like this (source):
ADD_CUSTOM_COMMAND(
TARGET crysfml
POST_BUILD
COMMAND ${CMAKE_COMMAND} -E make_directory my_dir2
COMMAND ${CMAKE_COMMAND} -E copy_directory my_dir1 my_dir2)
packaging with NSIS and/or ZIP the development version of ParaView.