Macros
vtk_fmt.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define VTK_MODULE_USE_EXTERNAL_VTK_fmt   0
 When using 'fmt' in VTK, this header enables use to use either the fmt version provided by VTK or an externally built version based on compile time flags. More...
 
#define VTK_FMT(header)   <vtkfmt/vtk##header>
 

Macro Definition Documentation

◆ VTK_MODULE_USE_EXTERNAL_VTK_fmt

#define VTK_MODULE_USE_EXTERNAL_VTK_fmt   0

When using 'fmt' in VTK, this header enables use to use either the fmt version provided by VTK or an externally built version based on compile time flags.

When using 'fmt' include this header and then include any fmt header you need as follows:

{c++}
#include <vtk_fmt.>
// clang-format off
#include VTK_FMT(fmt/core.h)
// clang-format on

Note the clang-format sentinels are need avoid incorrect formatting the VTK_FMT macro call when using clang-format to format the code.

Definition at line 29 of file vtk_fmt.h.

◆ VTK_FMT

#define VTK_FMT (   header)    <vtkfmt/vtk##header>

Definition at line 34 of file vtk_fmt.h.