vtk_jsoncpp.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_jsoncpp_h
4 #define vtk_jsoncpp_h
5 
6 /* Use the jsoncpp library configured for VTK. */
7 #define VTK_MODULE_USE_EXTERNAL_vtkjsoncpp 0
8 
9 #define VTK_JSONCPP_SHARED 1
10 
11 #if VTK_MODULE_USE_EXTERNAL_vtkjsoncpp
12 # if !defined(JSON_DLL) && defined(_WIN32) && VTK_JSONCPP_SHARED
13 # define JSON_DLL
14 # endif
15 # include <json/json.h>
16 #else
17 // Needed for Windows declspec import logic
18 # if !defined(JSON_DLL) && defined(_WIN32) && VTK_JSONCPP_SHARED
19 # define JSON_DLL
20 # endif
21 # include <vtkjsoncpp/json/json.h>
22 #endif
23 
24 #endif