Crazy Eddie's GUI System  ${CEGUI_VERSION}
debian/tmp/usr/include/cegui-0.8.7/CEGUI/Config.h
1 /***********************************************************************
2  created: Mon Jan 10 2011
3  author: Paul D Turner <paul@cegui.org.uk>
4 *************************************************************************/
5 /***************************************************************************
6  * Copyright (C) 2004 - 2011 Paul D Turner & The CEGUI Development Team
7  *
8  * Permission is hereby granted, free of charge, to any person obtaining
9  * a copy of this software and associated documentation files (the
10  * "Software"), to deal in the Software without restriction, including
11  * without limitation the rights to use, copy, modify, merge, publish,
12  * distribute, sublicense, and/or sell copies of the Software, and to
13  * permit persons to whom the Software is furnished to do so, subject to
14  * the following conditions:
15  *
16  * The above copyright notice and this permission notice shall be
17  * included in all copies or substantial portions of the Software.
18  *
19  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
20  * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
21  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
22  * IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
23  * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
24  * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
25  * OTHER DEALINGS IN THE SOFTWARE.
26  ***************************************************************************/
28 /*************************************************************************
29 
30 This file is automatically generated by CMake and should be changed by
31 setting CMake options and regenerating, rather than editing directly.
32 
33 *************************************************************************/
35 #ifndef _CEGUIConfig_h_
36 #define _CEGUIConfig_h_
37 
38 // CMake defines NDEBUG on all platforms, but not always DEBUG :-/
39 #if !defined(NDEBUG) && !defined(DEBUG)
40 # define DEBUG 1
41 #endif
42 
43 /* #undef CEGUI_HAS_BUILD_SUFFIX */
44 #ifdef CEGUI_HAS_BUILD_SUFFIX
45 # ifndef CEGUI_BUILD_SUFFIX
46 # if defined(DEBUG) || defined(_DEBUG)
47 # define CEGUI_BUILD_SUFFIX ""
48 # else
49 # define CEGUI_BUILD_SUFFIX ""
50 # endif
51 # endif
52 #endif
53 
55 // CEGUI supports custom memory allocation (optional)
57 // if this is defined, allocation can be customised
58 /* #undef CEGUI_CUSTOM_ALLOCATORS */
59 // if this is defined, allocations will pass debug info to allocators
60 /* #undef CEGUI_CUSTOM_ALLOCATORS_DEBUG */
61 // the file that contains allocators and allocation config
62 // (not used if CEGUI_CUSTOM_ALLOCATORS isn't defined)
63 #define CEGUI_CUSTOM_ALLOCATORS_INCLUDE "CEGUI/MemoryStdAllocator.h"
64 
66 // CEGUI allows 3 different string class configurations
68 // Inbuilt Unicode (utf8 and utf32 aware)
69 #define CEGUI_STRING_CLASS_UNICODE 1
70 // plain std::string without allocators (makes pass by reference easy)
71 #define CEGUI_STRING_CLASS_STD 2
72 // std::basic_string allocated according to allocator config
73 #define CEGUI_STRING_CLASS_STD_AO 3
74 
75 #define CEGUI_STRING_CLASS 1
76 
78 // Set this to the default XMLParser to be used.
80 #ifndef CEGUI_DEFAULT_XMLPARSER
81 # define CEGUI_DEFAULT_XMLPARSER ExpatParser
82 #endif
83 
85 // Set this to the default ImageCodec to be used.
87 #ifndef CEGUI_DEFAULT_IMAGE_CODEC
88 # define CEGUI_DEFAULT_IMAGE_CODEC SILLYImageCodec
89 #endif
90 
92 // The following says which TinyXML api version has been found
94 #define CEGUI_TINYXML_HAS_2_6_API 1
95 
97 // The following controls the version of Lua that is going to be used.
98 // Note that from 0.7.0 and up, Lua 5.0 is no longer supported.
99 // 51 is for Lua 5.1.x versions (and above?)
101 #ifndef CEGUI_LUA_VER
102 # define CEGUI_LUA_VER 51
103 #endif
104 
105 #ifndef CEGUI_IRR_SDK_VERSION
106 # define CEGUI_IRR_SDK_VERSION 16
107 #endif
108 
110 // Defines for Ogre version we were built against
111 // (Will be all zeroes if Ogre was not found)
113 #ifndef CEGUI_OGRE_VERSION_MAJOR
114 # define CEGUI_OGRE_VERSION_MAJOR 1
115 #endif
116 #ifndef CEGUI_OGRE_VERSION_MINOR
117 # define CEGUI_OGRE_VERSION_MINOR 9
118 #endif
119 #ifndef CEGUI_OGRE_VERSION_PATCH
120 # define CEGUI_OGRE_VERSION_PATCH 0
121 #endif
122 #ifndef CEGUI_OGRE_VERSION
123 # define CEGUI_OGRE_VERSION ((CEGUI_OGRE_VERSION_MAJOR << 16) | (CEGUI_OGRE_VERSION_MINOR << 8) | CEGUI_OGRE_VERSION_PATCH)
124 #endif
125 
126 
128 // The following controls whether freetype based font support will be
129 // compiled in (default). If you want to build CEGUI /without/ freetype
130 // support, comment the following line.
132 #define CEGUI_HAS_FREETYPE
133 
135 // PCRE library
136 // CEGUI uses the pcre library for it's regular expression based string
137 // validation as used in the Editbox (and derived classes, such as Spinner).
138 // To disable the use of PCRE (and therefore the validation factilities),
139 // comment the following line. (Attempts to set validation string will throw).
141 #define CEGUI_HAS_PCRE_REGEX
142 
144 // The following controls whether the default logger be (possibly) used.
145 // If you want to build CEGUI so that it does not use the default logger,
146 // comment the following line.
147 //
148 // Note: If you disable the default logger you MUST provide an alternative
149 // CEGUI::Logger based class and instantiate it before creating the main
150 // CEGUI::System object.
152 #define CEGUI_HAS_DEFAULT_LOGGER
153 
155 // The following defines control bidirectional text support.
156 //
157 // Uncomment the CEGUI_BIDI_SUPPORT definition to enable bidirectional
158 // text in CEGUI.
159 //
160 // With bidirectional text support enabled, you must then choose to uncomment
161 // either the CEGUI_USE_MINIBIDI or CEGUI_USE_FRIBIDI definitions (but you
162 // should not uncomment both!)
163 //
164 // Uncommenting CEGUI_USE_MINIBIDI uses an integrated copy of minibidi to
165 // provide the bidirectional support.
166 //
167 // Uncommenting CEGUI_USE_FRIBIDI uses an external copy of fribidi to
168 // provide the bidirectional support (not supplied).
170 /* #undef CEGUI_BIDI_SUPPORT */
171 
172 // Uncomment this to use the embedded minibidi library.
173 /* #undef CEGUI_USE_MINIBIDI */
174 // - or -
175 // Uncomment this to use an external fribidi library.
176 #define CEGUI_USE_FRIBIDI
177 
178 // Controls whether to use GLEW as an OpenGL loading library.
179 #define CEGUI_USE_GLEW
180 
181 // Controls whether to use Epoxy as an OpenGL loading library.
182 /* #undef CEGUI_USE_EPOXY */
183 
185 // The following controls whether the MinizipResourceProvider will be
186 // built into the CEGUIBase library. You can uncomment the following line
187 // to include this code (and it's dependency code).
188 //
189 // The MinizipResourceProvider provides the ability to load resource files
190 // from locations within .zip files.
192 #define CEGUI_HAS_MINIZIP_RESOURCE_PROVIDER
193 
194 // Define the default place where cegui will look for loadable modules
195 // this can be changed at runtime via the CEGUI_MODULE_DIR environment var.
196 #if defined(_WIN32) || defined(__WIN32__)
197 # define CEGUI_MODULE_DIR "/build/cegui-mk2-7b08To/cegui-mk2-0.8.7/obj-x86_64-linux-gnu/bin/"
198 #elif !defined(__ANDROID__)
199 # define CEGUI_MODULE_DIR "/usr/lib/cegui-0.8/"
200 #endif
201 
202 // This is defined when iconv is expecting a const char** and not a char**
203 // as type for its inbuf parameter. This is only used when building cegui
204 // itself, and likely will not be useful externally.
205 /* #undef CEGUI_ICONV_USES_CONST_INBUF */
206 
207 #endif // end of guard _CEGUIConfig_h_
208