Advertisement
Guest User

DtD

a guest
Nov 8th, 2009
371
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.27 KB | None | 0 0
  1. --
  2. -- CEGUI premake configuration script
  3. --
  4.  
  5. -- comment this to disable debug suffixes for dynamic module dlls
  6. -- if you want to use another suffix, just change the string :)
  7. -- all the debug cegui libraries are built with this suffix
  8. DEBUG_DLL_SUFFIX = "_d"
  9.  
  10. -- SDK / dependency paths
  11. -- { base, include_suffix, library_suffix }
  12. -- base can be absolute or relative to the root cegui_mk2 dir
  13. IRRLICHT_PATHS = { "../irrlicht", "include", "lib/Win32-visualstudio" }
  14. OGRE_PATHS = { "C:/OgreSDK", "include", "lib" }
  15. OIS_PATHS = { "C:/OgreSDK", "include/OIS", "lib" }
  16.  
  17. --- Irrlicht SDK Version
  18. --- 14 is means 1.4 or 1.5.x and 16 means 1.6 (and above?)
  19. CEGUI_IRR_SDK_VERSION = 16
  20.  
  21. --- OIS API version to be used in the Ogre samples base app.
  22. --- true: use older numKeyboards / numMice
  23. --- false: use getNumberOfDevices
  24. CEGUI_OLD_OIS_API = true
  25.  
  26. --- Lua version
  27. --- 51 is 5.1 (and above?) From 0.7.0 onwards, lua 5.0 is no longer supported.
  28. CEGUI_LUA_VER = 51
  29.  
  30. --- Freetype library
  31. --- CEGUI uses the freetype library for some of it's font support. To disable
  32. --- the use of freetype, set this to false.
  33. CEGUI_USE_FREETYPE = true
  34.  
  35. --- PCRE library
  36. --- CEGUI uses the pcre library for it's regular expression based string
  37. --- validation as used in the Editbox (and derived classes, such as Spinner).
  38. --- To disable the use of PCRE (and therefore the validation factilities), set
  39. --- this to false. (Attempts to set validation string will throw).
  40. CEGUI_USE_PCRE_REGEX = true
  41.  
  42. --- CEGUI::DefaultLogger
  43. --- To disable compilation and use of the CEGUI::DefaultLogger, set this to
  44. --- false.
  45. ---
  46. --- Note: If you disable this, you MUST provide an alternative CEGUI::Logger
  47. --- based class and instantiate it before creating the main CEGUI::System object.
  48. CEGUI_USE_DEFAULT_LOGGER = true
  49.  
  50. --- BiDirectional text support.
  51. --- To enable support for bi-directional text in CEGUI, set CEGUI_BIDI_SUPPORT
  52. --- to true.
  53. --- With bidirectional support enabled, CEGUI_USE_MINIBIDI then controls whether
  54. --- that support is provided viaan embedded copy of minibidi (true) or an
  55. --- external copy of the fribidi library (false).
  56. CEGUI_BIDI_SUPPORT = false;
  57. CEGUI_USE_MINIBIDI = true;
  58.  
  59. -------------
  60. -- Renderers
  61. -- this controls which renderer modules are built
  62. OPENGL_RENDERER = false
  63. DIRECT3D9_RENDERER = false
  64. DIRECT3D10_RENDERER = false
  65. IRRLICHT_RENDERER = true
  66. OGRE_RENDERER = false
  67.  
  68. ----------------
  69. -- Image Codecs
  70. -- this controls which image codecs are built
  71. TGA_IMAGE_CODEC = false
  72. SILLY_IMAGE_CODEC = true
  73. DEVIL_IMAGE_CODEC = false
  74. FREEIMAGE_IMAGE_CODEC = false
  75. CORONA_IMAGE_CODEC = false
  76.  
  77. -- this setting selects the default image codec module
  78. -- can be either "tga", "silly", "devil", "freeimage" or "corona"
  79. -- SILLY was written for CEGUI
  80. DEFAULT_IMAGE_CODEC = "silly"
  81.  
  82. ---------------
  83. -- Window Renderers
  84. -- controls window renderers built
  85. FALAGARD_WR = true
  86.  
  87. -- default WR
  88. -- available: falagard
  89. DEFAULT_WINDOW_RENDERER = "falagard"
  90.  
  91.  
  92.  
  93.  
  94. ---------------
  95. -- XML parsers
  96. -- this controls which xml parser modules are built
  97. EXPAT_PARSER = true
  98. XERCES_PARSER = false
  99. TINYXML_PARSER = false
  100. LIBXML_PARSER = false
  101.  
  102. -- this selects the default XML parser module
  103. -- can be either "expat", "xerces", "tinyxml" or "libxml"
  104. DEFAULT_XML_PARSER = "expat"
  105.  
  106.  
  107. -------
  108. -- Lua
  109. -- this controls whether CEGUILua is enabled
  110. LUA_SCRIPT_MODULE = false
  111.  
  112. -- disable this for a smaller and faster, but less safe Lua module
  113. -- only affects Release builds. Debug and ReleaseWithSymbols always
  114. -- enable this
  115. LUA_SCRIPT_MODULE_SAFE = false
  116.  
  117. -- enable this to build the bundled tolua++ as a static library
  118. TOLUA_STATIC = false
  119.  
  120.  
  121. -----------
  122. -- Samples
  123. -- remember you have to edit CEGUISamplesConfig.h as well this just controls
  124. -- dependencies etc. if the renderer is disabled this has no effect
  125. SAMPLES_GL = false
  126. SAMPLES_DX9 = false
  127. SAMPLES_DX10 = false
  128. SAMPLES_IRRLICHT = true
  129. SAMPLES_OGRE = false
  130.  
  131. -- this setting controls if the samples should be included in the same
  132. -- solution as the core libraries. If this setting is disabled you can
  133. -- still generate a seperate solution for the samples
  134. --
  135. -- due to a missing feature in premake enabling this will cause the
  136. -- output files to be placed in cegui_mk2/bin and not cegui_mk2/Samples/bin
  137. --
  138. SAMPLES_INCLUDED = false
  139.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement