INTERACTIVE_UPGRADE is set to ON. ParaView_INSTALL_DEVELOPMENT to ON, which will install the ParaView development files into the intermediate "install" folder. Additionally, it will install the ParaView development files only into a sibling folder of the target installation. ParaView_INSTALL_FULL_DEVELOPMENT to ON, which will copy the intermediate "install" folder to a sibling folder of the target installation. mpi_INSTALL_DEVELOPMENT to ON, which will install the Open-MPI build into a sibling folder of the target installation. unofficial r2) Options for building with Java wrappers have been added, but it looks like VTK 6.0 isn't complete yet. You can try them for yourself, by turning on ParaView_MODULE_VTKWRAPPINGJAVA and ParaView_VTK_WRAP_JAVA. Here is a list with the defaults used in CMake.
Assuming everything is referenced to P:/ParaView-3.98.0-sandbox/, here's an example for 32bit, along with the defaults:
SuperBuild source code folder: P:/ParaView-3.98.0-sandbox/ParaViewSuperBuildP:/ParaView-3.98.0-sandbox/pv32-buildCMake options:
~~~~~~
CMAKE_CONFIGURATION_TYPES:STRING=Release
CMAKE_CXX_FLAGS <- append /MP
CMAKE_C_FLAGS <- append /MP
CMAKE_INSTALL_PREFIX:STRING=P:/ParaView-3.98.0-sandbox/release-x64/ParaViewSuperBuild
download_location:PATH=P:/ParaView-3.98.0-sandbox/downloads
FTJAM_EXECUTABLE:PATH=P:/ParaView-3.98.0-sandbox/jam.exe
GIT_EXECUTABLE:PATH=D:/Program Files (x86)/Git/bin/git.exe
GITCOMMAND:PATH=D:/Program Files (x86)/Git/bin/git.exe
QT_QMAKE_EXECUTABLE:PATH=Q:/4.8.2_x64/bin/qmake.exe
DEVENV_PATH:PATH=d:/PROGRA~2/MICROS~1.0/Common7/IDE/VCExpress.exe
INTERACTIVE_UPGRADE:BOOL=ON
ParaView_INSTALL_DEVELOPMENT:BOOL=ON
mpi_INSTALL_DEVELOPMENT:BOOL=ON
ParaView_INSTALL_FULL_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:
Configure the project with the CMake GUI. For each one, you'll probably have to hit the "Configure" button.
Properly define where to install by defining CMAKE_INSTALL_PREFIX.
a. Warning: use a two level path, e.g. c:/ParaViewBuilds/ParaView-3.98.0-win32. This is because the options *_INSTALL_DEVELOPMENT:BOOL=ON will install the development packages in the respective subfolders at c:/ParaViewBuilds/.
Notes:
a. Always use in your paths with CMake the slash character '/', as exemplified in the previous point.
b. If you want to spare yourself some grief, DO NOT use folder paths that have SPACES in them...
The remaining configuration variables are in the previous chapter Default options
When done configuring it all, hit the "Configure" and/or "Generate" buttons.
To build the project, open the file ParaViewSuperBuild.sln with MSVC 2008 (Express).
Choose the Release version, instead of the Debug version.
Menu Solution -> Build Solution.
Build as many times as necessary, since there might be missing dependencies. Check the logs for errors.
When all built and for installing, right click on the project INSTALL and select Project only -> Build only INSTALL.
Creating the self-extractables:
7z a -sfx -t7z -mx=9 -ms=on -mmt=on ParaView-3.98.0-win32-r1.exe ParaView-3.98.0-Windows-32bit7z a -sfx -t7z -mx=9 -ms=on -mmt=on ParaView-3.98.0-win64-r1.exe ParaView-3.98.0-Windows-64bit7z a -sfx -t7z -mx=9 -ms=on -mmt=on ParaView-3.98.0-win32-dev-r1.exe ParaView-3.98.0-Windows-32bit-dev7z a -sfx -t7z -mx=9 -ms=on -mmt=on ParaView-3.98.0-win64-dev-r1.exe ParaView-3.98.0-Windows-64bit-dev7z a -sfx -t7z -mx=9 -ms=on -mmt=on ParaView-3.98.0-win32-complete_dev-r1.exe ParaView-3.98.0-Windows-32bit-complete_dev7z a -sfx -t7z -mx=9 -ms=on -mmt=on ParaView-3.98.0-win64-complete_dev-r1.exe ParaView-3.98.0-Windows-64bit-complete_dev7z a -sfx -t7z -mx=9 -ms=on -mmt=on OpenMPI-1.6.2-win32-r1.exe OpenMPI-Windows-32bit7z a -sfx -t7z -mx=9 -ms=on -mmt=on OpenMPI-1.6.2-win64-r1.exe OpenMPI-Windows-64bitCurrently 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-3.98.0-win32-dev-r1.exe -o"C:\ParaViewDevs\"
ParaView-3.98.0-win64-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.