vtk_libxml2.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtk_libxml2.h
5 
6  Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
7  All rights reserved.
8  See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
9 
10  This software is distributed WITHOUT ANY WARRANTY; without even
11  the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
12  PURPOSE. See the above copyright notice for more information.
13 
14 =========================================================================*/
15 #ifndef vtk_libxml2_h
16 #define vtk_libxml2_h
17 
18 /* Use the libxml2 library configured for VTK. */
19 #define VTK_MODULE_USE_EXTERNAL_vtklibxml2 0
20 
21 /* #undef LIBXML_STATIC */
22 
23 /* Macro to help include a header file from the libxml2 configured for
24  VTK. Since libxml2 has many public header files we cannot just
25  include them all here. Instead user code can include this header
26  first and then use the macro to construct the name of the desired
27  header:
28 
29  #include "vtk_libxml2.h"
30  #include VTKLIBXML2_HEADER(xmlstring.h)
31 */
32 #if VTK_MODULE_USE_EXTERNAL_vtklibxml2
33 #define VTKLIBXML2_HEADER(x) <libxml/x>
34 #else
35 #define VTKLIBXML2_HEADER(x) <vtklibxml2/include/libxml/x>
36 #endif
37 
38 #include VTKLIBXML2_HEADER(xmlversion.h)
39 
40 #endif