1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
// SPDX-FileCopyrightText: Copyright (c) Ken Martin, Will Schroeder, Bill Lorensen
// SPDX-License-Identifier: BSD-3-Clause
#ifndef vtk_jsoncpp_h
#define vtk_jsoncpp_h
/* Use the jsoncpp library configured for VTK. */
#cmakedefine01 VTK_MODULE_USE_EXTERNAL_vtkjsoncpp
#cmakedefine01 VTK_JSONCPP_SHARED
#if VTK_MODULE_USE_EXTERNAL_vtkjsoncpp
# if !defined(JSON_DLL) && defined(_WIN32) && VTK_JSONCPP_SHARED
# define JSON_DLL
# endif
# include <json/json.h>
#else
// Needed for Windows declspec import logic
# if !defined(JSON_DLL) && defined(_WIN32) && VTK_JSONCPP_SHARED
# define JSON_DLL
# endif
# include <vtkjsoncpp/json/json.h>
#endif
#endif
|