Config.h
Go to the documentation of this file.
1 
2 #ifndef __TERRALIB_MNT_CORE_INTERNAL_CONFIG_H
3 #define __TERRALIB_MNT_CORE_INTERNAL_CONFIG_H
4 
5 #define TE_MNT_MODULE_NAME "te.mnt"
6 
7 
8 /*! Defines the attribute name Bayes used in Bayes operation*/
9 //#define TE_MNT_CREATEISOLINES_ATTR_NAME "CreateIsolines"
10 
11 /** @name DLL/LIB Module
12 * Flags for building TerraLib as a DLL or as a Static Library
13 */
14 //@{
15 
16 /*!
17 \def TEMNTEXPORT
18 
19 \brief You can use this macro in order to export/import classes and functions from this module.
20 
21 \note If you want to compile TerraLib as DLL in Windows, remember to insert TEMNTDLL into the project's list of defines.
22 
23 \note If you want to compile TerraLib as an Static Library under Windows, remember to insert the TEMNTSTATIC flag into the project list of defines.
24 */
25 #ifdef WIN32
26 
27 #ifdef _MSC_VER
28 #pragma warning( disable : 4251 )
29 #pragma warning( disable : 4275 )
30 #endif
31 
32 
33 #ifdef TEMNTSTATIC
34 #define TEMNTEXPORT // Don't need to export/import . it is a static library
35 #elif TEMNTDLL
36 #define TEMNTEXPORT __declspec(dllexport) // export DLL information
37 #else
38 #define TEMNTEXPORT __declspec(dllimport) // import DLL information
39 #endif
40 #else
41 #define TEMNTEXPORT
42 #endif
43 
44 //@}
45 
46 #endif // __TERRALIB_MNT_CORE_INTERNAL_CONFIG_H