38 * Flags for building TerraLib as a DLL or as a Static Library
39 */
40//@{
41
42/*!
43 \def TEOGCWMSQTPLUGINEXPORT
44
45 \brief You can use this macro in order to export/import classes and functions from this module.
46
47 \note If you want to compile TerraLib as DLL in Windows, remember to insert TEOGCWMSQTPLUGINDLL into the project's list of defines.
48
49 \note If you want to compile TerraLib as an Static Library under Windows, remember to insert the TEOGCWMSQTPLUGINSTATIC flag into the project list of defines.
50*/
51
52#ifdef WIN32
53
54 #ifdef _MSC_VER
55 #pragma warning( disable : 4251 )
56 #pragma warning( disable : 4275 )
57 #pragma warning( disable : 4290 )
58 #endif
59
60 #ifdef TEOGCWMSQTPLUGINSTATIC
61 #define TEOGCWMSQTPLUGINEXPORT // Don't need to export/import... it is a static library
62 #elif TEOGCWMSQTPLUGINDLL
63 #define TEOGCWMSQTPLUGINEXPORT TE_DLL_EXPORT // export DLL information
64 #else
65 #define TEOGCWMSQTPLUGINEXPORT TE_DLL_IMPORT // import DLL information