Commit bd87057c authored by Cory Quammen's avatar Cory Quammen
Browse files

Enable Looking Glass display plugin

This adds a new project 'lookingglass' to build the LookingGlass
plugin for ParaView.
parent f7cf7f2b
...@@ -49,6 +49,7 @@ function (superbuild_find_projects var) ...@@ -49,6 +49,7 @@ function (superbuild_find_projects var)
hdf5 hdf5
ispc ispc
las las
lookingglass
matplotlib matplotlib
mpi mpi
netcdf netcdf
......
superbuild_add_project(lookingglass
CONFIGURE_COMMAND
""
BUILD_COMMAND
""
INSTALL_COMMAND
"${CMAKE_COMMAND}"
-Dsource_dir:PATH=<SOURCE_DIR>
-Dinstall_dir:PATH=<INSTALL_DIR>
-P "${CMAKE_CURRENT_LIST_DIR}/scripts/lookingglass.install.cmake"
)
# Just switch here for simplicity
set(libpath)
if(WIN32)
# Note - the .lib should be placed in lib instead of bin.
# Need to fix the install rule for the lib
set(libpath bin/HoloPlayCore.lib)
elseif(APPLE)
set(libpath lib/libHoloPlayCore.dylib)
else()
set(libpath lib/libHoloPlayCore.so)
endif()
superbuild_add_extra_cmake_args(
-DHoloPlayCore_INCLUDE_DIR:PATH=<INSTALL_DIR>/include
-DHoloPlayCore_LIBRARY:FILEPATH=<INSTALL_DIR>/${libpath}
)
...@@ -116,7 +116,7 @@ superbuild_add_project(paraview ...@@ -116,7 +116,7 @@ superbuild_add_project(paraview
DEPENDS cxx11 DEPENDS cxx11
DEPENDS_OPTIONAL DEPENDS_OPTIONAL
adios2 cuda boost fortran gdal hdf5 matplotlib mpi numpy png protobuf adios2 cuda boost fortran gdal hdf5 matplotlib mpi numpy png protobuf
python python3 qt5 visitbridge zlib silo las python python3 qt5 visitbridge zlib silo las lookingglass
xdmf3 ospray vrpn vtkm tbb netcdf xdmf3 ospray vrpn vtkm tbb netcdf
nlohmannjson nlohmannjson
paraviewgettingstartedguide paraviewgettingstartedguide
...@@ -139,10 +139,12 @@ superbuild_add_project(paraview ...@@ -139,10 +139,12 @@ superbuild_add_project(paraview
-DPARAVIEW_ENABLE_FFMPEG:BOOL=${ffmpeg_enabled} -DPARAVIEW_ENABLE_FFMPEG:BOOL=${ffmpeg_enabled}
-DPARAVIEW_ENABLE_GDAL:BOOL=${gdal_enabled} -DPARAVIEW_ENABLE_GDAL:BOOL=${gdal_enabled}
-DPARAVIEW_ENABLE_LAS:BOOL=${las_enabled} -DPARAVIEW_ENABLE_LAS:BOOL=${las_enabled}
-DPARAVIEW_ENABLE_LOOKINGGLASS:BOOL=${lookingglass_enabled}
-DPARAVIEW_ENABLE_MOTIONFX:BOOL=${PARAVIEW_ENABLE_MOTIONFX} -DPARAVIEW_ENABLE_MOTIONFX:BOOL=${PARAVIEW_ENABLE_MOTIONFX}
-DPARAVIEW_ENABLE_VISITBRIDGE:BOOL=${visitbridge_enabled} -DPARAVIEW_ENABLE_VISITBRIDGE:BOOL=${visitbridge_enabled}
-DPARAVIEW_ENABLE_XDMF3:BOOL=${xdmf3_enabled} -DPARAVIEW_ENABLE_XDMF3:BOOL=${xdmf3_enabled}
-DPARAVIEW_INSTALL_DEVELOPMENT_FILES:BOOL=ON -DPARAVIEW_INSTALL_DEVELOPMENT_FILES:BOOL=ON
-DPARAVIEW_PLUGIN_ENABLE_LookingGlass:BOOL=${lookingglass_enabled}
-DPARAVIEW_PLUGIN_ENABLE_OpenVR:BOOL=${openvr_enabled} -DPARAVIEW_PLUGIN_ENABLE_OpenVR:BOOL=${openvr_enabled}
# No netcdftime module in the package. # No netcdftime module in the package.
-DPARAVIEW_PLUGIN_ENABLE_NetCDFTimeAnnotationPlugin:BOOL=OFF -DPARAVIEW_PLUGIN_ENABLE_NetCDFTimeAnnotationPlugin:BOOL=OFF
......
set(dir "lib")
if (WIN32)
set(dir "bin")
file(GLOB files "${source_dir}/HoloPlayCore/dylib/Win64/*")
elseif (APPLE)
file(GLOB files "${source_dir}/HoloPlayCore/dylib/macos/libHoloPlayCore.dylib")
else ()
file(GLOB files "${source_dir}/HoloPlayCore/dylib/linux/*")
endif ()
file(INSTALL ${files}
DESTINATION "${install_dir}/${dir}")
file(GLOB headers "${source_dir}/HoloPlayCore/include/*")
file(INSTALL ${headers}
DESTINATION "${install_dir}/include")
...@@ -144,6 +144,10 @@ superbuild_set_revision(las ...@@ -144,6 +144,10 @@ superbuild_set_revision(las
URL "https://www.paraview.org/files/dependencies/libLAS-1.8.1.tar.bz2" URL "https://www.paraview.org/files/dependencies/libLAS-1.8.1.tar.bz2"
URL_MD5 2e6a975dafdf57f59a385ccb87eb5919) URL_MD5 2e6a975dafdf57f59a385ccb87eb5919)
superbuild_set_revision(lookingglass
URL "https://www.paraview.org/files/dependencies/HoloPlayCore-0.1.1-Open.tar.gz"
URL_MD5 0b1bbf0644715f82b91390fc191b2882)
if (WIN32) if (WIN32)
set(nvidiaindex_platform "windows-x64") set(nvidiaindex_platform "windows-x64")
set(nvidiaindex_2_1_md5 "f6efc09092771eb0bfb375a503a95c04") set(nvidiaindex_2_1_md5 "f6efc09092771eb0bfb375a503a95c04")
......
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