Crazy Eddies GUI System  0.6.2
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 // 50 is for Lua 5.0.x versions
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 
93 #endif // defined(__APPLE__)
94 
95 #endif // end of guard _CEGUIConfig_h_