00001 //======================================================================== 00002 // GLFW 3.1 - www.glfw.org 00003 //------------------------------------------------------------------------ 00004 // Copyright (c) 2010 Camilla Berglund <elmindreda@elmindreda.org> 00005 // 00006 // This software is provided 'as-is', without any express or implied 00007 // warranty. In no event will the authors be held liable for any damages 00008 // arising from the use of this software. 00009 // 00010 // Permission is granted to anyone to use this software for any purpose, 00011 // including commercial applications, and to alter it and redistribute it 00012 // freely, subject to the following restrictions: 00013 // 00014 // 1. The origin of this software must not be misrepresented; you must not 00015 // claim that you wrote the original software. If you use this software 00016 // in a product, an acknowledgment in the product documentation would 00017 // be appreciated but is not required. 00018 // 00019 // 2. Altered source versions must be plainly marked as such, and must not 00020 // be misrepresented as being the original software. 00021 // 00022 // 3. This notice may not be removed or altered from any source 00023 // distribution. 00024 // 00025 //======================================================================== 00026 // As glfw_config.h.in, this file is used by CMake to produce the 00027 // glfw_config.h configuration header file. If you are adding a feature 00028 // requiring conditional compilation, this is where to add the macro. 00029 //======================================================================== 00030 // As glfw_config.h, this file defines compile-time option macros for a 00031 // specific platform and development environment. If you are using the 00032 // GLFW CMake files, modify glfw_config.h.in instead of this file. If you 00033 // are using your own build system, make this file define the appropriate 00034 // macros in whatever way is suitable. 00035 //======================================================================== 00036 00037 // Define this to 1 if building GLFW for X11 00038 /* #undef _GLFW_X11 */ 00039 // Define this to 1 if building GLFW for Win32 00040 #define _GLFW_WIN32 00041 // Define this to 1 if building GLFW for Cocoa 00042 /* #undef _GLFW_COCOA */ 00043 // Define this to 1 if building GLFW for Wayland 00044 /* #undef _GLFW_WAYLAND */ 00045 // Define this to 1 if building GLFW for Mir 00046 /* #undef _GLFW_MIR */ 00047 00048 // Define this to 1 if building GLFW for EGL 00049 /* #undef _GLFW_EGL */ 00050 // Define this to 1 if building GLFW for GLX 00051 /* #undef _GLFW_GLX */ 00052 // Define this to 1 if building GLFW for WGL 00053 #define _GLFW_WGL 00054 // Define this to 1 if building GLFW for NSGL 00055 /* #undef _GLFW_NSGL */ 00056 00057 // Define this to 1 if building as a shared library / dynamic library / DLL 00058 /* #undef _GLFW_BUILD_DLL */ 00059 00060 // Define this to 1 to force use of high-performance GPU on hybrid systems 00061 /* #undef _GLFW_USE_HYBRID_HPG */ 00062 00063 // Define this to 1 if the XInput X11 extension is available 00064 /* #undef _GLFW_HAS_XINPUT */ 00065 // Define this to 1 if the Xxf86vm X11 extension is available 00066 /* #undef _GLFW_HAS_XF86VM */ 00067 00068 // Define this to 1 if glfwInit should change the current directory 00069 /* #undef _GLFW_USE_CHDIR */ 00070 // Define this to 1 if glfwCreateWindow should populate the menu bar 00071 /* #undef _GLFW_USE_MENUBAR */ 00072 // Define this to 1 if windows should use full resolution on Retina displays 00073 /* #undef _GLFW_USE_RETINA */ 00074 00075 // Define this to 1 if using OpenGL as the client library 00076 #define _GLFW_USE_OPENGL 00077 // Define this to 1 if using OpenGL ES 1.1 as the client library 00078 /* #undef _GLFW_USE_GLESV1 */ 00079 // Define this to 1 if using OpenGL ES 2.0 as the client library 00080 /* #undef _GLFW_USE_GLESV2 */ 00081