vtk_libxml2.h
Go to the documentation of this file.
1 // SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
2 // SPDX-License-Identifier: BSD-3-Clause
3 #ifndef vtk_libxml2_h
4 #define vtk_libxml2_h
5 
6 /* Use the libxml2 library configured for VTK. */
7 #define VTK_MODULE_USE_EXTERNAL_vtklibxml2 0
8 
9 /* #undef LIBXML_STATIC */
10 
11 /* Macro to help include a header file from the libxml2 configured for
12  VTK. Since libxml2 has many public header files we cannot just
13  include them all here. Instead user code can include this header
14  first and then use the macro to construct the name of the desired
15  header:
16 
17  #include "vtk_libxml2.h"
18  #include VTKLIBXML2_HEADER(xmlstring.h)
19 */
20 #if VTK_MODULE_USE_EXTERNAL_vtklibxml2
21 #define VTKLIBXML2_HEADER(x) <libxml/x>
22 #else
23 #define VTKLIBXML2_HEADER(x) <vtklibxml2/include/libxml/x>
24 #endif
25 
26 #include VTKLIBXML2_HEADER(xmlversion.h)
27 
28 #endif