forked from Kitware/VTK
-
Notifications
You must be signed in to change notification settings - Fork 0
/
vtk_libharu.h.in
52 lines (36 loc) · 1.4 KB
/
vtk_libharu.h.in
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
/*=========================================================================
Program: Visualization Toolkit
Module: vtk_libharu.h
Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
All rights reserved.
See Copyright.txt or http://www.kitware.com/Copyright.htm for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the above copyright notice for more information.
=========================================================================*/
#ifndef vtk_libharu_h
#define vtk_libharu_h
#include "vtkConfigure.h"
/* Use the libharu library configured for VTK. */
#cmakedefine VTK_USE_SYSTEM_LIBHARU
#ifdef VTK_USE_SYSTEM_LIBHARU
/* Defined if using external libhary, and the library is a shared lib. */
#cmakedefine VTK_EXTERNAL_LIBHARU_IS_SHARED
#endif
/* HPDF requires that HPDF_DLL be defined when linking against a shared library
* on MSVC. */
#if defined(VTK_COMPILER_MSVC)
#ifdef VTK_USE_SYSTEM_LIBHARU
#ifdef VTK_EXTERNAL_LIBHARU_IS_SHARED
#define HPDF_DLL
#endif // VTK_EXTERNAL_LIBHARU_IS_SHARED
#elif defined(VTK_BUILD_SHARED_LIBS) // && !VTK_USE_SYSTEM_LIBHARU
#define HPDF_DLL
#endif // VTK_USE_SYSTEM_LIBHARU
#endif // VTK_COMPILER_MSVC
#ifdef VTK_USE_SYSTEM_LIBHARU
# include <hpdf.h>
#else
# include <vtklibharu/include/hpdf.h>
#endif
#endif // #ifndef vtk_libharu_h