/usr/share/vtk/Build/vtkLocal/vtkLocalConfigure.h.in is in vtk-examples 5.8.0-5.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 | /*=========================================================================
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
|