Loading...
Searching...
No Matches
Config.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2008 National Institute For Space Research (INPE) - Brazil.
3
4 This file is part of the TerraLib - a Framework for building GIS enabled applications.
5
6 TerraLib is free software: you can redistribute it and/or modify
7 it under the terms of the GNU Lesser General Public License as published by
8 the Free Software Foundation, either version 3 of the License,
9 or (at your option) any later version.
10
11 TerraLib is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU Lesser General Public License for more details.
15
16 You should have received a copy of the GNU Lesser General Public License
17 along with TerraLib. See COPYING. If not, write to
18 TerraLib Team at <terralib-team@terralib.org>.
19 */
20
21/*!
22 \file terralib/core/Config.h
23
24 \brief Configuration flags for TerraLib Core.
25*/
26
27#ifndef __TERRALIB_CORE_CONFIG_H__
28#define __TERRALIB_CORE_CONFIG_H__
29
30// TerraLib
31#include "../Defines.h"
32
33// STL
34#include <map>
35#include <string>
36#include <vector>
37
38#ifdef WIN32
39 #ifdef _MSC_VER
40 #pragma warning( disable : 4251 )
41 #pragma warning( disable : 4275 )
42 #pragma warning( disable : 4290 )
43 #pragma warning( disable : 4503 ) // for no properly declared STL object in the class boundaries.
44 #endif
45
46#ifdef TECOREDLL
47 #define TECOREEXPORT TE_DLL_EXPORT
48#else
49 #define TECOREEXPORT TE_DLL_IMPORT
50 #endif
51#else
52 #define TECOREEXPORT
53#endif
54
55#endif // __TERRALIB_CORE_CONFIG_H__
56