XML Settings only proxy fails to build because of automatic documentation generation
A plugin containing only a <SettingsProxy>
fails to build with the following error:
<ParaViewPlugin>
<ServerManagerConfiguration>
<ProxyGroup name="settings">
<SettingsProxy name="PacManSettings" label="PacMan"
processes="client|dataserver|renderserver">
<Documentation>
Settings for the PacMan plugin.
</Documentation>
<IntVectorProperty name="TestOption"
number_of_elements="1"
default_values="0">
<Documentation>
This is a simple boolean test option.
</Documentation>
<BooleanDomain name="bool" />
</IntVectorProperty>
<Hints>
<UseDocumentationForLabels />
</Hints>
</SettingsProxy>
</ProxyGroup>
</ServerManagerConfiguration>
</ParaViewPlugin>
[ 42%] Compiling Qt help for ReaderXMLOnly
CMake Error at /home/glow/work/paraview/pv3/build/lib/cmake/paraview-5.9/ParaViewClient.cmake:892 (message):
No matching files given without a table of contents
make[2]: *** [Plugin/CMakeFiles/ReaderXMLOnly_qch.dir/build.make:80: Plugin/paraview_help/ReaderXMLOnly.qch] Error 1
make[1]: *** [CMakeFiles/Makefile2:145: Plugin/CMakeFiles/ReaderXMLOnly_qch.dir/all] Error 2
make: *** [Makefile:149: all] Error 2
Adding a single dummy <SourceProxy>
fixes the issue.
Attached is an example to reproduce easily.