00001 /*********************************************************************** 00002 filename: CEGUIConfig.h 00003 created: 1/10/2004 00004 author: Paul D Turner 00005 *************************************************************************/ 00006 /*************************************************************************** 00007 * Copyright (C) 2004 - 2006 Paul D Turner & The CEGUI Development Team 00008 * 00009 * Permission is hereby granted, free of charge, to any person obtaining 00010 * a copy of this software and associated documentation files (the 00011 * "Software"), to deal in the Software without restriction, including 00012 * without limitation the rights to use, copy, modify, merge, publish, 00013 * distribute, sublicense, and/or sell copies of the Software, and to 00014 * permit persons to whom the Software is furnished to do so, subject to 00015 * the following conditions: 00016 * 00017 * The above copyright notice and this permission notice shall be 00018 * included in all copies or substantial portions of the Software. 00019 * 00020 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 00021 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 00022 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 00023 * IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR 00024 * OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 00025 * ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 00026 * OTHER DEALINGS IN THE SOFTWARE. 00027 ***************************************************************************/ 00029 /************************************************************************* 00030 00031 This file can be used to set certain configuration options which are used 00032 when compiling Crazy Eddie's GUI System and associated components. 00033 00034 Each item in here has a comment to describe what it's for. 00035 00036 *************************************************************************/ 00038 #ifndef _CEGUIConfig_h_ 00039 #define _CEGUIConfig_h_ 00040 00042 // The following are intended for X-Code users. 00043 // 00044 // The Linux build can both auto-configure itself, and also take 00045 // configure parameters which control the settings presented below. 00046 // 00047 // The Premake solution will generate these for you according to the 00048 // config.lua script. 00050 #if defined(__APPLE__) 00051 00053 // Set this to the default XMLParser to be used. 00054 // (XercesParser, ExpatParser, LibxmlParser or TinyXMLParser). 00056 #ifndef CEGUI_DEFAULT_XMLPARSER 00057 # define CEGUI_DEFAULT_XMLPARSER ExpatParser 00058 #endif 00059 00061 // Set this to the default ImageCodec to be used. 00062 // CoronaImageCodec, DevILImageCodec, FreeImageImageCodec, 00063 // SILLYImageCodec, TGAImageCodec 00065 #ifndef CEGUI_DEFAULT_IMAGE_CODEC 00066 # define CEGUI_DEFAULT_IMAGE_CODEC SILLYImageCodec 00067 #endif 00068 00070 // The following are required to build the integrated copy of TinyXML. 00071 // If for some reason you decide you need to use an external version of 00072 // TinyXML, you can change these defines as required (you will also likely 00073 // need to set up some linker stuff as well). 00075 // Main tiny xml header file 00076 #ifndef CEGUI_TINYXML_H 00077 # define CEGUI_TINYXML_H "ceguitinyxml/tinyxml.h" 00078 #endif 00079 // Namespace that contains TinyXML. 00080 #ifndef CEGUI_TINYXML_NAMESPACE 00081 # define CEGUI_TINYXML_NAMESPACE CEGUITinyXML 00082 #endif 00083 00085 // The following controls the version of Lua that is going to be used. 00086 // 50 is for Lua 5.0.x versions 00087 // 51 is for Lua 5.1.x versions (and above?) 00089 #ifndef CEGUI_LUA_VER 00090 # define CEGUI_LUA_VER 51 00091 #endif 00092 00093 #endif // defined(__APPLE__) 00094 00095 #endif // end of guard _CEGUIConfig_h_