All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
windowsplatformdefines.h
Go to the documentation of this file.
1 #ifndef __TERRALIB_INTERNAL_WINDOWSPLATFORMDEFINES_H
2 #define __TERRALIB_INTERNAL_WINDOWSPLATFORMDEFINES_H
3 
4 /** @name Dependency Libraries
5  * Flags for Enabling/Disabling Dependency Libraries in TerraLib.
6  */
7 //@{
8 
9 /*!
10  \def TERRALIB_STATIC_BUILD
11 
12  \brief If set to 1 this will tells TerraLib that it is statically build.
13  */
14 #ifndef TE_TERRALIB_STATIC_BUILD
15  #define TE_TERRALIB_STATIC_BUILD 0
16 #endif
17 
18 /*!
19  \def TE_LOGGER_ENABLED
20 
21  \brief If you want to disable all kind of logging in the TerraLib code just turn off this macro (set it to 0).
22  */
23 #ifndef TE_LOGGER_ENABLED
24  #define TE_LOGGER_ENABLED 1
25 #endif
26 
27 /*!
28  \def TE_LOGGER_DO_AUTOMATIC_INITIALIZATION
29 
30  \brief If this flag is set to 1, the logger will be automatically initialized by the TerraLib Common Runtime module.
31 
32  If you want to make the initialization in your application, feel free to change this macro to 0.
33  */
34 #define TE_LOGGER_DO_AUTOMATIC_INITIALIZATION 1
35 
36 /*!
37  \def TE_LOGGER_DO_STATIC_INITIALIZATION
38 
39  \brief If you want to start log during static initialization turn on this macro (set it to 1) otherwise turn it off (set it to 0).
40 
41  If you want to make the initialization in your application, feel free to change this macro to 0.
42  */
43 #define TE_LOGGER_DO_STATIC_INITIALIZATION 0
44 
45 /*!
46  \def TE_USE_APACHE_LOG4CXX
47 
48  \brief If this flag is set to 1 the Apache log4cxx library will be used for log support.
49  */
50 #ifndef TE_USE_APACHE_LOG4CXX
51  #define TE_USE_APACHE_LOG4CXX 1
52 #endif
53 
54 /*!
55  \def TE_TRANSLATOR_ENABLED
56 
57  \brief If you want to disable all kind of translation support in the TerraLib code just turn off this macro (set it to 0).
58  */
59 #ifndef TE_TRANSLATOR_ENABLED
60  #define TE_TRANSLATOR_ENABLED 1
61 #endif
62 
63 /*!
64  \def TE_USE_GNU_TEXT_UTILITIES
65 
66  \brief If you want to have international support you must set this flag to 1, otherwise set it to 0 (zero).
67  */
68 #ifndef TE_USE_GNU_TEXT_UTILITIES
69  #define TE_USE_GNU_TEXT_UTILITIES 1
70 #endif
71 
72 /*!
73  \def TE_CHARENCODING_ENABLED
74 
75  \brief If you want to disable all kind of character encoding conversion in the TerraLib code just turn off this macro (set it to 0).
76  */
77 #ifndef TE_CHARENCODING_ENABLED
78  #define TE_CHARENCODING_ENABLED 1
79 #endif
80 
81 /*!
82  \def TE_USE_GNU_ICONV
83 
84  \brief If you want to have character encoding support you must set this flag to 1, otherwise set it to 0 (zero).
85  */
86 #ifndef TE_USE_GNU_ICONV
87  #define TE_USE_GNU_ICONV 1
88 #endif
89 
90 /*!
91  \def TE_USE_GDAL
92 
93  \brief If this flag is set to 1 the GDAL driver support will be enabled.
94  */
95 #ifndef TE_USE_GDAL
96  #define TE_USE_GDAL 1
97 #endif
98 
99 /*!
100  \def TE_USE_OGR
101 
102  \brief If this flag is set to 1 the OGR driver support will be enabled.
103  */
104 #ifndef TE_USE_OGR
105  #define TE_USE_OGR 1
106 #endif
107 
108 /*!
109  \def TE_USE_PROJ4
110 
111  \brief If this flag is set to 1 the PROJ4 driver support will be enabled.
112  */
113 #ifndef TE_USE_PROJ4
114  #define TE_USE_PROJ4 1
115 #endif
116 
117 /*!
118  \def TE_USE_PGIS
119 
120  \brief If this flag is set to 1 the POSTGIS driver support will be enabled.
121  */
122 #ifndef TE_USE_PGIS
123  #define TE_USE_PGIS 1
124 #endif
125 
126 /*!
127  \def TE_USE_GEOS
128 
129  \brief If this flag is set to 1 the GEOS library can be used in the Vector Geometry Model of TerraLib.
130 
131  This will give you the possibility to convert between geometry models and use all the functionalities
132  in GEOS. This library is available at: http://trac.osgeo.org/geos.
133  */
134 #ifndef TE_USE_GEOS
135  #define TE_USE_GEOS 1
136 #endif
137 
138 /*!
139  \def TE_USE_CGAL
140 
141  \brief If this flag is set to 1 the CGAL library can be used in the Vector Geometry Model of TerraLib.
142 
143  This will give you the possibility to convert between geometry models and use all the functionalities
144  in CGAL. This library is available at: http://www.cgal.org/.
145  */
146 #ifndef TE_USE_CGAL
147  #define TE_USE_CGAL 0
148 #endif
149 
150 /*!
151  \def TE_USE_CGAL
152 
153  \brief If this flag is set to 1 the Generic Geometry Library can be used in the Vector Geometry Model of TerraLib.
154 
155  This will give you the possibility to convert between geometry models and use all the functionalities
156  in GGL. This library is available at: http://geometrylibrary.geodan.nl/.
157  */
158 #ifndef TE_USE_GGL
159  #define TE_USE_GGL 0
160 #endif
161 
162 /*!
163  \def TE_USE_WYKOBI
164 
165  \brief If this flag is set to 1 the Wykobi library can be used in the Vector Geometry Model of TerraLib.
166 
167  This will give you the possibility to convert between geometry models and use all the functionalities
168  in Wykobi. This library is available at: http://www.wykobi.com/.
169  */
170 #ifndef TE_USE_WYKOBI
171  #define TE_USE_WYKOBI 0
172 #endif
173 
174 /*!
175  \def TE_USE_FASTGEO
176 
177  \brief If this flag is set to 1 the FastGEO library can be used in the Vector Geometry Model of TerraLib.
178 
179  This will give you the possibility to convert between geometry models and use all the functionalities
180  in FastGEO. This library is available at: http://www.partow.net/projects/fastgeo/index.html.
181  */
182 #ifndef TE_USE_FASTGEO
183  #define TE_USE_FASTGEO 0
184 #endif
185 
186 //@}
187 
188 #endif /*__TERRALIB_INTERNAL_WINDOWSPLATFORMDEFINES_H */