You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
1.3 KiB
34 lines
1.3 KiB
2 years ago
|
/*=========================================================================
|
||
|
This source has no copyright. It is intended to be copied by users
|
||
|
wishing to create their own VTK classes locally.
|
||
|
=========================================================================*/
|
||
|
#ifndef __@PROJECT_NAME@Configure_h
|
||
|
#define __@PROJECT_NAME@Configure_h
|
||
|
|
||
|
// Define @PROJECT_NAME@_SHARED if the library was built shared.
|
||
|
#if @VTKLOCAL_BUILD_SHARED_LIBS_CONFIG@
|
||
|
# define @PROJECT_NAME@_SHARED
|
||
|
#endif
|
||
|
|
||
|
// Disable warning caused from static VTK and shared @PROJECT_NAME@.
|
||
|
#if defined(_MSC_VER) && defined(@PROJECT_NAME@_SHARED)
|
||
|
# pragma warning (disable: 4275) /* non-DLL-interface base class used */
|
||
|
#endif
|
||
|
|
||
|
// Setup export/import macro for DLL. The symbol
|
||
|
// "@PROJECT_NAME@_EXPORTS" is defined by CMake when building source
|
||
|
// files for a shared library named "@PROJECT_NAME@". For these
|
||
|
// sources we should export if building a shared library. For other
|
||
|
// sources we should import if using a shared library.
|
||
|
#if defined(_WIN32) && defined(@PROJECT_NAME@_SHARED)
|
||
|
# if defined(@PROJECT_NAME@_EXPORTS)
|
||
|
# define VTK_@PROJECT_NAME@_EXPORT __declspec(dllexport)
|
||
|
# else
|
||
|
# define VTK_@PROJECT_NAME@_EXPORT __declspec(dllimport)
|
||
|
# endif
|
||
|
#else
|
||
|
# define VTK_@PROJECT_NAME@_EXPORT
|
||
|
#endif
|
||
|
|
||
|
#endif // __@PROJECT_NAME@Configure_h
|