Commit 6cdf4b84 authored by Ben Boeckel's avatar Ben Boeckel Committed by Kitware Robot
Browse files

Merge topic 'split-xmls'

2cfb9873

 split reader xmls
Acked-by: Kitware Robot's avatarKitware Robot <kwrobot@kitware.com>
Acked-by: Ben Boeckel's avatarBen Boeckel <ben.boeckel@kitware.com>
Merge-request: !62
parents 80d3da93 2cfb9873
......@@ -93,6 +93,10 @@ endforeach(db)
add_definitions("-DRC_CPP_VISIT_BUILD")
# set of xmls for readers enabled.
set(visit_readers_xmls
visit_readers.xml)
#-----------------------------------------------------------------------------
visit_include_reader_source(Silo OFF)
if(VISIT_BUILD_READER_Silo)
......@@ -101,6 +105,8 @@ if(VISIT_BUILD_READER_Silo)
if(NOT SILO_FOUND)
message(FATAL_ERROR "Unable to locate Silo library.")
endif(NOT SILO_FOUND)
list(APPEND visit_readers_xmls
visit_silo_reader.xml)
endif(VISIT_BUILD_READER_Silo)
#-----------------------------------------------------------------------------
......@@ -117,6 +123,8 @@ if(VISIT_BUILD_READER_Boxlib3D)
if(NOT MPI_Fortran_FOUND)
find_package(MPI REQUIRED COMPONENTS Fortran)
endif()
list(APPEND visit_readers_xmls
visit_boxlib3d_reader.xml)
endif(VISIT_BUILD_READER_Boxlib3D)
visit_include_reader_source(Boxlib3D OFF)
......@@ -128,6 +136,8 @@ if(VISIT_BUILD_READER_Mili)
if(NOT Mili_FOUND)
message(FATAL_ERROR "Unable to locate Mili library.")
endif(NOT Mili_FOUND)
list(APPEND visit_readers_xmls
visit_mili_reader.xml)
endif(VISIT_BUILD_READER_Mili)
if(HAVE_LIBSILO AND VISIT_BUILD_READER_Silo)
......@@ -176,7 +186,7 @@ vtk_module_include(ParaView::IOVisItBridge
${visit_include_dirs})
paraview_add_server_manager_xmls(
XMLS visit_readers.xml)
XMLS ${visit_readers_xmls})
# if you want to add vtk-module dependencies, simply add those in module.cmake,
# rather than explicitly adding those by using target_link_libraries.
......
<ServerManagerConfiguration>
<ProxyGroup name="internal_readers">
<Proxy name="VisItBoxlib3DReaderCore" class="vtkVisItBoxlib3DReader"
base_proxygroup="internal_readers" base_proxyname="VisItReaderBase">
<Documentation
long_help="Reads Boxlib3D files">
Note this reader is automatically generated from wrapping a third party reader. For more information on the reader see https://wci.llnl.gov/codes/visit
The default file has extension is .boxlib3d or name Header.
</Documentation>
<Hints>
<ReaderFactory extensions="boxlib3d"
file_description="Boxlib3D Files" />
</Hints>
</Proxy>
</ProxyGroup>
<ProxyGroup name="sources">
<SourceProxy name="VisItBoxlib3DReader"
base_proxygroup="internal_readers"
base_proxyname="VisItSeriesReaderBase"
class="vtkFileSeriesReader"
file_name_method="SetFileName"
si_class="vtkSIMetaReaderProxy">
<Documentation
long_help="Reads Boxlib3D files.">
Note this reader is automatically generated from wrapping a third party reader. For more information on the reader see https://wci.llnl.gov/codes/visit
The default file extension is .boxlib3d and the default file is Header.
</Documentation>
<Hints>
<ReaderFactory extensions="boxlib3d"
file_description="Boxlib3D Files" />
</Hints>
<SubProxy>
<Proxy proxyname="VisItBoxlib3DReaderCore" name="Reader" proxygroup="internal_readers"/>
<ExposedProperties>
<Property name="MeshInfo" />
<Property name="MeshStatus" />
<Property name="MaterialInfo" />
<Property name="MaterialStatus" />
<Property name="CellArrayInfo" />
<Property name="CellArrayStatus" />
<Property name="PointArrayInfo" />
<Property name="PointArrayStatus" />
</ExposedProperties>
</SubProxy>
</SourceProxy>
</ProxyGroup>
</ServerManagerConfiguration>
<ServerManagerConfiguration>
<ProxyGroup name="sources">
<SourceProxy name="VisItMiliReader" class="vtkVisItMiliReader"
base_proxygroup="internal_readers" base_proxyname="VisItReaderBase">
<Documentation
long_help="LLNL engineering format reader">
Note this reader is automatically generated from wrapping a third party reader. For more information on the reader see https://wci.llnl.gov/codes/visit
The default file extensions are .m, and .mili
</Documentation>
<Hints>
<ReaderFactory extensions="m mili"
file_description="Mili Files" />
</Hints>
</SourceProxy>
</ProxyGroup>
</ServerManagerConfiguration>
......@@ -695,40 +695,9 @@
file_description="Xmdv Files" />
</Hints>
</Proxy>
#ifdef VISIT_BUILD_READER_Silo
<Proxy name="VisItSiloReaderCore" class="vtkVisItSiloReader"
base_proxygroup="internal_readers" base_proxyname="VisItReaderBase">
<Documentation
long_help="Reads Silo rectilinear, curvilinear, unstructured, or point meshes">
Note this reader is automatically generated from wrapping a third party reader. For more information on the reader see https://wci.llnl.gov/codes/visit
The default file extension is .silo
</Documentation>
</Proxy>
#endif
#ifdef VISIT_BUILD_READER_Boxlib3D
<Proxy name="VisItBoxlib3DReaderCore" class="vtkVisItBoxlib3DReader"
base_proxygroup="internal_readers" base_proxyname="VisItReaderBase">
<Documentation
long_help="Reads Boxlib3D files">
Note this reader is automatically generated from wrapping a third party reader. For more information on the reader see https://wci.llnl.gov/codes/visit
The default file has extension is .boxlib3d or name Header.
</Documentation>
<Hints>
<ReaderFactory extensions="boxlib3d"
file_description="Boxlib3D Files" />
</Hints>
</Proxy>
#endif
</ProxyGroup>
<!-- ================================================================= -->
<!-- ================================================================= -->
<!-- ================================================================= -->
<ProxyGroup name="sources">
......@@ -867,21 +836,6 @@
</Hints>
</SourceProxy>
#ifdef VISIT_BUILD_READER_Mili
<SourceProxy name="VisItMiliReader" class="vtkVisItMiliReader"
base_proxygroup="internal_readers" base_proxyname="VisItReaderBase">
<Documentation
long_help="LLNL engineering format reader">
Note this reader is automatically generated from wrapping a third party reader. For more information on the reader see https://wci.llnl.gov/codes/visit
The default file extensions are .m, and .mili
</Documentation>
<Hints>
<ReaderFactory extensions="m mili"
file_description="Mili Files" />
</Hints>
</SourceProxy>
#endif
<SourceProxy name="VisItMirandaReader" class="vtkVisItMirandaReader"
base_proxygroup="internal_readers" base_proxyname="VisItReaderBase">
<Documentation
......@@ -2514,76 +2468,5 @@
</SubProxy>
</SourceProxy>
<!-- ================================================================= -->
#ifdef VISIT_BUILD_READER_Silo
<SourceProxy name="VisItSiloReader"
base_proxygroup="internal_readers"
base_proxyname="VisItSeriesReaderBase"
class="vtkFileSeriesReader"
file_name_method="SetFileName"
si_class="vtkSIMetaReaderProxy">
<Documentation
long_help="Reads Silo rectilinear, curvilinear, unstructured, or point meshes">
Note this reader is automatically generated from wrapping a third party reader. For more information on the reader see https://wci.llnl.gov/codes/visit
The default file extension is .silo
</Documentation>
<Hints>
<ReaderFactory extensions="silo pdb silo.series pdb.series"
file_description="Silo Files" />
</Hints>
<SubProxy>
<Proxy proxyname="VisItSiloReaderCore" name="Reader" proxygroup="internal_readers"/>
<ExposedProperties>
<Property name="MeshInfo" />
<Property name="MeshStatus" />
<Property name="MaterialInfo" />
<Property name="MaterialStatus" />
<Property name="CellArrayInfo" />
<Property name="CellArrayStatus" />
<Property name="PointArrayInfo" />
<Property name="PointArrayStatus" />
</ExposedProperties>
</SubProxy>
</SourceProxy>
#endif
#ifdef VISIT_BUILD_READER_Boxlib3D
<SourceProxy name="VisItBoxlib3DReader"
base_proxygroup="internal_readers"
base_proxyname="VisItSeriesReaderBase"
class="vtkFileSeriesReader"
file_name_method="SetFileName"
si_class="vtkSIMetaReaderProxy">
<Documentation
long_help="Reads Boxlib3D files.">
Note this reader is automatically generated from wrapping a third party reader. For more information on the reader see https://wci.llnl.gov/codes/visit
The default file extension is .boxlib3d and the default file is Header.
</Documentation>
<Hints>
<ReaderFactory extensions="boxlib3d"
file_description="Boxlib3D Files" />
</Hints>
<SubProxy>
<Proxy proxyname="VisItBoxlib3DReaderCore" name="Reader" proxygroup="internal_readers"/>
<ExposedProperties>
<Property name="MeshInfo" />
<Property name="MeshStatus" />
<Property name="MaterialInfo" />
<Property name="MaterialStatus" />
<Property name="CellArrayInfo" />
<Property name="CellArrayStatus" />
<Property name="PointArrayInfo" />
<Property name="PointArrayStatus" />
</ExposedProperties>
</SubProxy>
</SourceProxy>
#endif
</ProxyGroup>
</ServerManagerConfiguration>
<ServerManagerConfiguration>
<ProxyGroup name="internal_readers">
<Proxy name="VisItSiloReaderCore" class="vtkVisItSiloReader"
base_proxygroup="internal_readers" base_proxyname="VisItReaderBase">
<Documentation
long_help="Reads Silo rectilinear, curvilinear, unstructured, or point meshes">
Note this reader is automatically generated from wrapping a third party reader. For more information on the reader see https://wci.llnl.gov/codes/visit
The default file extension is .silo
</Documentation>
</Proxy>
</ProxyGroup>
<ProxyGroup name="sources">
<SourceProxy name="VisItSiloReader"
base_proxygroup="internal_readers"
base_proxyname="VisItSeriesReaderBase"
class="vtkFileSeriesReader"
file_name_method="SetFileName"
si_class="vtkSIMetaReaderProxy">
<Documentation
long_help="Reads Silo rectilinear, curvilinear, unstructured, or point meshes">
Note this reader is automatically generated from wrapping a third party reader. For more information on the reader see https://wci.llnl.gov/codes/visit
The default file extension is .silo
</Documentation>
<Hints>
<ReaderFactory extensions="silo pdb silo.series pdb.series"
file_description="Silo Files" />
</Hints>
<SubProxy>
<Proxy proxyname="VisItSiloReaderCore" name="Reader" proxygroup="internal_readers"/>
<ExposedProperties>
<Property name="MeshInfo" />
<Property name="MeshStatus" />
<Property name="MaterialInfo" />
<Property name="MaterialStatus" />
<Property name="CellArrayInfo" />
<Property name="CellArrayStatus" />
<Property name="PointArrayInfo" />
<Property name="PointArrayStatus" />
</ExposedProperties>
</SubProxy>
</SourceProxy>
</ProxyGroup>
</ServerManagerConfiguration>
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