building libs for r/w vtk and xdmf geometry formats


I plan to use vtk libraries for reading/writing various vtk geometry objects (using vtk text formats, xdms formats).
Vtk sourcecode is huge and I am a bit lost, there are literally hundreds of modules.
And I am just getting started.

  1. Which are the libs I can use for reading/writing vtk text/binary geometry formats?

  2. How do I get/build the xdmf libraries included in vtk?
    I tried to build vtk-8 sources myself and xdmf libs are not built by default.
    Can you please point me to the correct settings or to some existing docs about this?

  3. on the other hand, I found a separate xdmf library on the kitware site and I am not sure which lib to use for xdms: the separate one or the version that is included in vtk itself

Thanks a lot