vtk_jsoncpp.h
Go to the documentation of this file.
1 /*=========================================================================
2 
3  Program: Visualization Toolkit
4  Module: vtk_jsoncpp.h.in
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_jsoncpp_h
16 #define vtk_jsoncpp_h
17 
18 /* Use the jsoncpp library configured for VTK. */
19 #define VTK_MODULE_USE_EXTERNAL_vtkjsoncpp 0
20 
21 #define VTK_JSONCPP_SHARED 1
22 
23 #if VTK_MODULE_USE_EXTERNAL_vtkjsoncpp
24 # if !defined(JSON_DLL) && defined(_WIN32) && VTK_JSONCPP_SHARED
25 # define JSON_DLL
26 # endif
27 # include <json/json.h>
28 #else
29 // Needed for Windows declspec import logic
30 # if !defined(JSON_DLL) && defined(_WIN32) && VTK_JSONCPP_SHARED
31 # define JSON_DLL
32 # endif
33 # include <vtkjsoncpp/json/json.h>
34 #endif
35 
36 #endif