1#ifndef __Custom_Config_H_ 2#define __Custom_Config_H_ 3 4// CMake auto-generated configuration options 5 6// Define ogre version 7#define OGRE_VERSION_MAJOR @OGRE_VERSION_MAJOR@ 8#define OGRE_VERSION_MINOR @OGRE_VERSION_MINOR@ 9#define OGRE_VERSION_PATCH @OGRE_VERSION_PATCH@ 10#define OGRE_VERSION_SUFFIX "@OGRE_VERSION_SUFFIX@" 11#define OGRE_VERSION_NAME "@OGRE_VERSION_NAME@" 12 13#cmakedefine OGRE_STATIC_LIB 14#cmakedefine01 OGRE_DEBUG_MODE 15 16/** There are three modes for resource lookup 170 - LEGACY - search in all groups twice - for case sensitive and insensitive lookup 181 - PEDANTIC - require an explicit resource group. Case sensitive lookup. 192 - STRICT - search in default group if not specified otherwise. Case sensitive lookup. 20*/ 21#define OGRE_RESOURCEMANAGER_STRICT @OGRE_RESOURCEMANAGER_STRICT@ 22 23#cmakedefine OGRE_BUILD_RENDERSYSTEM_D3D9 24#cmakedefine OGRE_BUILD_RENDERSYSTEM_D3D11 25#cmakedefine OGRE_BUILD_RENDERSYSTEM_GL 26#cmakedefine OGRE_BUILD_RENDERSYSTEM_GL3PLUS 27#cmakedefine OGRE_BUILD_RENDERSYSTEM_GLES2 28#cmakedefine OGRE_BUILD_PLUGIN_BSP 29#cmakedefine OGRE_BUILD_PLUGIN_OCTREE 30#cmakedefine OGRE_BUILD_PLUGIN_PCZ 31#cmakedefine OGRE_BUILD_PLUGIN_PFX 32#cmakedefine OGRE_BUILD_PLUGIN_CG 33#cmakedefine OGRE_BUILD_PLUGIN_STBI 34#cmakedefine OGRE_BUILD_PLUGIN_FREEIMAGE 35#cmakedefine OGRE_BUILD_COMPONENT_PAGING 36#cmakedefine OGRE_BUILD_COMPONENT_MESHLODGENERATOR 37#cmakedefine OGRE_BUILD_COMPONENT_TERRAIN 38#cmakedefine OGRE_BUILD_COMPONENT_VOLUME 39#cmakedefine OGRE_BUILD_COMPONENT_PROPERTY 40#cmakedefine OGRE_BUILD_COMPONENT_OVERLAY 41#cmakedefine OGRE_BUILD_COMPONENT_RTSHADERSYSTEM 42#cmakedefine OGRE_BUILD_COMPONENT_HLMS 43 44#cmakedefine OGRE_CONFIG_LITTLE_ENDIAN 45#cmakedefine OGRE_CONFIG_BIG_ENDIAN 46 47/** If set to 1, Real is typedef'ed to double. Otherwise, Real is typedef'ed 48 to float. Setting this allows you to perform mathematical operations in the 49 CPU (Quaternion, Vector3 etc) with more precision, but bear in mind that the 50 GPU still operates in single-precision mode. 51*/ 52#cmakedefine01 OGRE_DOUBLE_PRECISION 53 54#cmakedefine01 OGRE_NODE_INHERIT_TRANSFORM 55 56/** There are three modes for handling asserts in OGRE: 570 - STANDARD - Standard asserts in debug builds, nothing in release builds 581 - RELEASE_EXCEPTIONS - Standard asserts in debug builds, exceptions in release builds 592 - EXCEPTIONS - Exceptions in debug builds, exceptions in release builds 60*/ 61#define OGRE_ASSERT_MODE @OGRE_SET_ASSERT_MODE@ 62 63/** Support for multithreading, there are 3 options 64 65OGRE_THREAD_SUPPORT = 0 66 No support for threading. 67OGRE_THREAD_SUPPORT = 1 68 Thread support for background loading, by both loading and constructing resources 69 in a background thread. Resource management and SharedPtr handling becomes 70 thread-safe, and resources may be completely loaded in the background. 71 The places where threading is available are clearly 72 marked, you should assume state is NOT thread safe unless otherwise 73 stated in relation to this flag. 74OGRE_THREAD_SUPPORT = 2 75 Thread support for background resource preparation. This means that resource 76 data can streamed into memory in the background, but the final resource 77 construction (including RenderSystem dependencies) is still done in the primary 78 thread. Has a lower synchronisation primitive overhead than full threading 79 while still allowing the major blocking aspects of resource management (I/O) 80 to be done in the background. 81OGRE_THREAD_SUPPORT = 3 82 No synchronisation primitive overhead. WorkQueue is threaded. 83*/ 84#define OGRE_THREAD_SUPPORT @OGRE_SET_THREADS@ 85 86/** Provider for threading functionality, there are 4 options. 87 88OGRE_THREAD_PROVIDER = 0 89 No support for threading. 90OGRE_THREAD_PROVIDER = 1 91 Boost libraries provide threading functionality. 92OGRE_THREAD_PROVIDER = 2 93 Poco libraries provide threading functionality. 94OGRE_THREAD_PROVIDER = 3 95 TBB library provides threading functionality. 96OGRE_THREAD_PROVIDER = 4 97 Standard library provides threading functionality. (requires compiler support) 98*/ 99#define OGRE_THREAD_PROVIDER @OGRE_SET_THREAD_PROVIDER@ 100 101#cmakedefine01 OGRE_NO_MESHLOD 102 103/** Disables use of the internal image codec for loading DDS files. */ 104#cmakedefine01 OGRE_NO_DDS_CODEC 105 106/** Disables use of the internal image codec for loading PVRTC files. */ 107#cmakedefine01 OGRE_NO_PVRTC_CODEC 108 109/** Disables use of the internal image codec for loading ETC files. */ 110#cmakedefine01 OGRE_NO_ETC_CODEC 111 112#cmakedefine01 OGRE_NO_ASTC_CODEC 113 114/** Disables use of the ZIP archive support. 115WARNING: Disabling this will make the samples unusable. 116*/ 117#cmakedefine01 OGRE_NO_ZIP_ARCHIVE 118 119#cmakedefine01 OGRE_NO_VIEWPORT_ORIENTATIONMODE 120 121#cmakedefine01 OGRE_NO_TBB_SCHEDULER 122 123/** If set to 1, profiling code will be included in the application. When you 124 are deploying your application you will probably want to set this to 0 */ 125#cmakedefine01 OGRE_PROFILING 126 127#cmakedefine01 OGRE_NO_QUAD_BUFFER_STEREO 128 129#cmakedefine01 OGRE_BITES_HAVE_SDL 130 131 132#endif 133