You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
1.4 KiB
C
44 lines
1.4 KiB
C
|
3 weeks ago
|
/*=========================================================================
|
||
|
|
|
||
|
|
Program: Visualization Toolkit
|
||
|
|
Module: vtk_jsoncpp.h.in
|
||
|
|
|
||
|
|
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_jsoncpp_h
|
||
|
|
#define vtk_jsoncpp_h
|
||
|
|
|
||
|
|
/* Needed for VTK_BUILD_SHARED_LIBS */
|
||
|
|
#ifndef VTK_BUILD_SHARED_LIBS
|
||
|
|
#define VTK_BUILD_SHARED_LIBS
|
||
|
|
#endif
|
||
|
|
|
||
|
|
/* Use the JsonCpp library configured for VTK. */
|
||
|
|
/* #undef VTK_USE_SYSTEM_JSONCPP */
|
||
|
|
#ifdef VTK_USE_SYSTEM_JSONCPP
|
||
|
|
/* #undef VTK_SYSTEM_JSONCPP_SHARED */
|
||
|
|
// Needed for Windows declspec import logic
|
||
|
|
# if !defined(JSON_DLL) && defined(_WIN32) && defined(VTK_SYSTEM_JSONCPP_SHARED)
|
||
|
|
# define JSON_DLL
|
||
|
|
# endif
|
||
|
|
# include <json/json.h>
|
||
|
|
# ifndef JSON_FORWARDS_H_INCLUDED
|
||
|
|
# error Incorrect header included, check your include paths for conflicts
|
||
|
|
# endif
|
||
|
|
#else
|
||
|
|
// Needed for Windows declspec import logic
|
||
|
|
# if !defined(JSON_DLL) && defined(_WIN32) && defined(VTK_BUILD_SHARED_LIBS)
|
||
|
|
# define JSON_DLL
|
||
|
|
# endif
|
||
|
|
# include <vtkjsoncpp/json/json.h>
|
||
|
|
#endif
|
||
|
|
|
||
|
|
#endif
|