Crazy Eddies GUI System  0.7.1
CEGUIConfig.h
1 /***********************************************************************
2  filename: CEGUIConfig.h
3  created: 1/10/2004
4  author: Paul D Turner
5 *************************************************************************/
6 /***************************************************************************
7  * Copyright (C) 2004 - 2006 Paul D Turner & The CEGUI Development Team
8  *
9  * Permission is hereby granted, free of charge, to any person obtaining
10  * a copy of this software and associated documentation files (the
11  * "Software"), to deal in the Software without restriction, including
12  * without limitation the rights to use, copy, modify, merge, publish,
13  * distribute, sublicense, and/or sell copies of the Software, and to
14  * permit persons to whom the Software is furnished to do so, subject to
15  * the following conditions:
16  *
17  * The above copyright notice and this permission notice shall be
18  * included in all copies or substantial portions of the Software.
19  *
20  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
21  * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
22  * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
23  * IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
24  * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
25  * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
26  * OTHER DEALINGS IN THE SOFTWARE.
27  ***************************************************************************/
29 /*************************************************************************
30 
31 This file can be used to set certain configuration options which are used
32 when compiling Crazy Eddie's GUI System and associated components.
33 
34 Each item in here has a comment to describe what it's for.
35 
36 *************************************************************************/
38 #ifndef _CEGUIConfig_h_
39 #define _CEGUIConfig_h_
40 
42 // The following are intended for X-Code users.
43 //
44 // The Linux build can both auto-configure itself, and also take
45 // configure parameters which control the settings presented below.
46 //
47 // The Premake solution will generate these for you according to the
48 // config.lua script.
50 #if defined(__APPLE__)
51 
53 // Set this to the default XMLParser to be used.
54 // (XercesParser, ExpatParser, LibxmlParser or TinyXMLParser).
56 #ifndef CEGUI_DEFAULT_XMLPARSER
57 # define CEGUI_DEFAULT_XMLPARSER ExpatParser
58 #endif
59 
61 // Set this to the default ImageCodec to be used.
62 // CoronaImageCodec, DevILImageCodec, FreeImageImageCodec,
63 // SILLYImageCodec, TGAImageCodec
65 #ifndef CEGUI_DEFAULT_IMAGE_CODEC
66 # define CEGUI_DEFAULT_IMAGE_CODEC SILLYImageCodec
67 #endif
68 
70 // The following are required to build the integrated copy of TinyXML.
71 // If for some reason you decide you need to use an external version of
72 // TinyXML, you can change these defines as required (you will also likely
73 // need to set up some linker stuff as well).
75 // Main tiny xml header file
76 #ifndef CEGUI_TINYXML_H
77 # define CEGUI_TINYXML_H "ceguitinyxml/tinyxml.h"
78 #endif
79 // Namespace that contains TinyXML.
80 #ifndef CEGUI_TINYXML_NAMESPACE
81 # define CEGUI_TINYXML_NAMESPACE CEGUITinyXML
82 #endif
83 
85 // The following controls the version of Lua that is going to be used.
86 // Note that from 0.7.0 and up, Lua 5.0 is no longer supported.
87 // 51 is for Lua 5.1.x versions (and above?)
89 #ifndef CEGUI_LUA_VER
90 # define CEGUI_LUA_VER 51
91 #endif
92 
94 // The following controls whether freetype based font support will be
95 // compiled in (default). If you want to build CEGUI /without/ freetype
96 // support, comment the following line.
98 #define CEGUI_HAS_FREETYPE
99 
101 // PCRE library
102 // CEGUI uses the pcre library for it's regular expression based string
103 // validation as used in the Editbox (and derived classes, such as Spinner).
104 // To disable the use of PCRE (and therefore the validation factilities),
105 // comment the following line. (Attempts to set validation string will throw).
107 #define CEGUI_HAS_PCRE_REGEX
108 
110 // The following controls whether the default logger be (possibly) used.
111 // If you want to build CEGUI so that it does not use the default logger,
112 // comment the following line.
113 //
114 // Note: If you disable the default logger you MUST provide an alternative
115 // CEGUI::Logger based class and instantiate it before creating the main
116 // CEGUI::System object.
118 #define CEGUI_HAS_DEFAULT_LOGGER
119 
121 // The following defines control bidirectional text support.
122 //
123 // Uncomment the CEGUI_BIDI_SUPPORT definition to enable bidirectional
124 // text in CEGUI.
125 //
126 // With bidirectional text support enabled, you must then choose to uncomment
127 // either the CEGUI_USE_MINIBIDI or CEGUI_USE_FRIBIDI definitions (but you
128 // should not uncomment both!)
129 //
130 // Uncommenting CEGUI_USE_MINIBIDI uses an integrated copy of minibidi to
131 // provide the bidirectional support.
132 //
133 // Uncommenting CEGUI_USE_FRIBIDI uses an external copy of fribidi to
134 // provide the bidirectional support (not supplied).
136 //#define CEGUI_BIDI_SUPPORT
137 
138 // Uncomment this to use the embedded minibidi library.
139 //#define CEGUI_USE_MINIBIDI
140 // - or -
141 // Uncomment this to use an external fribidi library.
142 //#define CEGUI_USE_FRIBIDI
143 
144 #endif // defined(__APPLE__)
145 
146 #endif // end of guard _CEGUIConfig_h_