vtkFmmMeshConfig.h
Go to the documentation of this file.
1 #ifndef _vtkFmmMeshConfig_h
2 #define _vtkFmmMeshConfig_h
3 
4 /*
5  Static or shared lib flags
6 */
7 /* #undef VTKFMMMESH_BUILD_SHARED_LIBS */
8 
9 #ifdef _WIN32
10 
11  #ifndef VTKFMMMESH_BUILD_SHARED_LIBS // static lib
12  # define FMMMESH_EXPORT
13  #else
14  # ifdef FmmMesh_EXPORTS // dynamic lib - must export/import symbols
15  # define FMMMESH_EXPORT __declspec(dllexport)
16  # else
17  # define FMMMESH_EXPORT __declspec(dllimport)
18  # endif
19  #endif
20 
21 #else
22  // Compiler that is not MS Visual C++.
23  // Ensure that the export symbol is defined (and blank)
24  #define FMMMESH_EXPORT
25 #endif
26 
27 #endif