Crazy Eddie's GUI System  0.8.4
Config.h
00001 /***********************************************************************
00002     created:    Mon Jan 10 2011
00003     author:     Paul D Turner <paul@cegui.org.uk>
00004 *************************************************************************/
00005 /***************************************************************************
00006  *   Copyright (C) 2004 - 2011 Paul D Turner & The CEGUI Development Team
00007  *
00008  *   Permission is hereby granted, free of charge, to any person obtaining
00009  *   a copy of this software and associated documentation files (the
00010  *   "Software"), to deal in the Software without restriction, including
00011  *   without limitation the rights to use, copy, modify, merge, publish,
00012  *   distribute, sublicense, and/or sell copies of the Software, and to
00013  *   permit persons to whom the Software is furnished to do so, subject to
00014  *   the following conditions:
00015  *
00016  *   The above copyright notice and this permission notice shall be
00017  *   included in all copies or substantial portions of the Software.
00018  *
00019  *   THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
00020  *   EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
00021  *   MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
00022  *   IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
00023  *   OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
00024  *   ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
00025  *   OTHER DEALINGS IN THE SOFTWARE.
00026  ***************************************************************************/
00028 /*************************************************************************
00029 
00030 This file is automatically generated by CMake and should be changed by
00031 setting CMake options and regenerating, rather than editing directly.
00032 
00033 *************************************************************************/
00035 #ifndef _CEGUIConfig_h_
00036 #define _CEGUIConfig_h_
00037 
00038 // CMake defines NDEBUG on all platforms, but not always DEBUG :-/
00039 #if !defined(NDEBUG) && !defined(DEBUG)
00040 #   define DEBUG 1
00041 #endif
00042 
00043 /* #undef CEGUI_HAS_BUILD_SUFFIX */
00044 #ifdef CEGUI_HAS_BUILD_SUFFIX
00045 #   ifndef CEGUI_BUILD_SUFFIX
00046 #       if defined(DEBUG) || defined(_DEBUG)
00047 #           define CEGUI_BUILD_SUFFIX ""
00048 #       else
00049 #           define CEGUI_BUILD_SUFFIX ""
00050 #       endif
00051 #   endif
00052 #endif
00053 
00055 // CEGUI supports custom memory allocation (optional)
00057 // if this is defined, allocation can be customised
00058 /* #undef CEGUI_CUSTOM_ALLOCATORS */
00059 // if this is defined, allocations will pass debug info to allocators
00060 /* #undef CEGUI_CUSTOM_ALLOCATORS_DEBUG */
00061 // the file that contains allocators and allocation config
00062 // (not used if CEGUI_CUSTOM_ALLOCATORS isn't defined)
00063 #define CEGUI_CUSTOM_ALLOCATORS_INCLUDE "CEGUI/MemoryStdAllocator.h"
00064 
00066 // CEGUI allows 3 different string class configurations
00068 // Inbuilt Unicode (utf8 and utf32 aware)
00069 #define CEGUI_STRING_CLASS_UNICODE 1
00070 // plain std::string without allocators (makes pass by reference easy)
00071 #define CEGUI_STRING_CLASS_STD 2
00072 // std::basic_string allocated according to allocator config
00073 #define CEGUI_STRING_CLASS_STD_AO 3
00074 
00075 #define CEGUI_STRING_CLASS 1
00076 
00078 // Set this to the default XMLParser to be used.
00080 #ifndef CEGUI_DEFAULT_XMLPARSER
00081 #       define CEGUI_DEFAULT_XMLPARSER ExpatParser
00082 #endif
00083 
00085 // Set this to the default ImageCodec to be used.
00087 #ifndef CEGUI_DEFAULT_IMAGE_CODEC
00088 #   define CEGUI_DEFAULT_IMAGE_CODEC SILLYImageCodec
00089 #endif
00090 
00092 // The following says which TinyXML api version has been found
00094 #define CEGUI_TINYXML_HAS_2_6_API 1
00095 
00097 // The following controls the version of Lua that is going to be used.
00098 // Note that from 0.7.0 and up, Lua 5.0 is no longer supported.
00099 // 51 is for Lua 5.1.x versions (and above?)
00101 #ifndef CEGUI_LUA_VER
00102 #   define CEGUI_LUA_VER 51
00103 #endif
00104 
00105 #ifndef CEGUI_IRR_SDK_VERSION
00106 #   define CEGUI_IRR_SDK_VERSION 16
00107 #endif
00108 
00110 // Defines for Ogre version we were built against
00111 // (Will be all zeroes if Ogre was not found)
00113 #ifndef CEGUI_OGRE_VERSION_MAJOR
00114 #   define CEGUI_OGRE_VERSION_MAJOR 1
00115 #endif
00116 #ifndef CEGUI_OGRE_VERSION_MINOR
00117 #   define CEGUI_OGRE_VERSION_MINOR 9
00118 #endif
00119 #ifndef CEGUI_OGRE_VERSION_PATCH
00120 #   define CEGUI_OGRE_VERSION_PATCH 0
00121 #endif
00122 #ifndef CEGUI_OGRE_VERSION
00123 #   define CEGUI_OGRE_VERSION ((CEGUI_OGRE_VERSION_MAJOR << 16) | (CEGUI_OGRE_VERSION_MINOR << 8) | CEGUI_OGRE_VERSION_PATCH)
00124 #endif
00125 
00126 
00128 // The following controls whether freetype based font support will be
00129 // compiled in (default).  If you want to build CEGUI /without/ freetype
00130 // support, comment the following line.
00132 #define CEGUI_HAS_FREETYPE
00133 
00135 // PCRE library
00136 // CEGUI uses the pcre library for it's regular expression based string
00137 // validation as used in the Editbox (and derived classes, such as Spinner).
00138 // To disable the use of PCRE (and therefore the validation factilities),
00139 // comment the following line.  (Attempts to set validation string will throw).
00141 #define CEGUI_HAS_PCRE_REGEX
00142 
00144 // The following controls whether the default logger be (possibly) used.
00145 // If you want to build CEGUI so that it does not use the default logger,
00146 // comment the following line.
00147 //
00148 // Note: If you disable the default logger you MUST provide an alternative
00149 // CEGUI::Logger based class and instantiate it before creating the main
00150 // CEGUI::System object.
00152 #define CEGUI_HAS_DEFAULT_LOGGER
00153 
00155 // The following defines control bidirectional text support.
00156 //
00157 // Uncomment the CEGUI_BIDI_SUPPORT definition to enable bidirectional
00158 // text in CEGUI.
00159 //
00160 // With bidirectional text support enabled, you must then choose to uncomment
00161 // either the CEGUI_USE_MINIBIDI or CEGUI_USE_FRIBIDI definitions (but you
00162 // should not uncomment both!)
00163 //
00164 // Uncommenting CEGUI_USE_MINIBIDI uses an integrated copy of minibidi to
00165 // provide the bidirectional support.
00166 //
00167 // Uncommenting CEGUI_USE_FRIBIDI uses an external copy of fribidi to
00168 // provide the bidirectional support (not supplied).
00170 /* #undef CEGUI_BIDI_SUPPORT */
00171 
00172 // Uncomment this to use the embedded minibidi library.
00173 /* #undef CEGUI_USE_MINIBIDI */
00174 // - or -
00175 // Uncomment this to use an external fribidi library.
00176 #define CEGUI_USE_FRIBIDI
00177 
00179 // The following controls whether the MinizipResourceProvider will be
00180 // built into the CEGUIBase library.  You can uncomment the following line
00181 // to include this code (and it's dependency code).
00182 // 
00183 // The MinizipResourceProvider provides the ability to load resource files
00184 // from locations within .zip files.
00186 #define CEGUI_HAS_MINIZIP_RESOURCE_PROVIDER
00187 
00188 // Define the default place where cegui will look for loadable modules
00189 // this can be changed at runtime via the CEGUI_MODULE_DIR environment var.
00190 #if defined(_WIN32) || defined(__WIN32__)
00191 #   define CEGUI_MODULE_DIR "/usr/src/RPM/BUILD/CEGUI/bin/"
00192 #else
00193 #   define CEGUI_MODULE_DIR "/usr/lib/cegui-0.8/"
00194 #endif
00195 
00196 // This is defined when iconv is expecting a const char** and not a char**
00197 // as type for its inbuf parameter. This is only used when building cegui
00198 // itself, and likely will not be useful externally.
00199 /* #undef CEGUI_ICONV_USES_CONST_INBUF */
00200 
00201 #endif  // end of guard _CEGUIConfig_h_
00202 
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends