+
+
+
+
+
+
+Latest Release: 2.1.0
+
+
+
+
+
+
+
+
+
+
+
+
+
+Last Update: 07-31-17
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+The OpenGL Extension Wrangler Library
+
+
+
+
diff --git a/extern/glew/auto/src/khronos_license.h b/extern/glew/auto/src/khronos_license.h
new file mode 100644
index 0000000000..420cd72273
--- /dev/null
+++ b/extern/glew/auto/src/khronos_license.h
@@ -0,0 +1,23 @@
+/*
+** Copyright (c) 2007 The Khronos Group Inc.
+**
+** Permission is hereby granted, free of charge, to any person obtaining a
+** copy of this software and/or associated documentation files (the
+** "Materials"), to deal in the Materials without restriction, including
+** without limitation the rights to use, copy, modify, merge, publish,
+** distribute, sublicense, and/or sell copies of the Materials, and to
+** permit persons to whom the Materials are furnished to do so, subject to
+** the following conditions:
+**
+** The above copyright notice and this permission notice shall be included
+** in all copies or substantial portions of the Materials.
+**
+** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
+** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
+*/
+
diff --git a/extern/glew/auto/src/mesa_license.h b/extern/glew/auto/src/mesa_license.h
new file mode 100644
index 0000000000..3350cca3f0
--- /dev/null
+++ b/extern/glew/auto/src/mesa_license.h
@@ -0,0 +1,24 @@
+/*
+ * Mesa 3-D graphics library
+ * Version: 7.0
+ *
+ * Copyright (C) 1999-2007 Brian Paul All Rights Reserved.
+ *
+ * Permission is hereby granted, free of charge, to any person obtaining a
+ * copy of this software and associated documentation files (the "Software"),
+ * to deal in the Software without restriction, including without limitation
+ * the rights to use, copy, modify, merge, publish, distribute, sublicense,
+ * and/or sell copies of the Software, and to permit persons to whom the
+ * Software is furnished to do so, subject to the following conditions:
+ *
+ * The above copyright notice and this permission notice shall be included
+ * in all copies or substantial portions of the Software.
+ *
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+ * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
+ * BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
+ * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
+ * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+ */
+
diff --git a/extern/glew/auto/src/visualinfo.rc b/extern/glew/auto/src/visualinfo.rc
new file mode 100644
index 0000000000..1afab91346
--- /dev/null
+++ b/extern/glew/auto/src/visualinfo.rc
@@ -0,0 +1,124 @@
+
+#include
+
+#ifdef _DEBUG
+# define FILENAME "visualinfod.exe"
+#else
+# define FILENAME "visualinfo.exe"
+#endif
+
+/////////////////////////////////////////////////////////////////////////////
+//
+// Version
+//
+VS_VERSION_INFO VERSIONINFO
+FILEVERSION GLEW_MAJOR, GLEW_MINOR, GLEW_MICRO, 0
+PRODUCTVERSION GLEW_MAJOR, GLEW_MINOR, GLEW_MICRO, 0
+FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
+#ifdef _DEBUG
+FILEFLAGS VS_FF_DEBUG
+#else
+FILEFLAGS 0x0L
+#endif
+FILEOS VOS__WINDOWS32
+FILETYPE VFT_APP
+FILESUBTYPE VFT2_UNKNOWN
+BEGIN
+ BLOCK "StringFileInfo"
+ BEGIN
+ BLOCK "040904b0"
+ BEGIN
+ VALUE "Comments",
+ "The OpenGL Extension Wrangler Library\r\n"
+ "Copyright (C) 2008-2019, Nigel Stewart \r\n"
+ "Copyright (C) 2002-2008, Milan Ikits \r\n"
+ "Copyright (C) 2002-2008, Marcelo E. Magallon \r\n"
+ "Copyright (C) 2002, Lev Povalahev\r\n"
+ "All rights reserved.\r\n"
+ "\r\n"
+ "Redistribution and use in source and binary forms, with or without \r\n"
+ "modification, are permitted provided that the following conditions are met:\r\n"
+ "\r\n"
+ "* Redistributions of source code must retain the above copyright notice, \r\n"
+ " this list of conditions and the following disclaimer.\r\n"
+ "* Redistributions in binary form must reproduce the above copyright notice, \r\n"
+ " this list of conditions and the following disclaimer in the documentation \r\n"
+ " and/or other materials provided with the distribution.\r\n"
+ "* The name of the author may be used to endorse or promote products \r\n"
+ " derived from this software without specific prior written permission.\r\n"
+ "\r\n"
+ "THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ''AS IS'' \r\n"
+ "AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE \r\n"
+ "IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\r\n"
+ "ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE \r\n"
+ "LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR \r\n"
+ "CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF \r\n"
+ "SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS\r\n"
+ "INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN\r\n"
+ "CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\r\n"
+ "ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF\r\n"
+ "THE POSSIBILITY OF SUCH DAMAGE.\r\n"
+ "\r\n"
+ "\r\n"
+ "Mesa 3-D graphics library\r\n"
+ "\r\n"
+ "Version: 7.0\r\n"
+ "\r\n"
+ "Copyright (C) 1999-2007 Brian Paul All Rights Reserved.\r\n"
+ "\r\n"
+ "Permission is hereby granted, free of charge, to any person obtaining a\r\n"
+ "copy of this software and associated documentation files (the ''Software''),\r\n"
+ "to deal in the Software without restriction, including without limitation\r\n"
+ "the rights to use, copy, modify, merge, publish, distribute, sublicense,\r\n"
+ "and/or sell copies of the Software, and to permit persons to whom the\r\n"
+ "Software is furnished to do so, subject to the following conditions:\r\n"
+ "\r\n"
+ "The above copyright notice and this permission notice shall be included\r\n"
+ "in all copies or substantial portions of the Software.\r\n"
+ "\r\n"
+ "THE SOFTWARE IS PROVIDED ''AS IS'', WITHOUT WARRANTY OF ANY KIND, EXPRESS\r\n"
+ "OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\r\n"
+ "FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL\r\n"
+ "BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN\r\n"
+ "AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\r\n"
+ "CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\r\n"
+ "\r\n"
+ "\r\n"
+ "Copyright (c) 2007 The Khronos Group Inc.\r\n"
+ "\r\n"
+ "Permission is hereby granted, free of charge, to any person obtaining a\r\n"
+ "copy of this software and/or associated documentation files (the\r\n"
+ "''Materials''), to deal in the Materials without restriction, including\r\n"
+ "without limitation the rights to use, copy, modify, merge, publish,\r\n"
+ "distribute, sublicense, and/or sell copies of the Materials, and to\r\n"
+ "permit persons to whom the Materials are furnished to do so, subject to\r\n"
+ "the following conditions:\r\n"
+ "\r\n"
+ "The above copyright notice and this permission notice shall be included\r\n"
+ "in all copies or substantial portions of the Materials.\r\n"
+ "\r\n"
+ "THE MATERIALS ARE PROVIDED ''AS IS'', WITHOUT WARRANTY OF ANY KIND,\r\n"
+ "EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\r\n"
+ "MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\r\n"
+ "IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\r\n"
+ "CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\r\n"
+ "TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\r\n"
+ "MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.\0"
+ VALUE "CompanyName", "\0"
+ VALUE "FileDescription", "Utility for listing pixelformat capabilities\0"
+ VALUE "FileVersion", "GLEW_MAJOR,GLEW_MINOR,GLEW_MICRO,0\0"
+ VALUE "InternalName", "visualinfo\0"
+ VALUE "LegalCopyright", "© 2002-2019 Nigel Stewart & Milan Ikits & Marcelo Magallon\0"
+ VALUE "LegalTrademarks", "\0"
+ VALUE "OriginalFilename", FILENAME "\0"
+ VALUE "PrivateBuild", "\0"
+ VALUE "ProductName", "The OpenGL Extension Wrangler Library\0"
+ VALUE "ProductVersion", "GLEW_MAJOR,GLEW_MINOR,GLEW_MICRO,0\0"
+ VALUE "SpecialBuild", "\0"
+ END
+ END
+ BLOCK "VarFileInfo"
+ BEGIN
+ VALUE "Translation", 0x409, 1200
+ END
+END
diff --git a/extern/glew/auto/src/wglew_head.h b/extern/glew/auto/src/wglew_head.h
new file mode 100644
index 0000000000..df8850392f
--- /dev/null
+++ b/extern/glew/auto/src/wglew_head.h
@@ -0,0 +1,36 @@
+#ifndef __wglew_h__
+#define __wglew_h__
+#define __WGLEW_H__
+
+#ifdef __wglext_h_
+#error wglext.h included before wglew.h
+#endif
+
+#define __wglext_h_
+
+#if !defined(WINAPI)
+# ifndef WIN32_LEAN_AND_MEAN
+# define WIN32_LEAN_AND_MEAN 1
+# endif
+#include
+# undef WIN32_LEAN_AND_MEAN
+#endif
+
+/*
+ * GLEW_STATIC needs to be set when using the static version.
+ * GLEW_BUILD is set when building the DLL version.
+ */
+#ifdef GLEW_STATIC
+# define GLEWAPI extern
+#else
+# ifdef GLEW_BUILD
+# define GLEWAPI extern __declspec(dllexport)
+# else
+# define GLEWAPI extern __declspec(dllimport)
+# endif
+#endif
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
diff --git a/extern/glew/auto/src/wglew_mid.h b/extern/glew/auto/src/wglew_mid.h
new file mode 100644
index 0000000000..25b1037b01
--- /dev/null
+++ b/extern/glew/auto/src/wglew_mid.h
@@ -0,0 +1,4 @@
+/* ------------------------------------------------------------------------- */
+
+#define WGLEW_FUN_EXPORT GLEW_FUN_EXPORT
+#define WGLEW_VAR_EXPORT GLEW_VAR_EXPORT
diff --git a/extern/glew/auto/src/wglew_tail.h b/extern/glew/auto/src/wglew_tail.h
new file mode 100644
index 0000000000..89711581fe
--- /dev/null
+++ b/extern/glew/auto/src/wglew_tail.h
@@ -0,0 +1,22 @@
+/* ------------------------------------------------------------------------- */
+
+GLEWAPI GLenum GLEWAPIENTRY wglewInit ();
+GLEWAPI GLboolean GLEWAPIENTRY wglewIsSupported (const char *name);
+
+#ifndef WGLEW_GET_VAR
+#define WGLEW_GET_VAR(x) (*(const GLboolean*)&x)
+#endif
+
+#ifndef WGLEW_GET_FUN
+#define WGLEW_GET_FUN(x) x
+#endif
+
+GLEWAPI GLboolean GLEWAPIENTRY wglewGetExtension (const char *name);
+
+#ifdef __cplusplus
+}
+#endif
+
+#undef GLEWAPI
+
+#endif /* __wglew_h__ */
diff --git a/extern/glew/build/cmake/CMakeLists.txt b/extern/glew/build/cmake/CMakeLists.txt
new file mode 100644
index 0000000000..419c2435c1
--- /dev/null
+++ b/extern/glew/build/cmake/CMakeLists.txt
@@ -0,0 +1,263 @@
+if ( NOT DEFINED CMAKE_BUILD_TYPE )
+ set( CMAKE_BUILD_TYPE Release CACHE STRING "Build type" )
+endif ()
+
+project (glew C)
+
+cmake_minimum_required (VERSION 2.8.12)
+
+include(GNUInstallDirs)
+
+if(POLICY CMP0003)
+ cmake_policy (SET CMP0003 NEW)
+endif()
+
+if(POLICY CMP0042)
+ cmake_policy (SET CMP0042 NEW)
+endif()
+
+set(CMAKE_DEBUG_POSTFIX d)
+
+option (BUILD_UTILS "utilities" ON)
+option (GLEW_REGAL "Regal mode" OFF)
+option (GLEW_OSMESA "OSMesa mode" OFF)
+if (APPLE)
+ option (BUILD_FRAMEWORK "Build Framework bundle for OSX" OFF)
+endif ()
+
+set (GLEW_DIR ${CMAKE_CURRENT_SOURCE_DIR}/../..)
+
+# get version from config/version
+file (STRINGS ${GLEW_DIR}/config/version _VERSION_MAJOR_STRING REGEX "GLEW_MAJOR[ ]*=[ ]*[0-9]+.*")
+string (REGEX REPLACE "GLEW_MAJOR[ ]*=[ ]*([0-9]+)" "\\1" CPACK_PACKAGE_VERSION_MAJOR ${_VERSION_MAJOR_STRING})
+file (STRINGS ${GLEW_DIR}/config/version _VERSION_MINOR_STRING REGEX "GLEW_MINOR[ ]*=[ ]*[0-9]+.*")
+string (REGEX REPLACE "GLEW_MINOR[ ]*=[ ]*([0-9]+)" "\\1" CPACK_PACKAGE_VERSION_MINOR ${_VERSION_MINOR_STRING})
+file (STRINGS ${GLEW_DIR}/config/version _VERSION_PATCH_STRING REGEX "GLEW_MICRO[ ]*=[ ]*[0-9]+.*")
+string (REGEX REPLACE "GLEW_MICRO[ ]*=[ ]*([0-9]+)" "\\1" CPACK_PACKAGE_VERSION_PATCH ${_VERSION_PATCH_STRING})
+set (GLEW_VERSION ${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH})
+
+set (CMAKE_ARCHIVE_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
+set (CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
+set (CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/bin)
+
+find_package (OpenGL REQUIRED)
+
+# X11 required except for Windows and Apple OSX platforms
+if (NOT WIN32 AND NOT APPLE)
+ find_package (X11)
+endif()
+
+if (WIN32)
+ set (GLEW_LIB_NAME glew32)
+else ()
+ set (GLEW_LIB_NAME GLEW)
+ set (DLL_PREFIX lib)
+endif ()
+
+set (GLEW_LIBRARIES ${OPENGL_LIBRARIES} ${X11_LIBRARIES})
+
+add_definitions (-DGLEW_NO_GLU)
+
+#### Regal mode ####
+
+if (GLEW_REGAL)
+ if (WIN32)
+ set (REGAL_LIB_NAME regal32)
+ else ()
+ set (REGAL_LIB_NAME Regal)
+ endif ()
+ add_definitions (-DGLEW_REGAL)
+ set (GLEW_LIBRARIES ${REGAL_LIB_NAME})
+endif ()
+
+#### OSMesa mode ####
+
+if (GLEW_OSMESA)
+ if (WIN32)
+ set (OSMESA_LIB_NAME osmesa)
+ else ()
+ set (OSMESA_LIB_NAME OSMesa)
+ endif ()
+ add_definitions (-DGLEW_OSMESA)
+ set (GLEW_LIBRARIES ${OSMESA_LIB_NAME} ${OPENGL_LIBRARIES})
+ set (X11_LIBRARIES)
+endif ()
+
+#### EGL ####
+
+if (GLEW_EGL AND UNIX)
+ add_definitions (-DGLEW_EGL)
+ if (OpenGL::EGL)
+ message (FATAL_ERROR "EGL library set but not found.")
+ endif()
+ set (GLEW_LIBRARIES ${OPENGL_LIBRARIES} ${OPENGL_egl_LIBRARY})
+endif ()
+
+#### GLEW ####
+
+include_directories (${GLEW_DIR}/include ${X11_INCLUDE_DIR})
+
+set (GLEW_PUBLIC_HEADERS_FILES ${GLEW_DIR}/include/GL/wglew.h ${GLEW_DIR}/include/GL/glew.h ${GLEW_DIR}/include/GL/glxew.h)
+set (GLEW_SRC_FILES ${GLEW_DIR}/src/glew.c)
+
+if (WIN32)
+ list (APPEND GLEW_SRC_FILES ${GLEW_DIR}/build/glew.rc)
+endif ()
+
+add_library (glew SHARED ${GLEW_PUBLIC_HEADERS_FILES} ${GLEW_SRC_FILES})
+set_target_properties (glew PROPERTIES COMPILE_DEFINITIONS "GLEW_BUILD" OUTPUT_NAME "${GLEW_LIB_NAME}" PREFIX "${DLL_PREFIX}"
+ VERSION ${GLEW_VERSION}
+ SOVERSION ${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR})
+add_library (glew_s STATIC ${GLEW_PUBLIC_HEADERS_FILES} ${GLEW_SRC_FILES})
+set_target_properties (glew_s PROPERTIES COMPILE_DEFINITIONS "GLEW_STATIC" OUTPUT_NAME "${GLEW_LIB_NAME}" PREFIX lib)
+
+if (MSVC)
+ # add options from visual studio project
+ target_compile_definitions (glew PRIVATE "GLEW_BUILD;VC_EXTRALEAN")
+ target_compile_definitions (glew_s PRIVATE "GLEW_STATIC;VC_EXTRALEAN")
+ target_link_libraries (glew LINK_PRIVATE -BASE:0x62AA0000)
+ # kill security checks which are dependent on stdlib
+ target_compile_options (glew PRIVATE -GS-)
+ target_compile_options (glew_s PRIVATE -GS-)
+ # remove stdlib dependency
+ target_link_libraries (glew LINK_PRIVATE -nodefaultlib -noentry)
+ target_link_libraries (glew LINK_PRIVATE libvcruntime.lib)
+ target_link_libraries (glew LINK_PRIVATE msvcrt.lib )
+ string(REGEX REPLACE "/RTC(su|[1su])" "" CMAKE_C_FLAGS_DEBUG ${CMAKE_C_FLAGS_DEBUG})
+elseif (WIN32 AND ((CMAKE_C_COMPILER_ID MATCHES "GNU") OR (CMAKE_C_COMPILER_ID MATCHES "Clang")))
+ # remove stdlib dependency on windows with GCC and Clang (for similar reasons
+ # as to MSVC - to allow it to be used with any Windows compiler)
+ target_compile_options (glew PRIVATE -fno-builtin -fno-stack-protector)
+ target_compile_options (glew_s PRIVATE -fno-builtin -fno-stack-protector)
+ target_link_libraries (glew LINK_PRIVATE -nostdlib)
+endif ()
+
+if (BUILD_FRAMEWORK)
+ set_target_properties(glew PROPERTIES
+ FRAMEWORK TRUE
+ FRAMEWORK_VERSION ${GLEW_VERSION}
+ MACOSX_FRAMEWORK_IDENTIFIER net.sourceforge.glew
+ MACOSX_FRAMEWORK_SHORT_VERSION_STRING ${GLEW_VERSION}
+ MACOSX_FRAMEWORK_BUNDLE_VERSION ${GLEW_VERSION}
+ XCODE_ATTRIBUTE_INSTALL_PATH "@rpath"
+ PUBLIC_HEADER "${GLEW_PUBLIC_HEADERS_FILES}"
+ OUTPUT_NAME GLEW
+ )
+endif()
+
+target_link_libraries (glew LINK_PUBLIC ${GLEW_LIBRARIES})
+target_link_libraries (glew_s ${GLEW_LIBRARIES})
+
+if(CMAKE_VERSION VERSION_LESS 2.8.12)
+ set(MAYBE_EXPORT "")
+else()
+ target_compile_definitions(glew_s INTERFACE "GLEW_STATIC")
+ foreach(t glew glew_s)
+ target_include_directories(${t} PUBLIC $)
+ endforeach()
+ set(MAYBE_EXPORT EXPORT glew-targets)
+endif()
+
+set(targets_to_install "")
+if(NOT DEFINED BUILD_SHARED_LIBS OR BUILD_SHARED_LIBS)
+ list(APPEND targets_to_install glew)
+endif()
+
+if(NOT DEFINED BUILD_SHARED_LIBS OR NOT BUILD_SHARED_LIBS)
+ list(APPEND targets_to_install glew_s)
+endif()
+
+install ( TARGETS ${targets_to_install}
+ ${MAYBE_EXPORT}
+ RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
+ LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR}
+ ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
+ FRAMEWORK DESTINATION ${CMAKE_INSTALL_PREFIX}
+)
+
+if (BUILD_UTILS)
+ set (GLEWINFO_SRC_FILES ${GLEW_DIR}/src/glewinfo.c)
+ if (WIN32)
+ list (APPEND GLEWINFO_SRC_FILES ${GLEW_DIR}/build/glewinfo.rc)
+ endif ()
+ add_executable (glewinfo ${GLEWINFO_SRC_FILES})
+ if(NOT DEFINED BUILD_SHARED_LIBS OR BUILD_SHARED_LIBS)
+ target_link_libraries (glewinfo glew)
+ else()
+ target_link_libraries (glewinfo glew_s)
+ endif()
+ if (NOT WIN32)
+ target_link_libraries(glewinfo ${X11_LIBRARIES})
+ endif ()
+
+ set (VISUALINFO_SRC_FILES ${GLEW_DIR}/src/visualinfo.c)
+ if (WIN32)
+ list (APPEND VISUALINFO_SRC_FILES ${GLEW_DIR}/build/visualinfo.rc)
+ endif ()
+ add_executable (visualinfo ${VISUALINFO_SRC_FILES})
+ if(NOT DEFINED BUILD_SHARED_LIBS OR BUILD_SHARED_LIBS)
+ target_link_libraries (visualinfo glew)
+ else()
+ target_link_libraries (visualinfo glew_s)
+ endif()
+ if (NOT WIN32)
+ target_link_libraries(visualinfo ${X11_LIBRARIES})
+ endif ()
+
+ install ( TARGETS glewinfo visualinfo
+ DESTINATION ${CMAKE_INSTALL_BINDIR})
+endif ()
+
+set (prefix ${CMAKE_INSTALL_PREFIX})
+set (exec_prefix ${CMAKE_INSTALL_PREFIX})
+set (libdir ${CMAKE_INSTALL_FULL_LIBDIR})
+set (includedir ${CMAKE_INSTALL_FULL_INCLUDEDIR})
+set (version ${GLEW_VERSION})
+set (libname ${GLEW_LIB_NAME})
+set (cflags)
+set (requireslib glu)
+
+# Mac OSX has no glu.pc unless optional X11/GLX is installed
+if (APPLE)
+ set (requireslib)
+endif ()
+
+configure_file (${GLEW_DIR}/glew.pc.in ${CMAKE_CURRENT_BINARY_DIR}/glew.pc @ONLY)
+
+install(FILES ${CMAKE_CURRENT_BINARY_DIR}/glew.pc
+ DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig
+)
+
+if(WIN32 AND MSVC AND (NOT MSVC_VERSION LESS 1600) AND (NOT CMAKE_VERSION VERSION_LESS "3.1"))
+ install(
+ FILES $
+ DESTINATION ${CMAKE_INSTALL_LIBDIR}
+ CONFIGURATIONS Debug RelWithDebInfo
+ )
+endif()
+
+install (FILES
+ ${GLEW_DIR}/include/GL/wglew.h
+ ${GLEW_DIR}/include/GL/glew.h
+ ${GLEW_DIR}/include/GL/glxew.h
+ DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/GL)
+
+if(MAYBE_EXPORT)
+ install(EXPORT glew-targets DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/glew
+ NAMESPACE GLEW::)
+ install(FILES
+ ${CMAKE_CURRENT_SOURCE_DIR}/glew-config.cmake
+ ${CMAKE_CURRENT_SOURCE_DIR}/CopyImportedTargetProperties.cmake
+ DESTINATION ${CMAKE_INSTALL_LIBDIR}/cmake/glew)
+endif()
+
+if(NOT TARGET uninstall)
+ configure_file(
+ ${CMAKE_CURRENT_SOURCE_DIR}/cmake_uninstall.cmake.in
+ ${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake
+ IMMEDIATE @ONLY)
+
+ add_custom_target(uninstall
+ COMMAND ${CMAKE_COMMAND} -P
+ ${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake)
+endif()
diff --git a/extern/glew/build/cmake/CopyImportedTargetProperties.cmake b/extern/glew/build/cmake/CopyImportedTargetProperties.cmake
new file mode 100644
index 0000000000..a7ade9842e
--- /dev/null
+++ b/extern/glew/build/cmake/CopyImportedTargetProperties.cmake
@@ -0,0 +1,88 @@
+#.rst:
+# CopyImportedTargetProperties
+# --------------------------
+#
+# Copies the `INTERFACE*` and `IMPORTED*` properties from a target
+# to another one.
+# This function can be used to duplicate an `IMPORTED` or an `ALIAS` library
+# with a different name since ``add_library(... ALIAS ...)`` does not work
+# for those targets.
+#
+# ::
+#
+# copy_imported_target_properties( )
+#
+# The function copies all the `INTERFACE*` and `IMPORTED*` target
+# properties from `` to ``.
+#
+# The function uses the `IMPORTED_CONFIGURATIONS` property to determine
+# which configuration-dependent properties should be copied
+# (`IMPORTED_LOCATION_`, etc...)
+#
+# Example:
+#
+# Internally the CMake project of ZLIB builds the ``zlib`` and
+# ``zlibstatic`` targets which can be exported in the ``ZLIB::`` namespace
+# with the ``install(EXPORT ...)`` command.
+#
+# The config-module will then create the import libraries ``ZLIB::zlib`` and
+# ``ZLIB::zlibstatic``. To use ``ZLIB::zlibstatic`` under the standard
+# ``ZLIB::ZLIB`` name we need to create the ``ZLIB::ZLIB`` imported library
+# and copy the appropriate properties:
+#
+# add_library(ZLIB::ZLIB STATIC IMPORTED)
+# copy_imported_target_properties(ZLIB::zlibstatic ZLIB::ZLIB)
+#
+
+function(copy_imported_target_properties src_target dest_target)
+
+ set(config_dependent_props
+ IMPORTED_IMPLIB
+ IMPORTED_LINK_DEPENDENT_LIBRARIES
+ IMPORTED_LINK_INTERFACE_LANGUAGES
+ IMPORTED_LINK_INTERFACE_LIBRARIES
+ IMPORTED_LINK_INTERFACE_MULTIPLICITY
+ IMPORTED_LOCATION
+ IMPORTED_NO_SONAME
+ IMPORTED_SONAME
+ )
+
+ # copy configuration-independent properties
+ foreach(prop
+ ${config_dependent_props}
+ IMPORTED_CONFIGURATIONS
+ INTERFACE_AUTOUIC_OPTIONS
+ INTERFACE_COMPILE_DEFINITIONS
+ INTERFACE_COMPILE_FEATURES
+ INTERFACE_COMPILE_OPTIONS
+ INTERFACE_INCLUDE_DIRECTORIES
+ INTERFACE_LINK_LIBRARIES
+ INTERFACE_POSITION_INDEPENDENT_CODE
+ INTERFACE_SOURCES
+ INTERFACE_SYSTEM_INCLUDE_DIRECTORIES
+ )
+ get_property(is_set TARGET ${src_target} PROPERTY ${prop} SET)
+ if(is_set)
+ get_target_property(v ${src_target} ${prop})
+ set_target_properties(${dest_target} PROPERTIES ${prop} "${v}")
+ # message(STATUS "set_target_properties(${dest_target} PROPERTIES ${prop} ${v})")
+ endif()
+ endforeach()
+
+ # copy configuration-dependent properties
+ get_target_property(imported_configs ${src_target}
+ IMPORTED_CONFIGURATIONS)
+
+ foreach(config ${imported_configs})
+ foreach(prop_prefix ${config_dependent_props})
+ set(prop ${prop_prefix}_${config})
+ get_property(is_set TARGET ${src_target} PROPERTY ${prop} SET)
+ if(is_set)
+ get_target_property(v ${src_target} ${prop})
+ set_target_properties(${dest_target}
+ PROPERTIES ${prop} "${v}")
+ # message(STATUS "set_target_properties(${dest_target} PROPERTIES ${prop} ${v})")
+ endif()
+ endforeach()
+ endforeach()
+endfunction()
diff --git a/extern/glew/build/cmake/cmake_uninstall.cmake.in b/extern/glew/build/cmake/cmake_uninstall.cmake.in
new file mode 100644
index 0000000000..2517e99bcb
--- /dev/null
+++ b/extern/glew/build/cmake/cmake_uninstall.cmake.in
@@ -0,0 +1,26 @@
+if(NOT EXISTS "@CMAKE_BINARY_DIR@/install_manifest.txt")
+ message(FATAL_ERROR "Cannot find install manifest: @CMAKE_BINARY_DIR@/install_manifest.txt")
+endif(NOT EXISTS "@CMAKE_BINARY_DIR@/install_manifest.txt")
+
+if (NOT DEFINED CMAKE_INSTALL_PREFIX)
+ set (CMAKE_INSTALL_PREFIX "@CMAKE_INSTALL_PREFIX@")
+endif ()
+ message(${CMAKE_INSTALL_PREFIX})
+
+file(READ "@CMAKE_BINARY_DIR@/install_manifest.txt" files)
+string(REGEX REPLACE "\n" ";" files "${files}")
+foreach(file ${files})
+ message(STATUS "Uninstalling $ENV{DESTDIR}${file}")
+ if(IS_SYMLINK "$ENV{DESTDIR}${file}" OR EXISTS "$ENV{DESTDIR}${file}")
+ exec_program(
+ "@CMAKE_COMMAND@" ARGS "-E remove \"$ENV{DESTDIR}${file}\""
+ OUTPUT_VARIABLE rm_out
+ RETURN_VALUE rm_retval
+ )
+ if(NOT "${rm_retval}" STREQUAL 0)
+ message(FATAL_ERROR "Problem when removing $ENV{DESTDIR}${file}")
+ endif(NOT "${rm_retval}" STREQUAL 0)
+ else(IS_SYMLINK "$ENV{DESTDIR}${file}" OR EXISTS "$ENV{DESTDIR}${file}")
+ message(STATUS "File $ENV{DESTDIR}${file} does not exist.")
+ endif(IS_SYMLINK "$ENV{DESTDIR}${file}" OR EXISTS "$ENV{DESTDIR}${file}")
+endforeach(file)
diff --git a/extern/glew/build/cmake/glew-config.cmake b/extern/glew/build/cmake/glew-config.cmake
new file mode 100644
index 0000000000..0b79c0b145
--- /dev/null
+++ b/extern/glew/build/cmake/glew-config.cmake
@@ -0,0 +1,60 @@
+# This config-module creates the following import libraries:
+#
+# - GLEW::glew shared lib
+# - GLEW::glew_s static lib
+#
+# Additionally GLEW::GLEW will be created as an
+# copy of either the shared (default) or the static libs.
+#
+# Dependending on the setting of BUILD_SHARED_LIBS at GLEW build time
+# either the static or shared versions may not be available.
+#
+# Set GLEW_USE_STATIC_LIBS to OFF or ON to force using the shared
+# or static lib for GLEW::GLEW
+#
+
+include(${CMAKE_CURRENT_LIST_DIR}/glew-targets.cmake)
+include(${CMAKE_CURRENT_LIST_DIR}/CopyImportedTargetProperties.cmake)
+
+# decide which import library (glew/glew_s)
+# needs to be copied to GLEW::GLEW
+set(_glew_target_postfix "")
+set(_glew_target_type SHARED)
+if(DEFINED GLEW_USE_STATIC_LIBS)
+ # if defined, use only static or shared
+ if(GLEW_USE_STATIC_LIBS)
+ set(_glew_target_postfix "_s")
+ endif()
+ # else use static only if no shared
+elseif(NOT TARGET GLEW::glew AND TARGET GLEW::glew_s)
+ set(_glew_target_postfix "_s")
+endif()
+if(_glew_target_postfix STREQUAL "")
+ set(_glew_target_type SHARED)
+else()
+ set(_glew_target_type STATIC)
+endif()
+
+# CMake doesn't allow creating ALIAS lib for an IMPORTED lib
+# so create imported ones and copy the properties
+foreach(_glew_target glew)
+ set(_glew_src_target "GLEW::${_glew_target}${_glew_target_postfix}")
+ string(TOUPPER "GLEW::${_glew_target}" _glew_dest_target)
+ if(TARGET ${_glew_dest_target})
+ get_target_property(_glew_previous_src_target ${_glew_dest_target}
+ _GLEW_SRC_TARGET)
+ if(NOT _glew_previous_src_target STREQUAL _glew_src_target)
+ message(FATAL_ERROR "find_package(GLEW) was called the second time with "
+ "different GLEW_USE_STATIC_LIBS setting. Previously, "
+ "`glew-config.cmake` created ${_glew_dest_target} as a copy of "
+ "${_glew_previous_src_target}. Now it attempted to copy it from "
+ "${_glew_src_target}. ")
+ endif()
+ else()
+ add_library(${_glew_dest_target} ${_glew_target_type} IMPORTED)
+ # message(STATUS "add_library(${_glew_dest_target} ${_glew_target_type} IMPORTED)")
+ copy_imported_target_properties(${_glew_src_target} ${_glew_dest_target})
+ set_target_properties(${_glew_dest_target} PROPERTIES
+ _GLEW_SRC_TARGET ${_glew_src_target})
+ endif()
+endforeach()
diff --git a/extern/glew/build/cmake/testbuild/CMakeLists.txt b/extern/glew/build/cmake/testbuild/CMakeLists.txt
new file mode 100644
index 0000000000..27bcf2d761
--- /dev/null
+++ b/extern/glew/build/cmake/testbuild/CMakeLists.txt
@@ -0,0 +1,25 @@
+cmake_minimum_required(VERSION 2.8.12)
+project(glew-cmake-test)
+
+find_package(GLEW REQUIRED CONFIG)
+find_package(GLEW REQUIRED CONFIG) # call twice to test multiple call
+find_package(OpenGL REQUIRED)
+
+add_executable(cmake-test main.c)
+set_target_properties(cmake-test PROPERTIES DEBUG_POSTFIX _d)
+target_link_libraries(cmake-test PRIVATE GLEW::GLEW ${OPENGL_LIBRARIES})
+target_include_directories(cmake-test PRIVATE ${OPENGL_INCLUDE_DIR})
+
+if(CMAKE_VERSION VERSION_LESS 3.0)
+ set(cgex $)
+else()
+ set(cgex $)
+endif()
+
+target_compile_definitions(cmake-test PRIVATE
+ -DGLEW_CMAKE_TEST_CONFIG=${cgex}
+ -DGLEW_CMAKE_TEST_TARGET_FILE_NAME=$
+ -DGLEW_CMAKE_TEST_TARGET_TYPE=$
+ )
+
+install(TARGETS cmake-test DESTINATION bin)
diff --git a/extern/glew/build/cmake/testbuild/main.c b/extern/glew/build/cmake/testbuild/main.c
new file mode 100644
index 0000000000..5975817818
--- /dev/null
+++ b/extern/glew/build/cmake/testbuild/main.c
@@ -0,0 +1,23 @@
+#include
+
+#include
+#include
+
+#define S(x) SS(x)
+#define SS(x) #x
+
+int main(int argc, char* argv[]) {
+ printf("GLEW CMake test, %s build\n",
+ S(GLEW_CMAKE_TEST_CONFIG));
+ printf("-- linked to %s which is %s\n",
+ S(GLEW_CMAKE_TEST_TARGET_FILE_NAME),
+ S(GLEW_CMAKE_TEST_TARGET_TYPE));
+ const GLubyte* v = glewGetString(GLEW_VERSION);
+ if(v) {
+ printf("-- glewGetString(GLEW_VERSION) returns %s\n-- test passed.\n", v);
+ return EXIT_SUCCESS;
+ } else {
+ printf("-- glewGetString(GLEW_VERSION) returns NULL\n-- test failed.\n");
+ return EXIT_FAILURE;
+ }
+}
diff --git a/extern/glew/build/glew.rc b/extern/glew/build/glew.rc
new file mode 100644
index 0000000000..82d85ee504
--- /dev/null
+++ b/extern/glew/build/glew.rc
@@ -0,0 +1,136 @@
+
+#include
+
+#ifdef GLEW_STATIC
+# ifdef _DEBUG
+# define FILENAME "glew32sd.dll"
+# else
+# define FILENAME "glew32s.dll"
+# endif
+#else
+# ifdef _DEBUG
+# define FILENAME "glew32d.dll"
+# else
+# define FILENAME "glew32.dll"
+# endif
+#endif
+
+/////////////////////////////////////////////////////////////////////////////
+//
+// Version
+//
+VS_VERSION_INFO VERSIONINFO
+FILEVERSION 2, 2, 0, 0
+PRODUCTVERSION 2, 2, 0, 0
+FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
+#ifdef _DEBUG
+FILEFLAGS VS_FF_DEBUG
+#else
+FILEFLAGS 0x0L
+#endif
+FILEOS VOS__WINDOWS32
+#ifdef GLEW_STATIC
+FILETYPE VFT_STATIC_LIB
+#else
+FILETYPE VFT_DLL
+#endif
+FILESUBTYPE VFT2_UNKNOWN
+BEGIN
+ BLOCK "StringFileInfo"
+ BEGIN
+ BLOCK "040904b0"
+ BEGIN
+ VALUE "Comments",
+ "The OpenGL Extension Wrangler Library\r\n"
+ "Copyright (C) 2008-2019, Nigel Stewart \r\n"
+ "Copyright (C) 2002-2008, Milan Ikits \r\n"
+ "Copyright (C) 2002-2008, Marcelo E. Magallon \r\n"
+ "Copyright (C) 2002, Lev Povalahev\r\n"
+ "All rights reserved.\r\n"
+ "\r\n"
+ "Redistribution and use in source and binary forms, with or without \r\n"
+ "modification, are permitted provided that the following conditions are met:\r\n"
+ "\r\n"
+ "* Redistributions of source code must retain the above copyright notice, \r\n"
+ " this list of conditions and the following disclaimer.\r\n"
+ "* Redistributions in binary form must reproduce the above copyright notice, \r\n"
+ " this list of conditions and the following disclaimer in the documentation \r\n"
+ " and/or other materials provided with the distribution.\r\n"
+ "* The name of the author may be used to endorse or promote products \r\n"
+ " derived from this software without specific prior written permission.\r\n"
+ "\r\n"
+ "THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ''AS IS'' \r\n"
+ "AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE \r\n"
+ "IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\r\n"
+ "ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE \r\n"
+ "LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR \r\n"
+ "CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF \r\n"
+ "SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS\r\n"
+ "INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN\r\n"
+ "CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\r\n"
+ "ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF\r\n"
+ "THE POSSIBILITY OF SUCH DAMAGE.\r\n"
+ "\r\n"
+ "\r\n"
+ "Mesa 3-D graphics library\r\n"
+ "\r\n"
+ "Version: 7.0\r\n"
+ "\r\n"
+ "Copyright (C) 1999-2007 Brian Paul All Rights Reserved.\r\n"
+ "\r\n"
+ "Permission is hereby granted, free of charge, to any person obtaining a\r\n"
+ "copy of this software and associated documentation files (the ''Software''),\r\n"
+ "to deal in the Software without restriction, including without limitation\r\n"
+ "the rights to use, copy, modify, merge, publish, distribute, sublicense,\r\n"
+ "and/or sell copies of the Software, and to permit persons to whom the\r\n"
+ "Software is furnished to do so, subject to the following conditions:\r\n"
+ "\r\n"
+ "The above copyright notice and this permission notice shall be included\r\n"
+ "in all copies or substantial portions of the Software.\r\n"
+ "\r\n"
+ "THE SOFTWARE IS PROVIDED ''AS IS'', WITHOUT WARRANTY OF ANY KIND, EXPRESS\r\n"
+ "OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\r\n"
+ "FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL\r\n"
+ "BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN\r\n"
+ "AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\r\n"
+ "CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\r\n"
+ "\r\n"
+ "\r\n"
+ "Copyright (c) 2007 The Khronos Group Inc.\r\n"
+ "\r\n"
+ "Permission is hereby granted, free of charge, to any person obtaining a\r\n"
+ "copy of this software and/or associated documentation files (the\r\n"
+ "''Materials''), to deal in the Materials without restriction, including\r\n"
+ "without limitation the rights to use, copy, modify, merge, publish,\r\n"
+ "distribute, sublicense, and/or sell copies of the Materials, and to\r\n"
+ "permit persons to whom the Materials are furnished to do so, subject to\r\n"
+ "the following conditions:\r\n"
+ "\r\n"
+ "The above copyright notice and this permission notice shall be included\r\n"
+ "in all copies or substantial portions of the Materials.\r\n"
+ "\r\n"
+ "THE MATERIALS ARE PROVIDED ''AS IS'', WITHOUT WARRANTY OF ANY KIND,\r\n"
+ "EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\r\n"
+ "MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\r\n"
+ "IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\r\n"
+ "CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\r\n"
+ "TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\r\n"
+ "MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.\0"
+ VALUE "CompanyName", "\0"
+ VALUE "FileDescription", "The OpenGL Extension Wrangler Library\0"
+ VALUE "FileVersion", "2,2,0,0\0"
+ VALUE "InternalName", "GLEW\0"
+ VALUE "LegalCopyright", "© 2002-2019 Nigel Stewart & Milan Ikits & Marcelo Magallon\0"
+ VALUE "LegalTrademarks", "\0"
+ VALUE "OriginalFilename", FILENAME "\0"
+ VALUE "PrivateBuild", "\0"
+ VALUE "ProductName", "The OpenGL Extension Wrangler Library\0"
+ VALUE "ProductVersion", "2,2,0,0\0"
+ VALUE "SpecialBuild", "\0"
+ END
+ END
+ BLOCK "VarFileInfo"
+ BEGIN
+ VALUE "Translation", 0x409, 1200
+ END
+END
diff --git a/extern/glew/build/glewinfo.rc b/extern/glew/build/glewinfo.rc
new file mode 100644
index 0000000000..cf61c22a9a
--- /dev/null
+++ b/extern/glew/build/glewinfo.rc
@@ -0,0 +1,124 @@
+
+#include
+
+#ifdef _DEBUG
+# define FILENAME "glewinfod.exe"
+#else
+# define FILENAME "glewinfo.exe"
+#endif
+
+/////////////////////////////////////////////////////////////////////////////
+//
+// Version
+//
+VS_VERSION_INFO VERSIONINFO
+FILEVERSION 2, 2, 0, 0
+PRODUCTVERSION 2, 2, 0, 0
+FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
+#ifdef _DEBUG
+FILEFLAGS VS_FF_DEBUG
+#else
+FILEFLAGS 0x0L
+#endif
+FILEOS VOS__WINDOWS32
+FILETYPE VFT_APP
+FILESUBTYPE VFT2_UNKNOWN
+BEGIN
+ BLOCK "StringFileInfo"
+ BEGIN
+ BLOCK "040904b0"
+ BEGIN
+ VALUE "Comments",
+ "The OpenGL Extension Wrangler Library\r\n"
+ "Copyright (C) 2008-2019, Nigel Stewart \r\n"
+ "Copyright (C) 2002-2008, Milan Ikits \r\n"
+ "Copyright (C) 2002-2008, Marcelo E. Magallon \r\n"
+ "Copyright (C) 2002, Lev Povalahev\r\n"
+ "All rights reserved.\r\n"
+ "\r\n"
+ "Redistribution and use in source and binary forms, with or without \r\n"
+ "modification, are permitted provided that the following conditions are met:\r\n"
+ "\r\n"
+ "* Redistributions of source code must retain the above copyright notice, \r\n"
+ " this list of conditions and the following disclaimer.\r\n"
+ "* Redistributions in binary form must reproduce the above copyright notice, \r\n"
+ " this list of conditions and the following disclaimer in the documentation \r\n"
+ " and/or other materials provided with the distribution.\r\n"
+ "* The name of the author may be used to endorse or promote products \r\n"
+ " derived from this software without specific prior written permission.\r\n"
+ "\r\n"
+ "THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ''AS IS'' \r\n"
+ "AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE \r\n"
+ "IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\r\n"
+ "ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE \r\n"
+ "LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR \r\n"
+ "CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF \r\n"
+ "SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS\r\n"
+ "INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN\r\n"
+ "CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\r\n"
+ "ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF\r\n"
+ "THE POSSIBILITY OF SUCH DAMAGE.\r\n"
+ "\r\n"
+ "\r\n"
+ "Mesa 3-D graphics library\r\n"
+ "\r\n"
+ "Version: 7.0\r\n"
+ "\r\n"
+ "Copyright (C) 1999-2007 Brian Paul All Rights Reserved.\r\n"
+ "\r\n"
+ "Permission is hereby granted, free of charge, to any person obtaining a\r\n"
+ "copy of this software and associated documentation files (the ''Software''),\r\n"
+ "to deal in the Software without restriction, including without limitation\r\n"
+ "the rights to use, copy, modify, merge, publish, distribute, sublicense,\r\n"
+ "and/or sell copies of the Software, and to permit persons to whom the\r\n"
+ "Software is furnished to do so, subject to the following conditions:\r\n"
+ "\r\n"
+ "The above copyright notice and this permission notice shall be included\r\n"
+ "in all copies or substantial portions of the Software.\r\n"
+ "\r\n"
+ "THE SOFTWARE IS PROVIDED ''AS IS'', WITHOUT WARRANTY OF ANY KIND, EXPRESS\r\n"
+ "OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\r\n"
+ "FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL\r\n"
+ "BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN\r\n"
+ "AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\r\n"
+ "CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\r\n"
+ "\r\n"
+ "\r\n"
+ "Copyright (c) 2007 The Khronos Group Inc.\r\n"
+ "\r\n"
+ "Permission is hereby granted, free of charge, to any person obtaining a\r\n"
+ "copy of this software and/or associated documentation files (the\r\n"
+ "''Materials''), to deal in the Materials without restriction, including\r\n"
+ "without limitation the rights to use, copy, modify, merge, publish,\r\n"
+ "distribute, sublicense, and/or sell copies of the Materials, and to\r\n"
+ "permit persons to whom the Materials are furnished to do so, subject to\r\n"
+ "the following conditions:\r\n"
+ "\r\n"
+ "The above copyright notice and this permission notice shall be included\r\n"
+ "in all copies or substantial portions of the Materials.\r\n"
+ "\r\n"
+ "THE MATERIALS ARE PROVIDED ''AS IS'', WITHOUT WARRANTY OF ANY KIND,\r\n"
+ "EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\r\n"
+ "MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\r\n"
+ "IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\r\n"
+ "CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\r\n"
+ "TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\r\n"
+ "MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.\0"
+ VALUE "CompanyName", "\0"
+ VALUE "FileDescription", "Utility for verifying extension entry points\0"
+ VALUE "FileVersion", "2,2,0,0\0"
+ VALUE "InternalName", "glewinfo\0"
+ VALUE "LegalCopyright", "© 2002-2019 Nigel Stewart & Milan Ikits & Marcelo Magallon\0"
+ VALUE "LegalTrademarks", "\0"
+ VALUE "OriginalFilename", FILENAME "\0"
+ VALUE "PrivateBuild", "\0"
+ VALUE "ProductName", "The OpenGL Extension Wrangler Library\0"
+ VALUE "ProductVersion", "2,2,0,0\0"
+ VALUE "SpecialBuild", "\0"
+ END
+ END
+ BLOCK "VarFileInfo"
+ BEGIN
+ VALUE "Translation", 0x409, 1200
+ END
+END
diff --git a/extern/glew/build/vc10/common.props b/extern/glew/build/vc10/common.props
new file mode 100644
index 0000000000..8b9a5f59c6
--- /dev/null
+++ b/extern/glew/build/vc10/common.props
@@ -0,0 +1,29 @@
+
+
+
+
+ ../../include
+ ../../lib
+ ../../bin
+
+
+
+
+ $(INCLUDE_DIR)
+
+
+
+
+ $(INCLUDE_DIR)
+ true
+
+
+ $(LIB_DIR)
+ true
+
+
+ $(BIN_DIR)
+ true
+
+
+
\ No newline at end of file
diff --git a/extern/glew/build/vc10/glew.sln b/extern/glew/build/vc10/glew.sln
new file mode 100644
index 0000000000..a27448f4b6
--- /dev/null
+++ b/extern/glew/build/vc10/glew.sln
@@ -0,0 +1,56 @@
+
+Microsoft Visual Studio Solution File, Format Version 11.00
+# Visual Studio 2010
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "glew_shared", "glew_shared.vcxproj", "{55AE3D72-7DE6-F19F-AEF2-9AE8CA26CF3D}"
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "glew_static", "glew_static.vcxproj", "{664E6F0D-6784-4760-9565-D54F8EB1EDF4}"
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "glewinfo", "glewinfo.vcxproj", "{8EFB5DCB-C0C4-1670-5938-A0E0F1A1C5EA}"
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "visualinfo", "visualinfo.vcxproj", "{79AA8443-86F4-649A-0BEB-0CB5E51B7D7E}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Win32 = Debug|Win32
+ Debug|x64 = Debug|x64
+ Release|Win32 = Release|Win32
+ Release|x64 = Release|x64
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {55AE3D72-7DE6-F19F-AEF2-9AE8CA26CF3D}.Debug|Win32.ActiveCfg = Debug|Win32
+ {55AE3D72-7DE6-F19F-AEF2-9AE8CA26CF3D}.Debug|Win32.Build.0 = Debug|Win32
+ {55AE3D72-7DE6-F19F-AEF2-9AE8CA26CF3D}.Debug|x64.ActiveCfg = Debug|x64
+ {55AE3D72-7DE6-F19F-AEF2-9AE8CA26CF3D}.Debug|x64.Build.0 = Debug|x64
+ {55AE3D72-7DE6-F19F-AEF2-9AE8CA26CF3D}.Release|Win32.ActiveCfg = Release|Win32
+ {55AE3D72-7DE6-F19F-AEF2-9AE8CA26CF3D}.Release|Win32.Build.0 = Release|Win32
+ {55AE3D72-7DE6-F19F-AEF2-9AE8CA26CF3D}.Release|x64.ActiveCfg = Release|x64
+ {55AE3D72-7DE6-F19F-AEF2-9AE8CA26CF3D}.Release|x64.Build.0 = Release|x64
+ {664E6F0D-6784-4760-9565-D54F8EB1EDF4}.Debug|Win32.ActiveCfg = Debug|Win32
+ {664E6F0D-6784-4760-9565-D54F8EB1EDF4}.Debug|Win32.Build.0 = Debug|Win32
+ {664E6F0D-6784-4760-9565-D54F8EB1EDF4}.Debug|x64.ActiveCfg = Debug|x64
+ {664E6F0D-6784-4760-9565-D54F8EB1EDF4}.Debug|x64.Build.0 = Debug|x64
+ {664E6F0D-6784-4760-9565-D54F8EB1EDF4}.Release|Win32.ActiveCfg = Release|Win32
+ {664E6F0D-6784-4760-9565-D54F8EB1EDF4}.Release|Win32.Build.0 = Release|Win32
+ {664E6F0D-6784-4760-9565-D54F8EB1EDF4}.Release|x64.ActiveCfg = Release|x64
+ {664E6F0D-6784-4760-9565-D54F8EB1EDF4}.Release|x64.Build.0 = Release|x64
+ {8EFB5DCB-C0C4-1670-5938-A0E0F1A1C5EA}.Debug|Win32.ActiveCfg = Debug|Win32
+ {8EFB5DCB-C0C4-1670-5938-A0E0F1A1C5EA}.Debug|Win32.Build.0 = Debug|Win32
+ {8EFB5DCB-C0C4-1670-5938-A0E0F1A1C5EA}.Debug|x64.ActiveCfg = Debug|x64
+ {8EFB5DCB-C0C4-1670-5938-A0E0F1A1C5EA}.Debug|x64.Build.0 = Debug|x64
+ {8EFB5DCB-C0C4-1670-5938-A0E0F1A1C5EA}.Release|Win32.ActiveCfg = Release|Win32
+ {8EFB5DCB-C0C4-1670-5938-A0E0F1A1C5EA}.Release|Win32.Build.0 = Release|Win32
+ {8EFB5DCB-C0C4-1670-5938-A0E0F1A1C5EA}.Release|x64.ActiveCfg = Release|x64
+ {8EFB5DCB-C0C4-1670-5938-A0E0F1A1C5EA}.Release|x64.Build.0 = Release|x64
+ {79AA8443-86F4-649A-0BEB-0CB5E51B7D7E}.Debug|Win32.ActiveCfg = Debug|Win32
+ {79AA8443-86F4-649A-0BEB-0CB5E51B7D7E}.Debug|Win32.Build.0 = Debug|Win32
+ {79AA8443-86F4-649A-0BEB-0CB5E51B7D7E}.Debug|x64.ActiveCfg = Debug|x64
+ {79AA8443-86F4-649A-0BEB-0CB5E51B7D7E}.Debug|x64.Build.0 = Debug|x64
+ {79AA8443-86F4-649A-0BEB-0CB5E51B7D7E}.Release|Win32.ActiveCfg = Release|Win32
+ {79AA8443-86F4-649A-0BEB-0CB5E51B7D7E}.Release|Win32.Build.0 = Release|Win32
+ {79AA8443-86F4-649A-0BEB-0CB5E51B7D7E}.Release|x64.ActiveCfg = Release|x64
+ {79AA8443-86F4-649A-0BEB-0CB5E51B7D7E}.Release|x64.Build.0 = Release|x64
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+EndGlobal
diff --git a/extern/glew/build/vc10/glew_shared.vcxproj b/extern/glew/build/vc10/glew_shared.vcxproj
new file mode 100644
index 0000000000..28c63b898c
--- /dev/null
+++ b/extern/glew/build/vc10/glew_shared.vcxproj
@@ -0,0 +1,254 @@
+
+
+
+
+ Debug
+ Win32
+
+
+ Debug
+ x64
+
+
+ Release
+ Win32
+
+
+ Release
+ x64
+
+
+
+
+
+ {55AE3D72-7DE6-F19F-AEF2-9AE8CA26CF3D}
+
+
+
+ DynamicLibrary
+ false
+
+
+ DynamicLibrary
+ false
+
+
+ DynamicLibrary
+ false
+
+
+ DynamicLibrary
+ false
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ $(BIN_DIR)\$(Configuration)\$(PlatformName)\
+ tmp\$(TargetName)\$(Configuration)\$(PlatformName)\
+ false
+ glew32
+
+
+ $(BIN_DIR)\$(Configuration)\$(PlatformName)\
+ tmp\$(TargetName)\$(Configuration)\$(PlatformName)\
+ false
+ glew32
+
+
+ $(BIN_DIR)\$(Configuration)\$(PlatformName)\
+ tmp\$(TargetName)\$(Configuration)\$(PlatformName)\
+ false
+ glew32d
+
+
+ $(BIN_DIR)\$(Configuration)\$(PlatformName)\
+ tmp\$(TargetName)\$(Configuration)\$(PlatformName)\
+ false
+ glew32d
+
+
+
+ MultiThreaded
+ OnlyExplicitInline
+ true
+ true
+ MaxSpeed
+ true
+ Level3
+ $(INCLUDE_DIR)
+ WIN32;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;GLEW_BUILD;%(PreprocessorDefinitions)
+ false
+
+
+ true
+ NDEBUG;%(PreprocessorDefinitions)
+ true
+ Win32
+
+
+ 0x0409
+ NDEBUG;%(PreprocessorDefinitions)
+
+
+ true
+
+
+ true
+ true
+ Console
+ $(OutDir)$(TargetName)$(TargetExt)
+ $(LIB_DIR)\$(Configuration)\$(PlatformName)\$(TargetName).lib
+ 0x62AA0000
+ opengl32.lib;%(AdditionalDependencies)
+ /ignore:4089
+
+
+ true
+ true
+
+
+
+
+ MultiThreaded
+ OnlyExplicitInline
+ true
+ true
+ MaxSpeed
+ true
+ Level3
+ $(INCLUDE_DIR)
+ WIN32;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;GLEW_BUILD;%(PreprocessorDefinitions)
+ false
+
+
+ true
+ NDEBUG;%(PreprocessorDefinitions)
+ true
+
+
+ 0x0409
+ NDEBUG;%(PreprocessorDefinitions)
+
+
+ true
+
+
+ true
+ true
+ Console
+ $(OutDir)$(TargetName)$(TargetExt)
+ $(LIB_DIR)\$(Configuration)\$(PlatformName)\$(TargetName).lib
+ 0x62AA0000
+ opengl32.lib;%(AdditionalDependencies)
+ /ignore:4089
+
+
+ true
+ true
+
+
+
+
+ MultiThreadedDebugDLL
+ Default
+ false
+ Disabled
+ true
+ WIN32;WIN32_MEAN_AND_LEAN;VC_EXTRALEAN;GLEW_BUILD;%(PreprocessorDefinitions)
+ EnableFastChecks
+ Level3
+ $(INCLUDE_DIR)
+ false
+
+
+ true
+ _DEBUG;%(PreprocessorDefinitions)
+ true
+ Win32
+
+
+ 0x0409
+ _DEBUG;%(PreprocessorDefinitions)
+
+
+ true
+
+
+ true
+ true
+ true
+ Console
+ $(OutDir)$(TargetName)$(TargetExt)
+ $(LIB_DIR)\$(Configuration)\$(PlatformName)\$(TargetName).lib
+ 0x62AA0000
+ opengl32.lib;%(AdditionalDependencies)
+
+
+
+
+
+
+ MultiThreadedDebugDLL
+ Default
+ false
+ Disabled
+ true
+ WIN32;WIN32_LEAN_AND_MEAN;GLEW_BUILD;%(PreprocessorDefinitions)
+ EnableFastChecks
+ Level3
+ $(INCLUDE_DIR)
+ false
+
+
+ true
+ _DEBUG;%(PreprocessorDefinitions)
+ true
+
+
+ 0x0409
+ _DEBUG;%(PreprocessorDefinitions)
+
+
+ true
+
+
+ true
+ true
+ true
+ Console
+ $(OutDir)$(TargetName)$(TargetExt)
+ $(LIB_DIR)\$(Configuration)\$(PlatformName)\$(TargetName).lib
+ 0x62AA0000
+ opengl32.lib;%(AdditionalDependencies)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/extern/glew/build/vc10/glew_static.vcxproj b/extern/glew/build/vc10/glew_static.vcxproj
new file mode 100644
index 0000000000..e82b3d0222
--- /dev/null
+++ b/extern/glew/build/vc10/glew_static.vcxproj
@@ -0,0 +1,228 @@
+
+
+
+
+ Debug
+ Win32
+
+
+ Debug
+ x64
+
+
+ Release
+ Win32
+
+
+ Release
+ x64
+
+
+
+
+
+ {664E6F0D-6784-4760-9565-D54F8EB1EDF4}
+
+
+
+ Application
+
+
+ Application
+
+
+ StaticLibrary
+ false
+ MultiByte
+
+
+ StaticLibrary
+ false
+ MultiByte
+
+
+ StaticLibrary
+ false
+ MultiByte
+
+
+ StaticLibrary
+ false
+ MultiByte
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ $(LIB_DIR)\$(Configuration)\$(PlatformName)\
+ tmp\$(TargetName)\$(Configuration)\$(PlatformName)\
+ glew32s
+
+
+ $(LIB_DIR)\$(Configuration)\$(PlatformName)\
+ tmp\$(TargetName)\$(Configuration)\$(PlatformName)\
+ glew32s
+
+
+ $(LIB_DIR)\$(Configuration)\$(PlatformName)\
+ tmp\$(TargetName)\$(Configuration)\$(PlatformName)\
+ glew32sd
+
+
+ $(LIB_DIR)\$(Configuration)\$(PlatformName)\
+ tmp\$(TargetName)\$(Configuration)\$(PlatformName)\
+ glew32sd
+
+
+ $(LIB_DIR)\$(Configuration)\$(PlatformName)\
+ tmp\$(TargetName)\$(Configuration)\$(PlatformName)\
+
+
+ $(LIB_DIR)\$(Configuration)\$(PlatformName)\
+ tmp\$(TargetName)\$(Configuration)\$(PlatformName)\
+
+
+
+ MultiThreaded
+ OnlyExplicitInline
+ true
+ true
+ MaxSpeed
+ true
+ Level3
+ ../../include;%(AdditionalIncludeDirectories)
+ WIN32;NDEBUG;_LIB;WIN32_LEAN_AND_MEAN;GLEW_STATIC;%(PreprocessorDefinitions)
+ false
+
+
+ 0x0409
+ NDEBUG;GLEW_STATIC;%(PreprocessorDefinitions)
+
+
+ true
+
+
+ true
+ $(OutDir)$(TargetName)$(TargetExt)
+ MachineX86
+
+
+
+
+ MultiThreaded
+ OnlyExplicitInline
+ true
+ true
+ MaxSpeed
+ true
+ Level3
+ ../../include;%(AdditionalIncludeDirectories)
+ WIN32;NDEBUG;_LIB;WIN32_LEAN_AND_MEAN;GLEW_STATIC;%(PreprocessorDefinitions)
+ false
+
+
+ 0x0409
+ NDEBUG;GLEW_STATIC;%(PreprocessorDefinitions)
+
+
+ true
+
+
+ true
+ $(OutDir)$(TargetName)$(TargetExt)
+ MachineX64
+
+
+
+
+ MultiThreadedDebugDLL
+ Default
+ false
+ Disabled
+ true
+ Level3
+ WIN32;_DEBUG;_LIB;WIN32_LEAN_AND_MEAN;GLEW_STATIC;%(PreprocessorDefinitions)
+ EnableFastChecks
+ false
+
+
+ 0x0409
+ _DEBUG;GLEW_STATIC;%(PreprocessorDefinitions)
+
+
+ true
+
+
+ true
+ $(OutDir)$(TargetName)$(TargetExt)
+ MachineX86
+
+
+
+
+ MultiThreadedDebugDLL
+ Default
+ false
+ Disabled
+ true
+ Level3
+ WIN32;_DEBUG;_LIB;WIN32_LEAN_AND_MEAN;GLEW_STATIC;%(PreprocessorDefinitions)
+ EnableFastChecks
+ false
+
+
+ 0x0409
+ _DEBUG;GLEW_STATIC;%(PreprocessorDefinitions)
+
+
+ true
+
+
+ true
+ $(OutDir)$(TargetName)$(TargetExt)
+ MachineX64
+
+
+
+
+ ../../include;%(AdditionalIncludeDirectories)
+
+
+
+
+ ../../include;%(AdditionalIncludeDirectories)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/extern/glew/build/vc10/glewinfo.vcxproj b/extern/glew/build/vc10/glewinfo.vcxproj
new file mode 100644
index 0000000000..9657439bef
--- /dev/null
+++ b/extern/glew/build/vc10/glewinfo.vcxproj
@@ -0,0 +1,252 @@
+
+
+
+
+ Debug
+ Win32
+
+
+ Debug
+ x64
+
+
+ Release
+ Win32
+
+
+ Release
+ x64
+
+
+
+
+
+ {8EFB5DCB-C0C4-1670-5938-A0E0F1A1C5EA}
+
+
+
+ Application
+
+
+ Application
+
+
+ Application
+ false
+
+
+ Application
+ false
+
+
+ Application
+ false
+
+
+ Application
+ false
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ $(BIN_DIR)\$(Configuration)\$(PlatformName)\
+ tmp\$(TargetName)\$(Configuration)\$(PlatformName)\
+ false
+ glewinfod
+
+
+ $(BIN_DIR)\$(Configuration)\$(PlatformName)\
+ tmp\$(TargetName)\$(Configuration)\$(PlatformName)\
+ false
+ glewinfod
+
+
+ $(BIN_DIR)\$(Configuration)\$(PlatformName)\
+ tmp\$(TargetName)\$(Configuration)\$(PlatformName)\
+ false
+ glewinfo
+
+
+ $(BIN_DIR)\$(Configuration)\$(PlatformName)\
+ tmp\$(TargetName)\$(Configuration)\$(PlatformName)\
+ false
+ glewinfo
+
+
+ $(BIN_DIR)\$(Configuration)\$(PlatformName)\
+ glewinfo
+ tmp\$(TargetName)\$(Configuration)\$(PlatformName)\
+
+
+ $(BIN_DIR)\$(Configuration)\$(PlatformName)\
+ glewinfo
+ tmp\$(TargetName)\$(Configuration)\$(PlatformName)\
+
+
+
+ MultiThreadedDebugDLL
+ Default
+ false
+ Disabled
+ true
+ Level3
+ WIN32;WIN32_LEAN_AND_MEAN;VC_EXTRA_LEAN;GLEW_STATIC;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)
+ EnableFastChecks
+
+
+ .\..\..\bin\glewinfo.tlb
+
+
+ 0x0409
+ _DEBUG;%(PreprocessorDefinitions)
+
+
+ true
+
+
+ true
+ true
+ Console
+ $(OutDir)$(TargetName)$(TargetExt)
+ glew32sd.lib;opengl32.lib;%(AdditionalDependencies)
+ $(LIB_DIR)\$(Configuration)\$(PlatformName)\
+
+
+
+
+ MultiThreadedDebugDLL
+ Default
+ false
+ Disabled
+ true
+ Level3
+ WIN32;WIN32_LEAN_AND_MEAN;VC_EXTRA_LEAN;GLEW_STATIC;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)
+ EnableFastChecks
+
+
+ .\..\..\bin\glewinfo.tlb
+
+
+ 0x0409
+ _DEBUG;%(PreprocessorDefinitions)
+
+
+ true
+
+
+ true
+ true
+ Console
+ $(OutDir)$(TargetName)$(TargetExt)
+ glew32sd.lib;opengl32.lib;%(AdditionalDependencies)
+ $(LIB_DIR)\$(Configuration)\$(PlatformName)\
+
+
+
+
+ MultiThreaded
+ OnlyExplicitInline
+ true
+ true
+ MaxSpeed
+ true
+ Level3
+ WIN32;WIN32_LEAN_AND_MEAN;GLEW_STATIC;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)
+
+
+ .\..\..\bin\glewinfo.tlb
+
+
+ 0x0409
+ NDEBUG;%(PreprocessorDefinitions)
+
+
+ true
+
+
+ true
+ Console
+ $(OutDir)$(TargetName)$(TargetExt)
+ glew32s.lib;opengl32.lib;%(AdditionalDependencies)
+ $(LIB_DIR)\$(Configuration)\$(PlatformName)\
+
+
+
+
+ MultiThreaded
+ OnlyExplicitInline
+ true
+ true
+ MaxSpeed
+ true
+ Level3
+ WIN32;WIN32_LEAN_AND_MEAN;GLEW_STATIC;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)
+
+
+ .\..\..\bin\glewinfo.tlb
+
+
+ 0x0409
+ NDEBUG;%(PreprocessorDefinitions)
+
+
+ true
+
+
+ true
+ Console
+ $(OutDir)$(TargetName)$(TargetExt)
+ glew32s.lib;opengl32.lib;%(AdditionalDependencies)
+ $(LIB_DIR)\$(Configuration)\$(PlatformName)\
+
+
+
+
+ $(OutDir)$(TargetName)$(TargetExt)
+ $(LIB_DIR)\$(Configuration)\$(PlatformName)\
+
+
+
+
+
+
+
+ $(OutDir)$(TargetName)$(TargetExt)
+ $(LIB_DIR)\$(Configuration)\$(PlatformName)\
+
+
+
+
+
+
+
+
+
+
+ {664e6f0d-6784-4760-9565-d54f8eb1edf4}
+
+
+
+
+
+
diff --git a/extern/glew/build/vc10/visualinfo.vcxproj b/extern/glew/build/vc10/visualinfo.vcxproj
new file mode 100644
index 0000000000..1228dddd78
--- /dev/null
+++ b/extern/glew/build/vc10/visualinfo.vcxproj
@@ -0,0 +1,251 @@
+
+
+
+
+ Debug
+ Win32
+
+
+ Debug
+ x64
+
+
+ Release
+ Win32
+
+
+ Release
+ x64
+
+
+
+
+
+ {79AA8443-86F4-649A-0BEB-0CB5E51B7D7E}
+
+
+
+ Application
+
+
+ Application
+
+
+ Application
+ false
+
+
+ Application
+ false
+
+
+ Application
+ false
+
+
+ Application
+ false
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ $(BIN_DIR)\$(Configuration)\$(PlatformName)\
+ tmp\$(TargetName)\$(Configuration)\$(PlatformName)\
+ false
+ visualinfod
+
+
+ $(BIN_DIR)\$(Configuration)\$(PlatformName)\
+ tmp\$(TargetName)\$(Configuration)\$(PlatformName)\
+ false
+ visualinfod
+
+
+ $(BIN_DIR)\$(Configuration)\$(PlatformName)\
+ tmp\$(TargetName)\$(Configuration)\$(PlatformName)\
+ false
+ visualinfo
+
+
+ $(BIN_DIR)\$(Configuration)\$(PlatformName)\
+ tmp\$(TargetName)\$(Configuration)\$(PlatformName)\
+ false
+ visualinfo
+
+
+ $(BIN_DIR)\$(Configuration)\$(PlatformName)\
+ visualinfo
+ tmp\$(TargetName)\$(Configuration)\$(PlatformName)\
+
+
+ ..\..\bin/
+ visualinfo
+
+
+
+ MultiThreadedDebugDLL
+ Default
+ false
+ Disabled
+ true
+ Level3
+ WIN32;WIN32_LEAN_AND_MEAN;VC_EXTRA_LEAN;GLEW_STATIC;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)
+ EnableFastChecks
+
+
+ .\..\..\bin\visualinfo.tlb
+
+
+ 0x0409
+ _DEBUG;%(PreprocessorDefinitions)
+
+
+ true
+
+
+ true
+ true
+ Console
+ $(OutDir)$(TargetName)$(TargetExt)
+ glew32sd.lib;glu32.lib;opengl32.lib;%(AdditionalDependencies)
+ $(LIB_DIR)\$(Configuration)\$(PlatformName)\
+
+
+
+
+ MultiThreadedDebugDLL
+ Default
+ false
+ Disabled
+ true
+ Level3
+ WIN32;WIN32_LEAN_AND_MEAN;VC_EXTRA_LEAN;GLEW_STATIC;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)
+ EnableFastChecks
+
+
+ .\..\..\bin\visualinfo.tlb
+
+
+ 0x0409
+ _DEBUG;%(PreprocessorDefinitions)
+
+
+ true
+
+
+ true
+ true
+ Console
+ $(OutDir)$(TargetName)$(TargetExt)
+ glew32sd.lib;glu32.lib;opengl32.lib;%(AdditionalDependencies)
+ $(LIB_DIR)\$(Configuration)\$(PlatformName)\
+
+
+
+
+ MultiThreaded
+ OnlyExplicitInline
+ true
+ true
+ MaxSpeed
+ true
+ Level3
+ WIN32;WIN32_LEAN_AND_MEAN;GLEW_STATIC;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)
+
+
+ .\..\..\bin\visualinfo.tlb
+
+
+ 0x0409
+ NDEBUG;%(PreprocessorDefinitions)
+
+
+ true
+
+
+ true
+ Console
+ $(OutDir)$(TargetName)$(TargetExt)
+ glew32s.lib;glu32.lib;opengl32.lib;%(AdditionalDependencies)
+ $(LIB_DIR)\$(Configuration)\$(PlatformName)\
+
+
+
+
+ MultiThreaded
+ OnlyExplicitInline
+ true
+ true
+ MaxSpeed
+ true
+ Level3
+ WIN32;WIN32_LEAN_AND_MEAN;GLEW_STATIC;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)
+
+
+ .\..\..\bin\visualinfo.tlb
+
+
+ 0x0409
+ NDEBUG;%(PreprocessorDefinitions)
+
+
+ true
+
+
+ true
+ Console
+ $(OutDir)$(TargetName)$(TargetExt)
+ glew32s.lib;glu32.lib;opengl32.lib;%(AdditionalDependencies)
+ $(LIB_DIR)\$(Configuration)\$(PlatformName)\
+
+
+
+
+
+
+ $(OutDir)$(TargetName)$(TargetExt)
+ $(LIB_DIR)\$(Configuration)\$(PlatformName)\
+ glew32sd.lib;glu32.lib;opengl32.lib;%(AdditionalDependencies)
+
+
+
+
+
+
+ $(OutDir)$(TargetName)$(TargetExt)
+ glew32sd.lib;glu32.lib;opengl32.lib;%(AdditionalDependencies)
+ $(LIB_DIR)\$(Configuration)\$(PlatformName)\
+
+
+
+
+
+
+
+ {664e6f0d-6784-4760-9565-d54f8eb1edf4}
+
+
+
+
+
+
diff --git a/extern/glew/build/vc12/common.props b/extern/glew/build/vc12/common.props
new file mode 100644
index 0000000000..2f42975f38
--- /dev/null
+++ b/extern/glew/build/vc12/common.props
@@ -0,0 +1,29 @@
+
+
+
+
+ ..\..\include
+ ..\..\lib
+ ..\..\bin
+
+
+
+
+ $(INCLUDE_DIR)
+
+
+
+
+ $(INCLUDE_DIR)
+ true
+
+
+ $(LIB_DIR)
+ true
+
+
+ $(BIN_DIR)
+ true
+
+
+
\ No newline at end of file
diff --git a/extern/glew/build/vc12/glew.sln b/extern/glew/build/vc12/glew.sln
new file mode 100644
index 0000000000..a27448f4b6
--- /dev/null
+++ b/extern/glew/build/vc12/glew.sln
@@ -0,0 +1,56 @@
+
+Microsoft Visual Studio Solution File, Format Version 11.00
+# Visual Studio 2010
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "glew_shared", "glew_shared.vcxproj", "{55AE3D72-7DE6-F19F-AEF2-9AE8CA26CF3D}"
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "glew_static", "glew_static.vcxproj", "{664E6F0D-6784-4760-9565-D54F8EB1EDF4}"
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "glewinfo", "glewinfo.vcxproj", "{8EFB5DCB-C0C4-1670-5938-A0E0F1A1C5EA}"
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "visualinfo", "visualinfo.vcxproj", "{79AA8443-86F4-649A-0BEB-0CB5E51B7D7E}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Win32 = Debug|Win32
+ Debug|x64 = Debug|x64
+ Release|Win32 = Release|Win32
+ Release|x64 = Release|x64
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {55AE3D72-7DE6-F19F-AEF2-9AE8CA26CF3D}.Debug|Win32.ActiveCfg = Debug|Win32
+ {55AE3D72-7DE6-F19F-AEF2-9AE8CA26CF3D}.Debug|Win32.Build.0 = Debug|Win32
+ {55AE3D72-7DE6-F19F-AEF2-9AE8CA26CF3D}.Debug|x64.ActiveCfg = Debug|x64
+ {55AE3D72-7DE6-F19F-AEF2-9AE8CA26CF3D}.Debug|x64.Build.0 = Debug|x64
+ {55AE3D72-7DE6-F19F-AEF2-9AE8CA26CF3D}.Release|Win32.ActiveCfg = Release|Win32
+ {55AE3D72-7DE6-F19F-AEF2-9AE8CA26CF3D}.Release|Win32.Build.0 = Release|Win32
+ {55AE3D72-7DE6-F19F-AEF2-9AE8CA26CF3D}.Release|x64.ActiveCfg = Release|x64
+ {55AE3D72-7DE6-F19F-AEF2-9AE8CA26CF3D}.Release|x64.Build.0 = Release|x64
+ {664E6F0D-6784-4760-9565-D54F8EB1EDF4}.Debug|Win32.ActiveCfg = Debug|Win32
+ {664E6F0D-6784-4760-9565-D54F8EB1EDF4}.Debug|Win32.Build.0 = Debug|Win32
+ {664E6F0D-6784-4760-9565-D54F8EB1EDF4}.Debug|x64.ActiveCfg = Debug|x64
+ {664E6F0D-6784-4760-9565-D54F8EB1EDF4}.Debug|x64.Build.0 = Debug|x64
+ {664E6F0D-6784-4760-9565-D54F8EB1EDF4}.Release|Win32.ActiveCfg = Release|Win32
+ {664E6F0D-6784-4760-9565-D54F8EB1EDF4}.Release|Win32.Build.0 = Release|Win32
+ {664E6F0D-6784-4760-9565-D54F8EB1EDF4}.Release|x64.ActiveCfg = Release|x64
+ {664E6F0D-6784-4760-9565-D54F8EB1EDF4}.Release|x64.Build.0 = Release|x64
+ {8EFB5DCB-C0C4-1670-5938-A0E0F1A1C5EA}.Debug|Win32.ActiveCfg = Debug|Win32
+ {8EFB5DCB-C0C4-1670-5938-A0E0F1A1C5EA}.Debug|Win32.Build.0 = Debug|Win32
+ {8EFB5DCB-C0C4-1670-5938-A0E0F1A1C5EA}.Debug|x64.ActiveCfg = Debug|x64
+ {8EFB5DCB-C0C4-1670-5938-A0E0F1A1C5EA}.Debug|x64.Build.0 = Debug|x64
+ {8EFB5DCB-C0C4-1670-5938-A0E0F1A1C5EA}.Release|Win32.ActiveCfg = Release|Win32
+ {8EFB5DCB-C0C4-1670-5938-A0E0F1A1C5EA}.Release|Win32.Build.0 = Release|Win32
+ {8EFB5DCB-C0C4-1670-5938-A0E0F1A1C5EA}.Release|x64.ActiveCfg = Release|x64
+ {8EFB5DCB-C0C4-1670-5938-A0E0F1A1C5EA}.Release|x64.Build.0 = Release|x64
+ {79AA8443-86F4-649A-0BEB-0CB5E51B7D7E}.Debug|Win32.ActiveCfg = Debug|Win32
+ {79AA8443-86F4-649A-0BEB-0CB5E51B7D7E}.Debug|Win32.Build.0 = Debug|Win32
+ {79AA8443-86F4-649A-0BEB-0CB5E51B7D7E}.Debug|x64.ActiveCfg = Debug|x64
+ {79AA8443-86F4-649A-0BEB-0CB5E51B7D7E}.Debug|x64.Build.0 = Debug|x64
+ {79AA8443-86F4-649A-0BEB-0CB5E51B7D7E}.Release|Win32.ActiveCfg = Release|Win32
+ {79AA8443-86F4-649A-0BEB-0CB5E51B7D7E}.Release|Win32.Build.0 = Release|Win32
+ {79AA8443-86F4-649A-0BEB-0CB5E51B7D7E}.Release|x64.ActiveCfg = Release|x64
+ {79AA8443-86F4-649A-0BEB-0CB5E51B7D7E}.Release|x64.Build.0 = Release|x64
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+EndGlobal
diff --git a/extern/glew/build/vc12/glew_shared.vcxproj b/extern/glew/build/vc12/glew_shared.vcxproj
new file mode 100644
index 0000000000..24a210fc13
--- /dev/null
+++ b/extern/glew/build/vc12/glew_shared.vcxproj
@@ -0,0 +1,258 @@
+
+
+
+
+ Debug
+ Win32
+
+
+ Debug
+ x64
+
+
+ Release
+ Win32
+
+
+ Release
+ x64
+
+
+
+
+
+ {55AE3D72-7DE6-F19F-AEF2-9AE8CA26CF3D}
+
+
+
+ DynamicLibrary
+ false
+ v120
+
+
+ DynamicLibrary
+ false
+ v120
+
+
+ DynamicLibrary
+ false
+ v120
+
+
+ DynamicLibrary
+ false
+ v120
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ $(BIN_DIR)\$(Configuration)\$(PlatformName)\
+ tmp\$(TargetName)\$(Configuration)\$(PlatformName)\
+ false
+ glew32
+
+
+ $(BIN_DIR)\$(Configuration)\$(PlatformName)\
+ tmp\$(TargetName)\$(Configuration)\$(PlatformName)\
+ false
+ glew32
+
+
+ $(BIN_DIR)\$(Configuration)\$(PlatformName)\
+ tmp\$(TargetName)\$(Configuration)\$(PlatformName)\
+ false
+ glew32d
+
+
+ $(BIN_DIR)\$(Configuration)\$(PlatformName)\
+ tmp\$(TargetName)\$(Configuration)\$(PlatformName)\
+ false
+ glew32d
+
+
+
+ MultiThreaded
+ OnlyExplicitInline
+ true
+ true
+ MaxSpeed
+ true
+ Level3
+ $(INCLUDE_DIR)
+ WIN32;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;GLEW_BUILD;%(PreprocessorDefinitions)
+ false
+
+
+ true
+ NDEBUG;%(PreprocessorDefinitions)
+ true
+ Win32
+
+
+ 0x0409
+ NDEBUG;%(PreprocessorDefinitions)
+
+
+ true
+
+
+ true
+ true
+ Console
+ $(OutDir)$(TargetName)$(TargetExt)
+ $(LIB_DIR)\$(Configuration)\$(PlatformName)\$(TargetName).lib
+ 0x62AA0000
+ opengl32.lib;%(AdditionalDependencies)
+ /ignore:4089
+
+
+ true
+ true
+
+
+
+
+ MultiThreaded
+ OnlyExplicitInline
+ true
+ true
+ MaxSpeed
+ true
+ Level3
+ $(INCLUDE_DIR)
+ WIN32;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;GLEW_BUILD;%(PreprocessorDefinitions)
+ false
+
+
+ true
+ NDEBUG;%(PreprocessorDefinitions)
+ true
+
+
+ 0x0409
+ NDEBUG;%(PreprocessorDefinitions)
+
+
+ true
+
+
+ true
+ true
+ Console
+ $(OutDir)$(TargetName)$(TargetExt)
+ $(LIB_DIR)\$(Configuration)\$(PlatformName)\$(TargetName).lib
+ 0x62AA0000
+ opengl32.lib;%(AdditionalDependencies)
+ /ignore:4089
+
+
+ true
+ true
+
+
+
+
+ MultiThreadedDebugDLL
+ Default
+ false
+ Disabled
+ true
+ WIN32;WIN32_MEAN_AND_LEAN;VC_EXTRALEAN;GLEW_BUILD;%(PreprocessorDefinitions)
+ EnableFastChecks
+ Level3
+ $(INCLUDE_DIR)
+ false
+
+
+ true
+ _DEBUG;%(PreprocessorDefinitions)
+ true
+ Win32
+
+
+ 0x0409
+ _DEBUG;%(PreprocessorDefinitions)
+
+
+ true
+
+
+ true
+ true
+ true
+ Console
+ $(OutDir)$(TargetName)$(TargetExt)
+ $(LIB_DIR)\$(Configuration)\$(PlatformName)\$(TargetName).lib
+ 0x62AA0000
+ opengl32.lib;%(AdditionalDependencies)
+
+
+
+
+
+
+ MultiThreadedDebugDLL
+ Default
+ false
+ Disabled
+ true
+ WIN32;WIN32_LEAN_AND_MEAN;GLEW_BUILD;%(PreprocessorDefinitions)
+ EnableFastChecks
+ Level3
+ $(INCLUDE_DIR)
+ false
+
+
+ true
+ _DEBUG;%(PreprocessorDefinitions)
+ true
+
+
+ 0x0409
+ _DEBUG;%(PreprocessorDefinitions)
+
+
+ true
+
+
+ true
+ true
+ true
+ Console
+ $(OutDir)$(TargetName)$(TargetExt)
+ $(LIB_DIR)\$(Configuration)\$(PlatformName)\$(TargetName).lib
+ 0x62AA0000
+ opengl32.lib;%(AdditionalDependencies)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/extern/glew/build/vc12/glew_static.vcxproj b/extern/glew/build/vc12/glew_static.vcxproj
new file mode 100644
index 0000000000..4c3b7681cf
--- /dev/null
+++ b/extern/glew/build/vc12/glew_static.vcxproj
@@ -0,0 +1,232 @@
+
+
+
+
+ Debug
+ Win32
+
+
+ Debug
+ x64
+
+
+ Release
+ Win32
+
+
+ Release
+ x64
+
+
+
+
+
+ {664E6F0D-6784-4760-9565-D54F8EB1EDF4}
+
+
+
+ Application
+
+
+ Application
+
+
+ StaticLibrary
+ false
+ MultiByte
+ v120
+
+
+ StaticLibrary
+ false
+ MultiByte
+ v120
+
+
+ StaticLibrary
+ false
+ MultiByte
+ v120
+
+
+ StaticLibrary
+ false
+ MultiByte
+ v120
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ $(LIB_DIR)\$(Configuration)\$(PlatformName)\
+ tmp\$(TargetName)\$(Configuration)\$(PlatformName)\
+ glew32s
+
+
+ $(LIB_DIR)\$(Configuration)\$(PlatformName)\
+ tmp\$(TargetName)\$(Configuration)\$(PlatformName)\
+ glew32s
+
+
+ $(LIB_DIR)\$(Configuration)\$(PlatformName)\
+ tmp\$(TargetName)\$(Configuration)\$(PlatformName)\
+ glew32sd
+
+
+ $(LIB_DIR)\$(Configuration)\$(PlatformName)\
+ tmp\$(TargetName)\$(Configuration)\$(PlatformName)\
+ glew32sd
+
+
+ $(LIB_DIR)\$(Configuration)\$(PlatformName)\
+ tmp\$(TargetName)\$(Configuration)\$(PlatformName)\
+
+
+ $(LIB_DIR)\$(Configuration)\$(PlatformName)\
+ tmp\$(TargetName)\$(Configuration)\$(PlatformName)\
+
+
+
+ MultiThreaded
+ OnlyExplicitInline
+ true
+ true
+ MaxSpeed
+ true
+ Level3
+ ../../include;%(AdditionalIncludeDirectories)
+ WIN32;NDEBUG;_LIB;WIN32_LEAN_AND_MEAN;GLEW_STATIC;%(PreprocessorDefinitions)
+ false
+
+
+ 0x0409
+ NDEBUG;GLEW_STATIC;%(PreprocessorDefinitions)
+
+
+ true
+
+
+ true
+ $(OutDir)$(TargetName)$(TargetExt)
+ MachineX86
+
+
+
+
+ MultiThreaded
+ OnlyExplicitInline
+ true
+ true
+ MaxSpeed
+ true
+ Level3
+ ../../include;%(AdditionalIncludeDirectories)
+ WIN32;NDEBUG;_LIB;WIN32_LEAN_AND_MEAN;GLEW_STATIC;%(PreprocessorDefinitions)
+ false
+
+
+ 0x0409
+ NDEBUG;GLEW_STATIC;%(PreprocessorDefinitions)
+
+
+ true
+
+
+ true
+ $(OutDir)$(TargetName)$(TargetExt)
+ MachineX64
+
+
+
+
+ MultiThreadedDebugDLL
+ Default
+ false
+ Disabled
+ true
+ Level3
+ WIN32;_DEBUG;_LIB;WIN32_LEAN_AND_MEAN;GLEW_STATIC;%(PreprocessorDefinitions)
+ EnableFastChecks
+ false
+
+
+ 0x0409
+ _DEBUG;GLEW_STATIC;%(PreprocessorDefinitions)
+
+
+ true
+
+
+ true
+ $(OutDir)$(TargetName)$(TargetExt)
+ MachineX86
+
+
+
+
+ MultiThreadedDebugDLL
+ Default
+ false
+ Disabled
+ true
+ Level3
+ WIN32;_DEBUG;_LIB;WIN32_LEAN_AND_MEAN;GLEW_STATIC;%(PreprocessorDefinitions)
+ EnableFastChecks
+ false
+
+
+ 0x0409
+ _DEBUG;GLEW_STATIC;%(PreprocessorDefinitions)
+
+
+ true
+
+
+ true
+ $(OutDir)$(TargetName)$(TargetExt)
+ MachineX64
+
+
+
+
+ ../../include;%(AdditionalIncludeDirectories)
+
+
+
+
+ ../../include;%(AdditionalIncludeDirectories)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/extern/glew/build/vc12/glewinfo.vcxproj b/extern/glew/build/vc12/glewinfo.vcxproj
new file mode 100644
index 0000000000..6da1b6b8f9
--- /dev/null
+++ b/extern/glew/build/vc12/glewinfo.vcxproj
@@ -0,0 +1,259 @@
+
+
+
+
+ Debug
+ Win32
+
+
+ Debug
+ x64
+
+
+ Release
+ Win32
+
+
+ Release
+ x64
+
+
+
+
+
+ {8EFB5DCB-C0C4-1670-5938-A0E0F1A1C5EA}
+
+
+
+ Application
+
+
+ Application
+
+
+ Application
+ false
+ v120
+
+
+ Application
+ false
+ v120
+
+
+ Application
+ false
+ v120
+
+
+ Application
+ false
+ v120
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ $(BIN_DIR)\$(Configuration)\$(PlatformName)\
+ tmp\$(TargetName)\$(Configuration)\$(PlatformName)\
+ false
+ glewinfod
+
+
+ $(BIN_DIR)\$(Configuration)\$(PlatformName)\
+ tmp\$(TargetName)\$(Configuration)\$(PlatformName)\
+ false
+ glewinfod
+
+
+ $(BIN_DIR)\$(Configuration)\$(PlatformName)\
+ tmp\$(TargetName)\$(Configuration)\$(PlatformName)\
+ false
+ glewinfo
+
+
+ $(BIN_DIR)\$(Configuration)\$(PlatformName)\
+ tmp\$(TargetName)\$(Configuration)\$(PlatformName)\
+ false
+ glewinfo
+
+
+ $(BIN_DIR)\$(Configuration)\$(PlatformName)\
+ glewinfo
+ tmp\$(TargetName)\$(Configuration)\$(PlatformName)\
+
+
+ $(BIN_DIR)\$(Configuration)\$(PlatformName)\
+ glewinfo
+ tmp\$(TargetName)\$(Configuration)\$(PlatformName)\
+
+
+
+ MultiThreadedDebugDLL
+ Default
+ false
+ Disabled
+ true
+ Level3
+ WIN32;WIN32_LEAN_AND_MEAN;VC_EXTRA_LEAN;GLEW_STATIC;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)
+ EnableFastChecks
+
+
+ .\..\..\bin\glewinfo.tlb
+
+
+ 0x0409
+ _DEBUG;%(PreprocessorDefinitions)
+
+
+ true
+
+
+ true
+ true
+ Console
+ $(OutDir)$(TargetName)$(TargetExt)
+ glew32sd.lib;opengl32.lib;%(AdditionalDependencies)
+ $(LIB_DIR)\$(Configuration)\$(PlatformName)\
+
+
+
+
+ MultiThreadedDebugDLL
+ Default
+ false
+ Disabled
+ true
+ Level3
+ WIN32;WIN32_LEAN_AND_MEAN;VC_EXTRA_LEAN;GLEW_STATIC;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)
+ EnableFastChecks
+
+
+ .\..\..\bin\glewinfo.tlb
+
+
+ 0x0409
+ _DEBUG;%(PreprocessorDefinitions)
+
+
+ true
+
+
+ true
+ true
+ Console
+ $(OutDir)$(TargetName)$(TargetExt)
+ glew32sd.lib;opengl32.lib;%(AdditionalDependencies)
+ $(LIB_DIR)\$(Configuration)\$(PlatformName)\
+
+
+
+
+ MultiThreaded
+ OnlyExplicitInline
+ true
+ true
+ MaxSpeed
+ true
+ Level3
+ WIN32;WIN32_LEAN_AND_MEAN;GLEW_STATIC;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)
+
+
+ .\..\..\bin\glewinfo.tlb
+
+
+ 0x0409
+ NDEBUG;%(PreprocessorDefinitions)
+
+
+ true
+
+
+ true
+ Console
+ $(OutDir)$(TargetName)$(TargetExt)
+ glew32s.lib;opengl32.lib;%(AdditionalDependencies)
+ $(LIB_DIR)\$(Configuration)\$(PlatformName)\
+
+
+
+
+ MultiThreaded
+ OnlyExplicitInline
+ true
+ true
+ MaxSpeed
+ true
+ Level3
+ WIN32;WIN32_LEAN_AND_MEAN;GLEW_STATIC;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)
+
+
+ .\..\..\bin\glewinfo.tlb
+
+
+ 0x0409
+ NDEBUG;%(PreprocessorDefinitions)
+
+
+ true
+
+
+ true
+ Console
+ $(OutDir)$(TargetName)$(TargetExt)
+ glew32s.lib;opengl32.lib;%(AdditionalDependencies)
+ $(LIB_DIR)\$(Configuration)\$(PlatformName)\
+
+
+
+
+ $(OutDir)$(TargetName)$(TargetExt)
+ $(LIB_DIR)\$(Configuration)\$(PlatformName)\
+
+
+
+
+
+
+
+ $(OutDir)$(TargetName)$(TargetExt)
+ $(LIB_DIR)\$(Configuration)\$(PlatformName)\
+
+
+
+
+
+
+
+
+
+
+ {664e6f0d-6784-4760-9565-d54f8eb1edf4}
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/extern/glew/build/vc12/visualinfo.vcxproj b/extern/glew/build/vc12/visualinfo.vcxproj
new file mode 100644
index 0000000000..47e607d169
--- /dev/null
+++ b/extern/glew/build/vc12/visualinfo.vcxproj
@@ -0,0 +1,258 @@
+
+
+
+
+ Debug
+ Win32
+
+
+ Debug
+ x64
+
+
+ Release
+ Win32
+
+
+ Release
+ x64
+
+
+
+
+
+ {79AA8443-86F4-649A-0BEB-0CB5E51B7D7E}
+
+
+
+ Application
+
+
+ Application
+
+
+ Application
+ false
+ v120
+
+
+ Application
+ false
+ v120
+
+
+ Application
+ false
+ v120
+
+
+ Application
+ false
+ v120
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ $(BIN_DIR)\$(Configuration)\$(PlatformName)\
+ tmp\$(TargetName)\$(Configuration)\$(PlatformName)\
+ false
+ visualinfod
+
+
+ $(BIN_DIR)\$(Configuration)\$(PlatformName)\
+ tmp\$(TargetName)\$(Configuration)\$(PlatformName)\
+ false
+ visualinfod
+
+
+ $(BIN_DIR)\$(Configuration)\$(PlatformName)\
+ tmp\$(TargetName)\$(Configuration)\$(PlatformName)\
+ false
+ visualinfo
+
+
+ $(BIN_DIR)\$(Configuration)\$(PlatformName)\
+ tmp\$(TargetName)\$(Configuration)\$(PlatformName)\
+ false
+ visualinfo
+
+
+ $(BIN_DIR)\$(Configuration)\$(PlatformName)\
+ visualinfo
+ tmp\$(TargetName)\$(Configuration)\$(PlatformName)\
+
+
+ ..\..\bin/
+ visualinfo
+
+
+
+ MultiThreadedDebugDLL
+ Default
+ false
+ Disabled
+ true
+ Level3
+ WIN32;WIN32_LEAN_AND_MEAN;VC_EXTRA_LEAN;GLEW_STATIC;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)
+ EnableFastChecks
+
+
+ .\..\..\bin\visualinfo.tlb
+
+
+ 0x0409
+ _DEBUG;%(PreprocessorDefinitions)
+
+
+ true
+
+
+ true
+ true
+ Console
+ $(OutDir)$(TargetName)$(TargetExt)
+ glew32sd.lib;glu32.lib;opengl32.lib;%(AdditionalDependencies)
+ $(LIB_DIR)\$(Configuration)\$(PlatformName)\
+
+
+
+
+ MultiThreadedDebugDLL
+ Default
+ false
+ Disabled
+ true
+ Level3
+ WIN32;WIN32_LEAN_AND_MEAN;VC_EXTRA_LEAN;GLEW_STATIC;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)
+ EnableFastChecks
+
+
+ .\..\..\bin\visualinfo.tlb
+
+
+ 0x0409
+ _DEBUG;%(PreprocessorDefinitions)
+
+
+ true
+
+
+ true
+ true
+ Console
+ $(OutDir)$(TargetName)$(TargetExt)
+ glew32sd.lib;glu32.lib;opengl32.lib;%(AdditionalDependencies)
+ $(LIB_DIR)\$(Configuration)\$(PlatformName)\
+
+
+
+
+ MultiThreaded
+ OnlyExplicitInline
+ true
+ true
+ MaxSpeed
+ true
+ Level3
+ WIN32;WIN32_LEAN_AND_MEAN;GLEW_STATIC;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)
+
+
+ .\..\..\bin\visualinfo.tlb
+
+
+ 0x0409
+ NDEBUG;%(PreprocessorDefinitions)
+
+
+ true
+
+
+ true
+ Console
+ $(OutDir)$(TargetName)$(TargetExt)
+ glew32s.lib;glu32.lib;opengl32.lib;%(AdditionalDependencies)
+ $(LIB_DIR)\$(Configuration)\$(PlatformName)\
+
+
+
+
+ MultiThreaded
+ OnlyExplicitInline
+ true
+ true
+ MaxSpeed
+ true
+ Level3
+ WIN32;WIN32_LEAN_AND_MEAN;GLEW_STATIC;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)
+
+
+ .\..\..\bin\visualinfo.tlb
+
+
+ 0x0409
+ NDEBUG;%(PreprocessorDefinitions)
+
+
+ true
+
+
+ true
+ Console
+ $(OutDir)$(TargetName)$(TargetExt)
+ glew32s.lib;glu32.lib;opengl32.lib;%(AdditionalDependencies)
+ $(LIB_DIR)\$(Configuration)\$(PlatformName)\
+
+
+
+
+
+
+ $(OutDir)$(TargetName)$(TargetExt)
+ $(LIB_DIR)\$(Configuration)\$(PlatformName)\
+ glew32sd.lib;glu32.lib;opengl32.lib;%(AdditionalDependencies)
+
+
+
+
+
+
+ $(OutDir)$(TargetName)$(TargetExt)
+ glew32sd.lib;glu32.lib;opengl32.lib;%(AdditionalDependencies)
+ $(LIB_DIR)\$(Configuration)\$(PlatformName)\
+
+
+
+
+
+
+
+ {664e6f0d-6784-4760-9565-d54f8eb1edf4}
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/extern/glew/build/vc14/common.props b/extern/glew/build/vc14/common.props
new file mode 100644
index 0000000000..2f42975f38
--- /dev/null
+++ b/extern/glew/build/vc14/common.props
@@ -0,0 +1,29 @@
+
+
+
+
+ ..\..\include
+ ..\..\lib
+ ..\..\bin
+
+
+
+
+ $(INCLUDE_DIR)
+
+
+
+
+ $(INCLUDE_DIR)
+ true
+
+
+ $(LIB_DIR)
+ true
+
+
+ $(BIN_DIR)
+ true
+
+
+
\ No newline at end of file
diff --git a/extern/glew/build/vc14/glew.sln b/extern/glew/build/vc14/glew.sln
new file mode 100644
index 0000000000..473ce00b6a
--- /dev/null
+++ b/extern/glew/build/vc14/glew.sln
@@ -0,0 +1,56 @@
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio 14
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "glew_shared", "glew_shared.vcxproj", "{55AE3D72-7DE6-F19F-AEF2-9AE8CA26CF3D}"
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "glew_static", "glew_static.vcxproj", "{664E6F0D-6784-4760-9565-D54F8EB1EDF4}"
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "glewinfo", "glewinfo.vcxproj", "{8EFB5DCB-C0C4-1670-5938-A0E0F1A1C5EA}"
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "visualinfo", "visualinfo.vcxproj", "{79AA8443-86F4-649A-0BEB-0CB5E51B7D7E}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Win32 = Debug|Win32
+ Debug|x64 = Debug|x64
+ Release|Win32 = Release|Win32
+ Release|x64 = Release|x64
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {55AE3D72-7DE6-F19F-AEF2-9AE8CA26CF3D}.Debug|Win32.ActiveCfg = Debug|Win32
+ {55AE3D72-7DE6-F19F-AEF2-9AE8CA26CF3D}.Debug|Win32.Build.0 = Debug|Win32
+ {55AE3D72-7DE6-F19F-AEF2-9AE8CA26CF3D}.Debug|x64.ActiveCfg = Debug|x64
+ {55AE3D72-7DE6-F19F-AEF2-9AE8CA26CF3D}.Debug|x64.Build.0 = Debug|x64
+ {55AE3D72-7DE6-F19F-AEF2-9AE8CA26CF3D}.Release|Win32.ActiveCfg = Release|Win32
+ {55AE3D72-7DE6-F19F-AEF2-9AE8CA26CF3D}.Release|Win32.Build.0 = Release|Win32
+ {55AE3D72-7DE6-F19F-AEF2-9AE8CA26CF3D}.Release|x64.ActiveCfg = Release|x64
+ {55AE3D72-7DE6-F19F-AEF2-9AE8CA26CF3D}.Release|x64.Build.0 = Release|x64
+ {664E6F0D-6784-4760-9565-D54F8EB1EDF4}.Debug|Win32.ActiveCfg = Debug|Win32
+ {664E6F0D-6784-4760-9565-D54F8EB1EDF4}.Debug|Win32.Build.0 = Debug|Win32
+ {664E6F0D-6784-4760-9565-D54F8EB1EDF4}.Debug|x64.ActiveCfg = Debug|x64
+ {664E6F0D-6784-4760-9565-D54F8EB1EDF4}.Debug|x64.Build.0 = Debug|x64
+ {664E6F0D-6784-4760-9565-D54F8EB1EDF4}.Release|Win32.ActiveCfg = Release|Win32
+ {664E6F0D-6784-4760-9565-D54F8EB1EDF4}.Release|Win32.Build.0 = Release|Win32
+ {664E6F0D-6784-4760-9565-D54F8EB1EDF4}.Release|x64.ActiveCfg = Release|x64
+ {664E6F0D-6784-4760-9565-D54F8EB1EDF4}.Release|x64.Build.0 = Release|x64
+ {8EFB5DCB-C0C4-1670-5938-A0E0F1A1C5EA}.Debug|Win32.ActiveCfg = Debug|Win32
+ {8EFB5DCB-C0C4-1670-5938-A0E0F1A1C5EA}.Debug|Win32.Build.0 = Debug|Win32
+ {8EFB5DCB-C0C4-1670-5938-A0E0F1A1C5EA}.Debug|x64.ActiveCfg = Debug|x64
+ {8EFB5DCB-C0C4-1670-5938-A0E0F1A1C5EA}.Debug|x64.Build.0 = Debug|x64
+ {8EFB5DCB-C0C4-1670-5938-A0E0F1A1C5EA}.Release|Win32.ActiveCfg = Release|Win32
+ {8EFB5DCB-C0C4-1670-5938-A0E0F1A1C5EA}.Release|Win32.Build.0 = Release|Win32
+ {8EFB5DCB-C0C4-1670-5938-A0E0F1A1C5EA}.Release|x64.ActiveCfg = Release|x64
+ {8EFB5DCB-C0C4-1670-5938-A0E0F1A1C5EA}.Release|x64.Build.0 = Release|x64
+ {79AA8443-86F4-649A-0BEB-0CB5E51B7D7E}.Debug|Win32.ActiveCfg = Debug|Win32
+ {79AA8443-86F4-649A-0BEB-0CB5E51B7D7E}.Debug|Win32.Build.0 = Debug|Win32
+ {79AA8443-86F4-649A-0BEB-0CB5E51B7D7E}.Debug|x64.ActiveCfg = Debug|x64
+ {79AA8443-86F4-649A-0BEB-0CB5E51B7D7E}.Debug|x64.Build.0 = Debug|x64
+ {79AA8443-86F4-649A-0BEB-0CB5E51B7D7E}.Release|Win32.ActiveCfg = Release|Win32
+ {79AA8443-86F4-649A-0BEB-0CB5E51B7D7E}.Release|Win32.Build.0 = Release|Win32
+ {79AA8443-86F4-649A-0BEB-0CB5E51B7D7E}.Release|x64.ActiveCfg = Release|x64
+ {79AA8443-86F4-649A-0BEB-0CB5E51B7D7E}.Release|x64.Build.0 = Release|x64
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+EndGlobal
diff --git a/extern/glew/build/vc14/glew_shared.vcxproj b/extern/glew/build/vc14/glew_shared.vcxproj
new file mode 100644
index 0000000000..72d9de6415
--- /dev/null
+++ b/extern/glew/build/vc14/glew_shared.vcxproj
@@ -0,0 +1,258 @@
+
+
+
+
+ Debug
+ Win32
+
+
+ Debug
+ x64
+
+
+ Release
+ Win32
+
+
+ Release
+ x64
+
+
+
+
+
+ {55AE3D72-7DE6-F19F-AEF2-9AE8CA26CF3D}
+
+
+
+ DynamicLibrary
+ false
+ v140
+
+
+ DynamicLibrary
+ false
+ v140
+
+
+ DynamicLibrary
+ false
+ v140
+
+
+ DynamicLibrary
+ false
+ v140
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ $(BIN_DIR)\$(Configuration)\$(PlatformName)\
+ tmp\$(TargetName)\$(Configuration)\$(PlatformName)\
+ false
+ glew32
+
+
+ $(BIN_DIR)\$(Configuration)\$(PlatformName)\
+ tmp\$(TargetName)\$(Configuration)\$(PlatformName)\
+ false
+ glew32
+
+
+ $(BIN_DIR)\$(Configuration)\$(PlatformName)\
+ tmp\$(TargetName)\$(Configuration)\$(PlatformName)\
+ false
+ glew32d
+
+
+ $(BIN_DIR)\$(Configuration)\$(PlatformName)\
+ tmp\$(TargetName)\$(Configuration)\$(PlatformName)\
+ false
+ glew32d
+
+
+
+ MultiThreaded
+ OnlyExplicitInline
+ true
+ true
+ MaxSpeed
+ true
+ Level3
+ $(INCLUDE_DIR)
+ WIN32;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;GLEW_BUILD;%(PreprocessorDefinitions)
+ false
+
+
+ true
+ NDEBUG;%(PreprocessorDefinitions)
+ true
+ Win32
+
+
+ 0x0409
+ NDEBUG;%(PreprocessorDefinitions)
+
+
+ true
+
+
+ true
+ true
+ Console
+ $(OutDir)$(TargetName)$(TargetExt)
+ $(LIB_DIR)\$(Configuration)\$(PlatformName)\$(TargetName).lib
+ 0x62AA0000
+ opengl32.lib;%(AdditionalDependencies)
+ /ignore:4089
+
+
+ true
+ true
+
+
+
+
+ MultiThreaded
+ OnlyExplicitInline
+ true
+ true
+ MaxSpeed
+ true
+ Level3
+ $(INCLUDE_DIR)
+ WIN32;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;GLEW_BUILD;%(PreprocessorDefinitions)
+ false
+
+
+ true
+ NDEBUG;%(PreprocessorDefinitions)
+ true
+
+
+ 0x0409
+ NDEBUG;%(PreprocessorDefinitions)
+
+
+ true
+
+
+ true
+ true
+ Console
+ $(OutDir)$(TargetName)$(TargetExt)
+ $(LIB_DIR)\$(Configuration)\$(PlatformName)\$(TargetName).lib
+ 0x62AA0000
+ opengl32.lib;%(AdditionalDependencies)
+ /ignore:4089
+
+
+ true
+ true
+
+
+
+
+ MultiThreadedDebugDLL
+ Default
+ false
+ Disabled
+ true
+ WIN32;WIN32_MEAN_AND_LEAN;VC_EXTRALEAN;GLEW_BUILD;%(PreprocessorDefinitions)
+ EnableFastChecks
+ Level3
+ $(INCLUDE_DIR)
+ false
+
+
+ true
+ _DEBUG;%(PreprocessorDefinitions)
+ true
+ Win32
+
+
+ 0x0409
+ _DEBUG;%(PreprocessorDefinitions)
+
+
+ true
+
+
+ true
+ true
+ true
+ Console
+ $(OutDir)$(TargetName)$(TargetExt)
+ $(LIB_DIR)\$(Configuration)\$(PlatformName)\$(TargetName).lib
+ 0x62AA0000
+ opengl32.lib;%(AdditionalDependencies)
+
+
+
+
+
+
+ MultiThreadedDebugDLL
+ Default
+ false
+ Disabled
+ true
+ WIN32;WIN32_LEAN_AND_MEAN;GLEW_BUILD;%(PreprocessorDefinitions)
+ EnableFastChecks
+ Level3
+ $(INCLUDE_DIR)
+ false
+
+
+ true
+ _DEBUG;%(PreprocessorDefinitions)
+ true
+
+
+ 0x0409
+ _DEBUG;%(PreprocessorDefinitions)
+
+
+ true
+
+
+ true
+ true
+ true
+ Console
+ $(OutDir)$(TargetName)$(TargetExt)
+ $(LIB_DIR)\$(Configuration)\$(PlatformName)\$(TargetName).lib
+ 0x62AA0000
+ opengl32.lib;%(AdditionalDependencies)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/extern/glew/build/vc14/glew_static.vcxproj b/extern/glew/build/vc14/glew_static.vcxproj
new file mode 100644
index 0000000000..ccc9c7c655
--- /dev/null
+++ b/extern/glew/build/vc14/glew_static.vcxproj
@@ -0,0 +1,232 @@
+
+
+
+
+ Debug
+ Win32
+
+
+ Debug
+ x64
+
+
+ Release
+ Win32
+
+
+ Release
+ x64
+
+
+
+
+
+ {664E6F0D-6784-4760-9565-D54F8EB1EDF4}
+
+
+
+ Application
+
+
+ Application
+
+
+ StaticLibrary
+ false
+ MultiByte
+ v140
+
+
+ StaticLibrary
+ false
+ MultiByte
+ v140
+
+
+ StaticLibrary
+ false
+ MultiByte
+ v140
+
+
+ StaticLibrary
+ false
+ MultiByte
+ v140
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ $(LIB_DIR)\$(Configuration)\$(PlatformName)\
+ tmp\$(TargetName)\$(Configuration)\$(PlatformName)\
+ glew32s
+
+
+ $(LIB_DIR)\$(Configuration)\$(PlatformName)\
+ tmp\$(TargetName)\$(Configuration)\$(PlatformName)\
+ glew32s
+
+
+ $(LIB_DIR)\$(Configuration)\$(PlatformName)\
+ tmp\$(TargetName)\$(Configuration)\$(PlatformName)\
+ glew32sd
+
+
+ $(LIB_DIR)\$(Configuration)\$(PlatformName)\
+ tmp\$(TargetName)\$(Configuration)\$(PlatformName)\
+ glew32sd
+
+
+ $(LIB_DIR)\$(Configuration)\$(PlatformName)\
+ tmp\$(TargetName)\$(Configuration)\$(PlatformName)\
+
+
+ $(LIB_DIR)\$(Configuration)\$(PlatformName)\
+ tmp\$(TargetName)\$(Configuration)\$(PlatformName)\
+
+
+
+ MultiThreaded
+ OnlyExplicitInline
+ true
+ true
+ MaxSpeed
+ true
+ Level3
+ ../../include;%(AdditionalIncludeDirectories)
+ WIN32;NDEBUG;_LIB;WIN32_LEAN_AND_MEAN;GLEW_STATIC;%(PreprocessorDefinitions)
+ false
+
+
+ 0x0409
+ NDEBUG;GLEW_STATIC;%(PreprocessorDefinitions)
+
+
+ true
+
+
+ true
+ $(OutDir)$(TargetName)$(TargetExt)
+ MachineX86
+
+
+
+
+ MultiThreaded
+ OnlyExplicitInline
+ true
+ true
+ MaxSpeed
+ true
+ Level3
+ ../../include;%(AdditionalIncludeDirectories)
+ WIN32;NDEBUG;_LIB;WIN32_LEAN_AND_MEAN;GLEW_STATIC;%(PreprocessorDefinitions)
+ false
+
+
+ 0x0409
+ NDEBUG;GLEW_STATIC;%(PreprocessorDefinitions)
+
+
+ true
+
+
+ true
+ $(OutDir)$(TargetName)$(TargetExt)
+ MachineX64
+
+
+
+
+ MultiThreadedDebugDLL
+ Default
+ false
+ Disabled
+ true
+ Level3
+ WIN32;_DEBUG;_LIB;WIN32_LEAN_AND_MEAN;GLEW_STATIC;%(PreprocessorDefinitions)
+ EnableFastChecks
+ false
+
+
+ 0x0409
+ _DEBUG;GLEW_STATIC;%(PreprocessorDefinitions)
+
+
+ true
+
+
+ true
+ $(OutDir)$(TargetName)$(TargetExt)
+ MachineX86
+
+
+
+
+ MultiThreadedDebugDLL
+ Default
+ false
+ Disabled
+ true
+ Level3
+ WIN32;_DEBUG;_LIB;WIN32_LEAN_AND_MEAN;GLEW_STATIC;%(PreprocessorDefinitions)
+ EnableFastChecks
+ false
+
+
+ 0x0409
+ _DEBUG;GLEW_STATIC;%(PreprocessorDefinitions)
+
+
+ true
+
+
+ true
+ $(OutDir)$(TargetName)$(TargetExt)
+ MachineX64
+
+
+
+
+ ../../include;%(AdditionalIncludeDirectories)
+
+
+
+
+ ../../include;%(AdditionalIncludeDirectories)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/extern/glew/build/vc14/glewinfo.vcxproj b/extern/glew/build/vc14/glewinfo.vcxproj
new file mode 100644
index 0000000000..711bbce76b
--- /dev/null
+++ b/extern/glew/build/vc14/glewinfo.vcxproj
@@ -0,0 +1,259 @@
+
+
+
+
+ Debug
+ Win32
+
+
+ Debug
+ x64
+
+
+ Release
+ Win32
+
+
+ Release
+ x64
+
+
+
+
+
+ {8EFB5DCB-C0C4-1670-5938-A0E0F1A1C5EA}
+
+
+
+ Application
+
+
+ Application
+
+
+ Application
+ false
+ v140
+
+
+ Application
+ false
+ v140
+
+
+ Application
+ false
+ v140
+
+
+ Application
+ false
+ v140
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ $(BIN_DIR)\$(Configuration)\$(PlatformName)\
+ tmp\$(TargetName)\$(Configuration)\$(PlatformName)\
+ false
+ glewinfod
+
+
+ $(BIN_DIR)\$(Configuration)\$(PlatformName)\
+ tmp\$(TargetName)\$(Configuration)\$(PlatformName)\
+ false
+ glewinfod
+
+
+ $(BIN_DIR)\$(Configuration)\$(PlatformName)\
+ tmp\$(TargetName)\$(Configuration)\$(PlatformName)\
+ false
+ glewinfo
+
+
+ $(BIN_DIR)\$(Configuration)\$(PlatformName)\
+ tmp\$(TargetName)\$(Configuration)\$(PlatformName)\
+ false
+ glewinfo
+
+
+ $(BIN_DIR)\$(Configuration)\$(PlatformName)\
+ glewinfo
+ tmp\$(TargetName)\$(Configuration)\$(PlatformName)\
+
+
+ $(BIN_DIR)\$(Configuration)\$(PlatformName)\
+ glewinfo
+ tmp\$(TargetName)\$(Configuration)\$(PlatformName)\
+
+
+
+ MultiThreadedDebugDLL
+ Default
+ false
+ Disabled
+ true
+ Level3
+ WIN32;WIN32_LEAN_AND_MEAN;VC_EXTRA_LEAN;GLEW_STATIC;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)
+ EnableFastChecks
+
+
+ .\..\..\bin\glewinfo.tlb
+
+
+ 0x0409
+ _DEBUG;%(PreprocessorDefinitions)
+
+
+ true
+
+
+ true
+ true
+ Console
+ $(OutDir)$(TargetName)$(TargetExt)
+ glew32sd.lib;opengl32.lib;%(AdditionalDependencies)
+ $(LIB_DIR)\$(Configuration)\$(PlatformName)\
+
+
+
+
+ MultiThreadedDebugDLL
+ Default
+ false
+ Disabled
+ true
+ Level3
+ WIN32;WIN32_LEAN_AND_MEAN;VC_EXTRA_LEAN;GLEW_STATIC;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)
+ EnableFastChecks
+
+
+ .\..\..\bin\glewinfo.tlb
+
+
+ 0x0409
+ _DEBUG;%(PreprocessorDefinitions)
+
+
+ true
+
+
+ true
+ true
+ Console
+ $(OutDir)$(TargetName)$(TargetExt)
+ glew32sd.lib;opengl32.lib;%(AdditionalDependencies)
+ $(LIB_DIR)\$(Configuration)\$(PlatformName)\
+
+
+
+
+ MultiThreaded
+ OnlyExplicitInline
+ true
+ true
+ MaxSpeed
+ true
+ Level3
+ WIN32;WIN32_LEAN_AND_MEAN;GLEW_STATIC;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)
+
+
+ .\..\..\bin\glewinfo.tlb
+
+
+ 0x0409
+ NDEBUG;%(PreprocessorDefinitions)
+
+
+ true
+
+
+ true
+ Console
+ $(OutDir)$(TargetName)$(TargetExt)
+ glew32s.lib;opengl32.lib;%(AdditionalDependencies)
+ $(LIB_DIR)\$(Configuration)\$(PlatformName)\
+
+
+
+
+ MultiThreaded
+ OnlyExplicitInline
+ true
+ true
+ MaxSpeed
+ true
+ Level3
+ WIN32;WIN32_LEAN_AND_MEAN;GLEW_STATIC;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)
+
+
+ .\..\..\bin\glewinfo.tlb
+
+
+ 0x0409
+ NDEBUG;%(PreprocessorDefinitions)
+
+
+ true
+
+
+ true
+ Console
+ $(OutDir)$(TargetName)$(TargetExt)
+ glew32s.lib;opengl32.lib;%(AdditionalDependencies)
+ $(LIB_DIR)\$(Configuration)\$(PlatformName)\
+
+
+
+
+ $(OutDir)$(TargetName)$(TargetExt)
+ $(LIB_DIR)\$(Configuration)\$(PlatformName)\
+
+
+
+
+
+
+
+ $(OutDir)$(TargetName)$(TargetExt)
+ $(LIB_DIR)\$(Configuration)\$(PlatformName)\
+
+
+
+
+
+
+
+
+
+
+ {664e6f0d-6784-4760-9565-d54f8eb1edf4}
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/extern/glew/build/vc14/visualinfo.vcxproj b/extern/glew/build/vc14/visualinfo.vcxproj
new file mode 100644
index 0000000000..fae9cbcdd2
--- /dev/null
+++ b/extern/glew/build/vc14/visualinfo.vcxproj
@@ -0,0 +1,258 @@
+
+
+
+
+ Debug
+ Win32
+
+
+ Debug
+ x64
+
+
+ Release
+ Win32
+
+
+ Release
+ x64
+
+
+
+
+
+ {79AA8443-86F4-649A-0BEB-0CB5E51B7D7E}
+
+
+
+ Application
+
+
+ Application
+
+
+ Application
+ false
+ v140
+
+
+ Application
+ false
+ v140
+
+
+ Application
+ false
+ v140
+
+
+ Application
+ false
+ v140
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ $(BIN_DIR)\$(Configuration)\$(PlatformName)\
+ tmp\$(TargetName)\$(Configuration)\$(PlatformName)\
+ false
+ visualinfod
+
+
+ $(BIN_DIR)\$(Configuration)\$(PlatformName)\
+ tmp\$(TargetName)\$(Configuration)\$(PlatformName)\
+ false
+ visualinfod
+
+
+ $(BIN_DIR)\$(Configuration)\$(PlatformName)\
+ tmp\$(TargetName)\$(Configuration)\$(PlatformName)\
+ false
+ visualinfo
+
+
+ $(BIN_DIR)\$(Configuration)\$(PlatformName)\
+ tmp\$(TargetName)\$(Configuration)\$(PlatformName)\
+ false
+ visualinfo
+
+
+ $(BIN_DIR)\$(Configuration)\$(PlatformName)\
+ visualinfo
+ tmp\$(TargetName)\$(Configuration)\$(PlatformName)\
+
+
+ ..\..\bin/
+ visualinfo
+
+
+
+ MultiThreadedDebugDLL
+ Default
+ false
+ Disabled
+ true
+ Level3
+ WIN32;WIN32_LEAN_AND_MEAN;VC_EXTRA_LEAN;GLEW_STATIC;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)
+ EnableFastChecks
+
+
+ .\..\..\bin\visualinfo.tlb
+
+
+ 0x0409
+ _DEBUG;%(PreprocessorDefinitions)
+
+
+ true
+
+
+ true
+ true
+ Console
+ $(OutDir)$(TargetName)$(TargetExt)
+ glew32sd.lib;glu32.lib;opengl32.lib;%(AdditionalDependencies)
+ $(LIB_DIR)\$(Configuration)\$(PlatformName)\
+
+
+
+
+ MultiThreadedDebugDLL
+ Default
+ false
+ Disabled
+ true
+ Level3
+ WIN32;WIN32_LEAN_AND_MEAN;VC_EXTRA_LEAN;GLEW_STATIC;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)
+ EnableFastChecks
+
+
+ .\..\..\bin\visualinfo.tlb
+
+
+ 0x0409
+ _DEBUG;%(PreprocessorDefinitions)
+
+
+ true
+
+
+ true
+ true
+ Console
+ $(OutDir)$(TargetName)$(TargetExt)
+ glew32sd.lib;glu32.lib;opengl32.lib;%(AdditionalDependencies)
+ $(LIB_DIR)\$(Configuration)\$(PlatformName)\
+
+
+
+
+ MultiThreaded
+ OnlyExplicitInline
+ true
+ true
+ MaxSpeed
+ true
+ Level3
+ WIN32;WIN32_LEAN_AND_MEAN;GLEW_STATIC;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)
+
+
+ .\..\..\bin\visualinfo.tlb
+
+
+ 0x0409
+ NDEBUG;%(PreprocessorDefinitions)
+
+
+ true
+
+
+ true
+ Console
+ $(OutDir)$(TargetName)$(TargetExt)
+ glew32s.lib;glu32.lib;opengl32.lib;%(AdditionalDependencies)
+ $(LIB_DIR)\$(Configuration)\$(PlatformName)\
+
+
+
+
+ MultiThreaded
+ OnlyExplicitInline
+ true
+ true
+ MaxSpeed
+ true
+ Level3
+ WIN32;WIN32_LEAN_AND_MEAN;GLEW_STATIC;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)
+
+
+ .\..\..\bin\visualinfo.tlb
+
+
+ 0x0409
+ NDEBUG;%(PreprocessorDefinitions)
+
+
+ true
+
+
+ true
+ Console
+ $(OutDir)$(TargetName)$(TargetExt)
+ glew32s.lib;glu32.lib;opengl32.lib;%(AdditionalDependencies)
+ $(LIB_DIR)\$(Configuration)\$(PlatformName)\
+
+
+
+
+
+
+ $(OutDir)$(TargetName)$(TargetExt)
+ $(LIB_DIR)\$(Configuration)\$(PlatformName)\
+ glew32sd.lib;glu32.lib;opengl32.lib;%(AdditionalDependencies)
+
+
+
+
+
+
+ $(OutDir)$(TargetName)$(TargetExt)
+ glew32sd.lib;glu32.lib;opengl32.lib;%(AdditionalDependencies)
+ $(LIB_DIR)\$(Configuration)\$(PlatformName)\
+
+
+
+
+
+
+
+ {664e6f0d-6784-4760-9565-d54f8eb1edf4}
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/extern/glew/build/vc15/common.props b/extern/glew/build/vc15/common.props
new file mode 100644
index 0000000000..2f42975f38
--- /dev/null
+++ b/extern/glew/build/vc15/common.props
@@ -0,0 +1,29 @@
+
+
+
+
+ ..\..\include
+ ..\..\lib
+ ..\..\bin
+
+
+
+
+ $(INCLUDE_DIR)
+
+
+
+
+ $(INCLUDE_DIR)
+ true
+
+
+ $(LIB_DIR)
+ true
+
+
+ $(BIN_DIR)
+ true
+
+
+
\ No newline at end of file
diff --git a/extern/glew/build/vc15/glew.sln b/extern/glew/build/vc15/glew.sln
new file mode 100644
index 0000000000..c2210e600a
--- /dev/null
+++ b/extern/glew/build/vc15/glew.sln
@@ -0,0 +1,59 @@
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio 15
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "glew_shared", "glew_shared.vcxproj", "{55AE3D72-7DE6-F19F-AEF2-9AE8CA26CF3D}"
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "glew_static", "glew_static.vcxproj", "{664E6F0D-6784-4760-9565-D54F8EB1EDF4}"
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "glewinfo", "glewinfo.vcxproj", "{8EFB5DCB-C0C4-1670-5938-A0E0F1A1C5EA}"
+EndProject
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "visualinfo", "visualinfo.vcxproj", "{79AA8443-86F4-649A-0BEB-0CB5E51B7D7E}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Win32 = Debug|Win32
+ Debug|x64 = Debug|x64
+ Release|Win32 = Release|Win32
+ Release|x64 = Release|x64
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {55AE3D72-7DE6-F19F-AEF2-9AE8CA26CF3D}.Debug|Win32.ActiveCfg = Debug|Win32
+ {55AE3D72-7DE6-F19F-AEF2-9AE8CA26CF3D}.Debug|Win32.Build.0 = Debug|Win32
+ {55AE3D72-7DE6-F19F-AEF2-9AE8CA26CF3D}.Debug|x64.ActiveCfg = Debug|x64
+ {55AE3D72-7DE6-F19F-AEF2-9AE8CA26CF3D}.Debug|x64.Build.0 = Debug|x64
+ {55AE3D72-7DE6-F19F-AEF2-9AE8CA26CF3D}.Release|Win32.ActiveCfg = Release|Win32
+ {55AE3D72-7DE6-F19F-AEF2-9AE8CA26CF3D}.Release|Win32.Build.0 = Release|Win32
+ {55AE3D72-7DE6-F19F-AEF2-9AE8CA26CF3D}.Release|x64.ActiveCfg = Release|x64
+ {55AE3D72-7DE6-F19F-AEF2-9AE8CA26CF3D}.Release|x64.Build.0 = Release|x64
+ {664E6F0D-6784-4760-9565-D54F8EB1EDF4}.Debug|Win32.ActiveCfg = Debug|Win32
+ {664E6F0D-6784-4760-9565-D54F8EB1EDF4}.Debug|Win32.Build.0 = Debug|Win32
+ {664E6F0D-6784-4760-9565-D54F8EB1EDF4}.Debug|x64.ActiveCfg = Debug|x64
+ {664E6F0D-6784-4760-9565-D54F8EB1EDF4}.Debug|x64.Build.0 = Debug|x64
+ {664E6F0D-6784-4760-9565-D54F8EB1EDF4}.Release|Win32.ActiveCfg = Release|Win32
+ {664E6F0D-6784-4760-9565-D54F8EB1EDF4}.Release|Win32.Build.0 = Release|Win32
+ {664E6F0D-6784-4760-9565-D54F8EB1EDF4}.Release|x64.ActiveCfg = Release|x64
+ {664E6F0D-6784-4760-9565-D54F8EB1EDF4}.Release|x64.Build.0 = Release|x64
+ {8EFB5DCB-C0C4-1670-5938-A0E0F1A1C5EA}.Debug|Win32.ActiveCfg = Debug|Win32
+ {8EFB5DCB-C0C4-1670-5938-A0E0F1A1C5EA}.Debug|Win32.Build.0 = Debug|Win32
+ {8EFB5DCB-C0C4-1670-5938-A0E0F1A1C5EA}.Debug|x64.ActiveCfg = Debug|x64
+ {8EFB5DCB-C0C4-1670-5938-A0E0F1A1C5EA}.Debug|x64.Build.0 = Debug|x64
+ {8EFB5DCB-C0C4-1670-5938-A0E0F1A1C5EA}.Release|Win32.ActiveCfg = Release|Win32
+ {8EFB5DCB-C0C4-1670-5938-A0E0F1A1C5EA}.Release|Win32.Build.0 = Release|Win32
+ {8EFB5DCB-C0C4-1670-5938-A0E0F1A1C5EA}.Release|x64.ActiveCfg = Release|x64
+ {8EFB5DCB-C0C4-1670-5938-A0E0F1A1C5EA}.Release|x64.Build.0 = Release|x64
+ {79AA8443-86F4-649A-0BEB-0CB5E51B7D7E}.Debug|Win32.ActiveCfg = Debug|Win32
+ {79AA8443-86F4-649A-0BEB-0CB5E51B7D7E}.Debug|Win32.Build.0 = Debug|Win32
+ {79AA8443-86F4-649A-0BEB-0CB5E51B7D7E}.Debug|x64.ActiveCfg = Debug|x64
+ {79AA8443-86F4-649A-0BEB-0CB5E51B7D7E}.Debug|x64.Build.0 = Debug|x64
+ {79AA8443-86F4-649A-0BEB-0CB5E51B7D7E}.Release|Win32.ActiveCfg = Release|Win32
+ {79AA8443-86F4-649A-0BEB-0CB5E51B7D7E}.Release|Win32.Build.0 = Release|Win32
+ {79AA8443-86F4-649A-0BEB-0CB5E51B7D7E}.Release|x64.ActiveCfg = Release|x64
+ {79AA8443-86F4-649A-0BEB-0CB5E51B7D7E}.Release|x64.Build.0 = Release|x64
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+ GlobalSection(ExtensibilityGlobals) = postSolution
+ SolutionGuid = {9A5903BA-2749-477B-A225-BC8AB668C316}
+ EndGlobalSection
+EndGlobal
diff --git a/extern/glew/build/vc15/glew_shared.vcxproj b/extern/glew/build/vc15/glew_shared.vcxproj
new file mode 100644
index 0000000000..ab3a4f4323
--- /dev/null
+++ b/extern/glew/build/vc15/glew_shared.vcxproj
@@ -0,0 +1,258 @@
+
+
+
+
+ Debug
+ Win32
+
+
+ Debug
+ x64
+
+
+ Release
+ Win32
+
+
+ Release
+ x64
+
+
+
+
+
+ {55AE3D72-7DE6-F19F-AEF2-9AE8CA26CF3D}
+
+
+
+ DynamicLibrary
+ false
+ v141
+
+
+ DynamicLibrary
+ false
+ v141
+
+
+ DynamicLibrary
+ false
+ v141
+
+
+ DynamicLibrary
+ false
+ v141
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ $(BIN_DIR)\$(Configuration)\$(PlatformName)\
+ tmp\$(TargetName)\$(Configuration)\$(PlatformName)\
+ false
+ glew32
+
+
+ $(BIN_DIR)\$(Configuration)\$(PlatformName)\
+ tmp\$(TargetName)\$(Configuration)\$(PlatformName)\
+ false
+ glew32
+
+
+ $(BIN_DIR)\$(Configuration)\$(PlatformName)\
+ tmp\$(TargetName)\$(Configuration)\$(PlatformName)\
+ false
+ glew32d
+
+
+ $(BIN_DIR)\$(Configuration)\$(PlatformName)\
+ tmp\$(TargetName)\$(Configuration)\$(PlatformName)\
+ false
+ glew32d
+
+
+
+ MultiThreaded
+ OnlyExplicitInline
+ true
+ true
+ MaxSpeed
+ true
+ Level3
+ $(INCLUDE_DIR)
+ WIN32;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;GLEW_BUILD;%(PreprocessorDefinitions)
+ false
+
+
+ true
+ NDEBUG;%(PreprocessorDefinitions)
+ true
+ Win32
+
+
+ 0x0409
+ NDEBUG;%(PreprocessorDefinitions)
+
+
+ true
+
+
+ true
+ true
+ Console
+ $(OutDir)$(TargetName)$(TargetExt)
+ $(LIB_DIR)\$(Configuration)\$(PlatformName)\$(TargetName).lib
+ 0x62AA0000
+ opengl32.lib;libvcruntime.lib;msvcrt.lib;%(AdditionalDependencies)
+ /ignore:4089
+
+
+ true
+ true
+
+
+
+
+ MultiThreaded
+ OnlyExplicitInline
+ true
+ true
+ MaxSpeed
+ true
+ Level3
+ $(INCLUDE_DIR)
+ WIN32;WIN32_LEAN_AND_MEAN;VC_EXTRALEAN;GLEW_BUILD;%(PreprocessorDefinitions)
+ false
+
+
+ true
+ NDEBUG;%(PreprocessorDefinitions)
+ true
+
+
+ 0x0409
+ NDEBUG;%(PreprocessorDefinitions)
+
+
+ true
+
+
+ true
+ true
+ Console
+ $(OutDir)$(TargetName)$(TargetExt)
+ $(LIB_DIR)\$(Configuration)\$(PlatformName)\$(TargetName).lib
+ 0x62AA0000
+ opengl32.lib;libvcruntime.lib;msvcrt.lib;%(AdditionalDependencies)
+ /ignore:4089
+
+
+ true
+ true
+
+
+
+
+ MultiThreadedDebugDLL
+ Default
+ false
+ Disabled
+ true
+ WIN32;WIN32_MEAN_AND_LEAN;VC_EXTRALEAN;GLEW_BUILD;%(PreprocessorDefinitions)
+ EnableFastChecks
+ Level3
+ $(INCLUDE_DIR)
+ false
+
+
+ true
+ _DEBUG;%(PreprocessorDefinitions)
+ true
+ Win32
+
+
+ 0x0409
+ _DEBUG;%(PreprocessorDefinitions)
+
+
+ true
+
+
+ true
+ true
+ true
+ Console
+ $(OutDir)$(TargetName)$(TargetExt)
+ $(LIB_DIR)\$(Configuration)\$(PlatformName)\$(TargetName).lib
+ 0x62AA0000
+ opengl32.lib;%(AdditionalDependencies)
+
+
+
+
+
+
+ MultiThreadedDebugDLL
+ Default
+ false
+ Disabled
+ true
+ WIN32;WIN32_LEAN_AND_MEAN;GLEW_BUILD;%(PreprocessorDefinitions)
+ EnableFastChecks
+ Level3
+ $(INCLUDE_DIR)
+ false
+
+
+ true
+ _DEBUG;%(PreprocessorDefinitions)
+ true
+
+
+ 0x0409
+ _DEBUG;%(PreprocessorDefinitions)
+
+
+ true
+
+
+ true
+ true
+ true
+ Console
+ $(OutDir)$(TargetName)$(TargetExt)
+ $(LIB_DIR)\$(Configuration)\$(PlatformName)\$(TargetName).lib
+ 0x62AA0000
+ opengl32.lib;%(AdditionalDependencies)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/extern/glew/build/vc15/glew_static.vcxproj b/extern/glew/build/vc15/glew_static.vcxproj
new file mode 100644
index 0000000000..20f951c509
--- /dev/null
+++ b/extern/glew/build/vc15/glew_static.vcxproj
@@ -0,0 +1,232 @@
+
+
+
+
+ Debug
+ Win32
+
+
+ Debug
+ x64
+
+
+ Release
+ Win32
+
+
+ Release
+ x64
+
+
+
+
+
+ {664E6F0D-6784-4760-9565-D54F8EB1EDF4}
+
+
+
+ Application
+
+
+ Application
+
+
+ StaticLibrary
+ false
+ MultiByte
+ v141
+
+
+ StaticLibrary
+ false
+ MultiByte
+ v141
+
+
+ StaticLibrary
+ false
+ MultiByte
+ v141
+
+
+ StaticLibrary
+ false
+ MultiByte
+ v141
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ $(LIB_DIR)\$(Configuration)\$(PlatformName)\
+ tmp\$(TargetName)\$(Configuration)\$(PlatformName)\
+ glew32s
+
+
+ $(LIB_DIR)\$(Configuration)\$(PlatformName)\
+ tmp\$(TargetName)\$(Configuration)\$(PlatformName)\
+ glew32s
+
+
+ $(LIB_DIR)\$(Configuration)\$(PlatformName)\
+ tmp\$(TargetName)\$(Configuration)\$(PlatformName)\
+ glew32sd
+
+
+ $(LIB_DIR)\$(Configuration)\$(PlatformName)\
+ tmp\$(TargetName)\$(Configuration)\$(PlatformName)\
+ glew32sd
+
+
+ $(LIB_DIR)\$(Configuration)\$(PlatformName)\
+ tmp\$(TargetName)\$(Configuration)\$(PlatformName)\
+
+
+ $(LIB_DIR)\$(Configuration)\$(PlatformName)\
+ tmp\$(TargetName)\$(Configuration)\$(PlatformName)\
+
+
+
+ MultiThreaded
+ OnlyExplicitInline
+ true
+ true
+ MaxSpeed
+ true
+ Level3
+ ../../include;%(AdditionalIncludeDirectories)
+ WIN32;NDEBUG;_LIB;WIN32_LEAN_AND_MEAN;GLEW_STATIC;%(PreprocessorDefinitions)
+ false
+
+
+ 0x0409
+ NDEBUG;GLEW_STATIC;%(PreprocessorDefinitions)
+
+
+ true
+
+
+ true
+ $(OutDir)$(TargetName)$(TargetExt)
+ MachineX86
+
+
+
+
+ MultiThreaded
+ OnlyExplicitInline
+ true
+ true
+ MaxSpeed
+ true
+ Level3
+ ../../include;%(AdditionalIncludeDirectories)
+ WIN32;NDEBUG;_LIB;WIN32_LEAN_AND_MEAN;GLEW_STATIC;%(PreprocessorDefinitions)
+ false
+
+
+ 0x0409
+ NDEBUG;GLEW_STATIC;%(PreprocessorDefinitions)
+
+
+ true
+
+
+ true
+ $(OutDir)$(TargetName)$(TargetExt)
+ MachineX64
+
+
+
+
+ MultiThreadedDebugDLL
+ Default
+ false
+ Disabled
+ true
+ Level3
+ WIN32;_DEBUG;_LIB;WIN32_LEAN_AND_MEAN;GLEW_STATIC;%(PreprocessorDefinitions)
+ EnableFastChecks
+ false
+
+
+ 0x0409
+ _DEBUG;GLEW_STATIC;%(PreprocessorDefinitions)
+
+
+ true
+
+
+ true
+ $(OutDir)$(TargetName)$(TargetExt)
+ MachineX86
+
+
+
+
+ MultiThreadedDebugDLL
+ Default
+ false
+ Disabled
+ true
+ Level3
+ WIN32;_DEBUG;_LIB;WIN32_LEAN_AND_MEAN;GLEW_STATIC;%(PreprocessorDefinitions)
+ EnableFastChecks
+ false
+
+
+ 0x0409
+ _DEBUG;GLEW_STATIC;%(PreprocessorDefinitions)
+
+
+ true
+
+
+ true
+ $(OutDir)$(TargetName)$(TargetExt)
+ MachineX64
+
+
+
+
+ ../../include;%(AdditionalIncludeDirectories)
+
+
+
+
+ ../../include;%(AdditionalIncludeDirectories)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/extern/glew/build/vc15/glewinfo.vcxproj b/extern/glew/build/vc15/glewinfo.vcxproj
new file mode 100644
index 0000000000..810baa20fe
--- /dev/null
+++ b/extern/glew/build/vc15/glewinfo.vcxproj
@@ -0,0 +1,261 @@
+
+
+
+
+ Debug
+ Win32
+
+
+ Debug
+ x64
+
+
+ Release
+ Win32
+
+
+ Release
+ x64
+
+
+
+
+
+ {8EFB5DCB-C0C4-1670-5938-A0E0F1A1C5EA}
+
+
+
+ Application
+
+
+ Application
+
+
+ Application
+ false
+ v141
+
+
+ Application
+ false
+ v141
+
+
+ Application
+ false
+ v141
+
+
+ Application
+ false
+ v141
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ $(BIN_DIR)\$(Configuration)\$(PlatformName)\
+ tmp\$(TargetName)\$(Configuration)\$(PlatformName)\
+ false
+ glewinfod
+
+
+ $(BIN_DIR)\$(Configuration)\$(PlatformName)\
+ tmp\$(TargetName)\$(Configuration)\$(PlatformName)\
+ false
+ glewinfod
+
+
+ $(BIN_DIR)\$(Configuration)\$(PlatformName)\
+ tmp\$(TargetName)\$(Configuration)\$(PlatformName)\
+ false
+ glewinfo
+
+
+ $(BIN_DIR)\$(Configuration)\$(PlatformName)\
+ tmp\$(TargetName)\$(Configuration)\$(PlatformName)\
+ false
+ glewinfo
+
+
+ $(BIN_DIR)\$(Configuration)\$(PlatformName)\
+ glewinfo
+ tmp\$(TargetName)\$(Configuration)\$(PlatformName)\
+
+
+ $(BIN_DIR)\$(Configuration)\$(PlatformName)\
+ glewinfo
+ tmp\$(TargetName)\$(Configuration)\$(PlatformName)\
+
+
+
+ MultiThreadedDebugDLL
+ Default
+ false
+ Disabled
+ true
+ Level3
+ WIN32;WIN32_LEAN_AND_MEAN;VC_EXTRA_LEAN;GLEW_STATIC;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)
+ EnableFastChecks
+
+
+ .\..\..\bin\glewinfo.tlb
+
+
+ 0x0409
+ _DEBUG;%(PreprocessorDefinitions)
+
+
+ true
+
+
+ true
+ true
+ Console
+ $(OutDir)$(TargetName)$(TargetExt)
+ glew32sd.lib;opengl32.lib;%(AdditionalDependencies)
+ $(LIB_DIR)\$(Configuration)\$(PlatformName)\
+
+
+
+
+ MultiThreadedDebugDLL
+ Default
+ false
+ Disabled
+ true
+ Level3
+ WIN32;WIN32_LEAN_AND_MEAN;VC_EXTRA_LEAN;GLEW_STATIC;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)
+ EnableFastChecks
+
+
+ .\..\..\bin\glewinfo.tlb
+
+
+ 0x0409
+ _DEBUG;%(PreprocessorDefinitions)
+
+
+ true
+
+
+ true
+ true
+ Console
+ $(OutDir)$(TargetName)$(TargetExt)
+ glew32sd.lib;opengl32.lib;%(AdditionalDependencies)
+ $(LIB_DIR)\$(Configuration)\$(PlatformName)\
+
+
+
+
+ MultiThreaded
+ OnlyExplicitInline
+ true
+ true
+ MaxSpeed
+ true
+ Level3
+ WIN32;WIN32_LEAN_AND_MEAN;GLEW_STATIC;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)
+
+
+ .\..\..\bin\glewinfo.tlb
+
+
+ 0x0409
+ NDEBUG;%(PreprocessorDefinitions)
+
+
+ true
+
+
+ true
+ Console
+ $(OutDir)$(TargetName)$(TargetExt)
+ glew32s.lib;opengl32.lib;libvcruntime.lib;msvcrt.lib;%(AdditionalDependencies)
+ libcmt
+ $(LIB_DIR)\$(Configuration)\$(PlatformName)\
+
+
+
+
+ MultiThreaded
+ OnlyExplicitInline
+ true
+ true
+ MaxSpeed
+ true
+ Level3
+ WIN32;WIN32_LEAN_AND_MEAN;GLEW_STATIC;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)
+
+
+ .\..\..\bin\glewinfo.tlb
+
+
+ 0x0409
+ NDEBUG;%(PreprocessorDefinitions)
+
+
+ true
+
+
+ true
+ Console
+ $(OutDir)$(TargetName)$(TargetExt)
+ glew32s.lib;opengl32.lib;libvcruntime.lib;msvcrt.lib;%(AdditionalDependencies)
+ libcmt
+ $(LIB_DIR)\$(Configuration)\$(PlatformName)\
+
+
+
+
+ $(OutDir)$(TargetName)$(TargetExt)
+ $(LIB_DIR)\$(Configuration)\$(PlatformName)\
+
+
+
+
+
+
+
+ $(OutDir)$(TargetName)$(TargetExt)
+ $(LIB_DIR)\$(Configuration)\$(PlatformName)\
+
+
+
+
+
+
+
+
+
+
+ {664e6f0d-6784-4760-9565-d54f8eb1edf4}
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/extern/glew/build/vc15/visualinfo.vcxproj b/extern/glew/build/vc15/visualinfo.vcxproj
new file mode 100644
index 0000000000..ea08800ebd
--- /dev/null
+++ b/extern/glew/build/vc15/visualinfo.vcxproj
@@ -0,0 +1,260 @@
+
+
+
+
+ Debug
+ Win32
+
+
+ Debug
+ x64
+
+
+ Release
+ Win32
+
+
+ Release
+ x64
+
+
+
+
+
+ {79AA8443-86F4-649A-0BEB-0CB5E51B7D7E}
+
+
+
+ Application
+
+
+ Application
+
+
+ Application
+ false
+ v141
+
+
+ Application
+ false
+ v141
+
+
+ Application
+ false
+ v141
+
+
+ Application
+ false
+ v141
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ $(BIN_DIR)\$(Configuration)\$(PlatformName)\
+ tmp\$(TargetName)\$(Configuration)\$(PlatformName)\
+ false
+ visualinfod
+
+
+ $(BIN_DIR)\$(Configuration)\$(PlatformName)\
+ tmp\$(TargetName)\$(Configuration)\$(PlatformName)\
+ false
+ visualinfod
+
+
+ $(BIN_DIR)\$(Configuration)\$(PlatformName)\
+ tmp\$(TargetName)\$(Configuration)\$(PlatformName)\
+ false
+ visualinfo
+
+
+ $(BIN_DIR)\$(Configuration)\$(PlatformName)\
+ tmp\$(TargetName)\$(Configuration)\$(PlatformName)\
+ false
+ visualinfo
+
+
+ $(BIN_DIR)\$(Configuration)\$(PlatformName)\
+ visualinfo
+ tmp\$(TargetName)\$(Configuration)\$(PlatformName)\
+
+
+ ..\..\bin/
+ visualinfo
+
+
+
+ MultiThreadedDebugDLL
+ Default
+ false
+ Disabled
+ true
+ Level3
+ WIN32;WIN32_LEAN_AND_MEAN;VC_EXTRA_LEAN;GLEW_STATIC;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)
+ EnableFastChecks
+
+
+ .\..\..\bin\visualinfo.tlb
+
+
+ 0x0409
+ _DEBUG;%(PreprocessorDefinitions)
+
+
+ true
+
+
+ true
+ true
+ Console
+ $(OutDir)$(TargetName)$(TargetExt)
+ glew32sd.lib;glu32.lib;opengl32.lib;%(AdditionalDependencies)
+ $(LIB_DIR)\$(Configuration)\$(PlatformName)\
+
+
+
+
+ MultiThreadedDebugDLL
+ Default
+ false
+ Disabled
+ true
+ Level3
+ WIN32;WIN32_LEAN_AND_MEAN;VC_EXTRA_LEAN;GLEW_STATIC;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)
+ EnableFastChecks
+
+
+ .\..\..\bin\visualinfo.tlb
+
+
+ 0x0409
+ _DEBUG;%(PreprocessorDefinitions)
+
+
+ true
+
+
+ true
+ true
+ Console
+ $(OutDir)$(TargetName)$(TargetExt)
+ glew32sd.lib;glu32.lib;opengl32.lib;%(AdditionalDependencies)
+ $(LIB_DIR)\$(Configuration)\$(PlatformName)\
+
+
+
+
+ MultiThreaded
+ OnlyExplicitInline
+ true
+ true
+ MaxSpeed
+ true
+ Level3
+ WIN32;WIN32_LEAN_AND_MEAN;GLEW_STATIC;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)
+
+
+ .\..\..\bin\visualinfo.tlb
+
+
+ 0x0409
+ NDEBUG;%(PreprocessorDefinitions)
+
+
+ true
+
+
+ true
+ Console
+ $(OutDir)$(TargetName)$(TargetExt)
+ glew32s.lib;glu32.lib;opengl32.lib;libvcruntime.lib;msvcrt.lib;%(AdditionalDependencies)
+ libcmt
+ $(LIB_DIR)\$(Configuration)\$(PlatformName)\
+
+
+
+
+ MultiThreaded
+ OnlyExplicitInline
+ true
+ true
+ MaxSpeed
+ true
+ Level3
+ WIN32;WIN32_LEAN_AND_MEAN;GLEW_STATIC;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions)
+
+
+ .\..\..\bin\visualinfo.tlb
+
+
+ 0x0409
+ NDEBUG;%(PreprocessorDefinitions)
+
+
+ true
+
+
+ true
+ Console
+ $(OutDir)$(TargetName)$(TargetExt)
+ glew32s.lib;glu32.lib;opengl32.lib;libvcruntime.lib;msvcrt.lib;%(AdditionalDependencies)
+ libcmt
+ $(LIB_DIR)\$(Configuration)\$(PlatformName)\
+
+
+
+
+
+
+ $(OutDir)$(TargetName)$(TargetExt)
+ $(LIB_DIR)\$(Configuration)\$(PlatformName)\
+ glew32sd.lib;glu32.lib;opengl32.lib;%(AdditionalDependencies)
+
+
+
+
+
+
+ $(OutDir)$(TargetName)$(TargetExt)
+ glew32sd.lib;glu32.lib;opengl32.lib;%(AdditionalDependencies)
+ $(LIB_DIR)\$(Configuration)\$(PlatformName)\
+
+
+
+
+
+
+
+ {664e6f0d-6784-4760-9565-d54f8eb1edf4}
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/extern/glew/build/vc6/Makefile b/extern/glew/build/vc6/Makefile
new file mode 100644
index 0000000000..5a4f5d6ab2
--- /dev/null
+++ b/extern/glew/build/vc6/Makefile
@@ -0,0 +1,21 @@
+MSDEV := msdev
+RM := rm -rf
+
+default:
+ $(MSDEV) glew.dsw /make \
+ "glew_static - Win32 Release" \
+ "glew_shared - Win32 Release" \
+ "glewinfo - Win32 Release" \
+ "visualinfo - Win32 Release" /build
+
+debug:
+ $(MSDEV) glew.dsw /make \
+ "glew_static - Win32 Debug" \
+ "glew_shared - Win32 Debug" \
+ "glewinfo - Win32 Debug" \
+ "visualinfo - Win32 Debug" /build
+
+
+clean:
+ $(MSDEV) glew.dsw /make all /clean
+ $(RM) static shared *.plg *.ncb *.opt
diff --git a/extern/glew/build/vc6/glew.dsw b/extern/glew/build/vc6/glew.dsw
new file mode 100644
index 0000000000..cd9a35b7c8
--- /dev/null
+++ b/extern/glew/build/vc6/glew.dsw
@@ -0,0 +1,71 @@
+Microsoft Developer Studio Workspace File, Format Version 6.00
+# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
+
+###############################################################################
+
+Project: "glew_shared"=.\glew_shared.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+}}}
+
+###############################################################################
+
+Project: "glew_static"=.\glew_static.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+}}}
+
+###############################################################################
+
+Project: "glewinfo"=.\glewinfo.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name glew_static
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Project: "visualinfo"=.\visualinfo.dsp - Package Owner=<4>
+
+Package=<5>
+{{{
+}}}
+
+Package=<4>
+{{{
+ Begin Project Dependency
+ Project_Dep_Name glew_static
+ End Project Dependency
+}}}
+
+###############################################################################
+
+Global:
+
+Package=<5>
+{{{
+}}}
+
+Package=<3>
+{{{
+}}}
+
+###############################################################################
+
diff --git a/extern/glew/build/vc6/glew_shared.dsp b/extern/glew/build/vc6/glew_shared.dsp
new file mode 100644
index 0000000000..a908eaff2e
--- /dev/null
+++ b/extern/glew/build/vc6/glew_shared.dsp
@@ -0,0 +1,122 @@
+# Microsoft Developer Studio Project File - Name="glew_shared" - Package Owner=<4>
+# Microsoft Developer Studio Generated Build File, Format Version 6.00
+# ** DO NOT EDIT **
+
+# TARGTYPE "Win32 (x86) Dynamic-Link Library" 0x0102
+
+CFG=glew_shared - Win32 Debug
+!MESSAGE This is not a valid makefile. To build this project using NMAKE,
+!MESSAGE use the Export Makefile command and run
+!MESSAGE
+!MESSAGE NMAKE /f "glew_shared.mak".
+!MESSAGE
+!MESSAGE You can specify a configuration when running NMAKE
+!MESSAGE by defining the macro CFG on the command line. For example:
+!MESSAGE
+!MESSAGE NMAKE /f "glew_shared.mak" CFG="glew_shared - Win32 Debug MX"
+!MESSAGE
+!MESSAGE Possible choices for configuration are:
+!MESSAGE
+!MESSAGE "glew_shared - Win32 Release" (based on "Win32 (x86) Dynamic-Link Library")
+!MESSAGE "glew_shared - Win32 Debug" (based on "Win32 (x86) Dynamic-Link Library")
+!MESSAGE
+
+# Begin Project
+# PROP AllowPerConfigDependencies 0
+# PROP Scc_ProjName ""
+# PROP Scc_LocalPath ""
+CPP=cl.exe
+MTL=midl.exe
+RSC=rc.exe
+
+!IF "$(CFG)" == "glew_shared - Win32 Release"
+
+# PROP BASE Use_MFC 0
+# PROP BASE Use_Debug_Libraries 0
+# PROP BASE Output_Dir "Release"
+# PROP BASE Intermediate_Dir "Release"
+# PROP BASE Target_Dir ""
+# PROP Use_MFC 0
+# PROP Use_Debug_Libraries 0
+# PROP Output_Dir "../../lib"
+# PROP Intermediate_Dir "shared/release"
+# PROP Ignore_Export_Lib 0
+# PROP Target_Dir ""
+# ADD BASE CPP /nologo /MT /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "GLEW_EXPORTS" /YX /FD /c /GS-
+# ADD CPP /nologo /W3 /O2 /I "../../include" /D "WIN32" /D "WIN32_LEAN_AND_MEAN" /D "VC_EXTRALEAN" /D "GLEW_BUILD" /YX /FD /c /GS-
+# ADD BASE MTL /nologo /D "NDEBUG" /mktyplib203 /win32
+# ADD MTL /nologo /D "NDEBUG" /mktyplib203 /win32
+# ADD BASE RSC /l 0x409 /d "NDEBUG"
+# ADD RSC /l 0x409 /d "NDEBUG"
+BSC32=bscmake.exe
+# ADD BASE BSC32 /nologo
+# ADD BSC32 /nologo
+LINK32=link.exe
+# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /machine:I386
+# ADD LINK32 opengl32.lib /nologo /dll /pdb:none /machine:I386 /out:"../../bin/glew32.dll" /ignore:4089
+# ADD LINK32 /base:0x62AA0000 /nodefaultlib /noentry
+
+!ELSEIF "$(CFG)" == "glew_shared - Win32 Debug"
+
+# PROP BASE Use_MFC 0
+# PROP BASE Use_Debug_Libraries 1
+# PROP BASE Output_Dir "Debug"
+# PROP BASE Intermediate_Dir "Debug"
+# PROP BASE Target_Dir ""
+# PROP Use_MFC 0
+# PROP Use_Debug_Libraries 1
+# PROP Output_Dir "../../lib"
+# PROP Intermediate_Dir "shared/debug"
+# PROP Ignore_Export_Lib 0
+# PROP Target_Dir ""
+# ADD BASE CPP /nologo /MTd /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_WINDOWS" /D "_MBCS" /D "_USRDLL" /D "GLEW_EXPORTS" /YX /FD /GZ /c /GS-
+# ADD CPP /nologo /MDd /W3 /Zi /Od /I "../../include" /D "WIN32" /D "WIN32_MEAN_AND_LEAN" /D "VC_EXTRALEAN" /D "GLEW_BUILD" /YX /FD /GZ /c /GS-
+# ADD BASE MTL /nologo /D "_DEBUG" /mktyplib203 /win32
+# ADD MTL /nologo /D "_DEBUG" /mktyplib203 /win32
+# ADD BASE RSC /l 0x409 /d "_DEBUG"
+# ADD RSC /l 0x409 /d "_DEBUG"
+BSC32=bscmake.exe
+# ADD BASE BSC32 /nologo
+# ADD BSC32 /nologo
+LINK32=link.exe
+# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /dll /debug /machine:I386 /pdbtype:sept
+# ADD LINK32 opengl32.lib /nologo /dll /incremental:no /debug /machine:I386 /out:"../../bin/glew32d.dll" /pdbtype:sept
+# SUBTRACT LINK32 /pdb:none
+# ADD LINK32 /base:0x62AA0000
+
+!ENDIF
+
+# Begin Target
+
+# Name "glew_shared - Win32 Release"
+# Name "glew_shared - Win32 Debug"
+# Begin Group "Source Files"
+
+# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
+# Begin Source File
+
+SOURCE=..\..\src\glew.c
+# End Source File
+# End Group
+# Begin Group "Header Files"
+
+# PROP Default_Filter "h;hpp;hxx;hm;inl"
+# Begin Source File
+
+SOURCE=..\..\include\GL\glew.h
+# End Source File
+# Begin Source File
+
+SOURCE=..\..\include\GL\wglew.h
+# End Source File
+# End Group
+# Begin Group "Resource Files"
+
+# PROP Default_Filter ""
+# Begin Source File
+
+SOURCE=..\glew.rc
+# End Source File
+# End Group
+# End Target
+# End Project
diff --git a/extern/glew/build/vc6/glew_static.dsp b/extern/glew/build/vc6/glew_static.dsp
new file mode 100644
index 0000000000..4e2abe04df
--- /dev/null
+++ b/extern/glew/build/vc6/glew_static.dsp
@@ -0,0 +1,112 @@
+# Microsoft Developer Studio Project File - Name="glew_static" - Package Owner=<4>
+# Microsoft Developer Studio Generated Build File, Format Version 6.00
+# ** DO NOT EDIT **
+
+# TARGTYPE "Win32 (x86) Static Library" 0x0104
+
+CFG=glew_static - Win32 Debug
+!MESSAGE This is not a valid makefile. To build this project using NMAKE,
+!MESSAGE use the Export Makefile command and run
+!MESSAGE
+!MESSAGE NMAKE /f "glew_static.mak".
+!MESSAGE
+!MESSAGE You can specify a configuration when running NMAKE
+!MESSAGE by defining the macro CFG on the command line. For example:
+!MESSAGE
+!MESSAGE NMAKE /f "glew_static.mak" CFG="glew_static - Win32 Debug MX"
+!MESSAGE
+!MESSAGE Possible choices for configuration are:
+!MESSAGE
+!MESSAGE "glew_static - Win32 Release" (based on "Win32 (x86) Static Library")
+!MESSAGE "glew_static - Win32 Debug" (based on "Win32 (x86) Static Library")
+!MESSAGE
+
+# Begin Project
+# PROP AllowPerConfigDependencies 0
+# PROP Scc_ProjName ""
+# PROP Scc_LocalPath ""
+CPP=cl.exe
+RSC=rc.exe
+
+!IF "$(CFG)" == "glew_static - Win32 Release"
+
+# PROP BASE Use_MFC 0
+# PROP BASE Use_Debug_Libraries 0
+# PROP BASE Output_Dir "Release"
+# PROP BASE Intermediate_Dir "Release"
+# PROP BASE Target_Dir ""
+# PROP Use_MFC 0
+# PROP Use_Debug_Libraries 0
+# PROP Output_Dir "../../lib"
+# PROP Intermediate_Dir "static/release"
+# PROP Target_Dir ""
+# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /YX /FD /c /GS-
+# ADD CPP /nologo /W3 /GX /O2 /I "../../include" /D "WIN32" /D "NDEBUG" /D "_MBCS" /D "_LIB" /D "WIN32_LEAN_AND_MEAN" /D "VC_EXTRALEAN" /D "GLEW_STATIC" /YX /FD /c /GS-
+# ADD BASE RSC /l 0x409 /d "NDEBUG"
+# ADD RSC /l 0x409 /d "NDEBUG" /d "GLEW_STATIC"
+BSC32=bscmake.exe
+# ADD BASE BSC32 /nologo
+# ADD BSC32 /nologo
+LIB32=link.exe -lib
+# ADD BASE LIB32 /nologo
+# ADD LIB32 /nologo /out:"../../lib/glew32s.lib"
+
+!ELSEIF "$(CFG)" == "glew_static - Win32 Debug"
+
+# PROP BASE Use_MFC 0
+# PROP BASE Use_Debug_Libraries 1
+# PROP BASE Output_Dir "Debug"
+# PROP BASE Intermediate_Dir "Debug"
+# PROP BASE Target_Dir ""
+# PROP Use_MFC 0
+# PROP Use_Debug_Libraries 1
+# PROP Output_Dir "../../lib"
+# PROP Intermediate_Dir "static/debug"
+# PROP Target_Dir ""
+# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /YX /FD /GZ /c
+# ADD CPP /nologo /MDd /W3 /GX /Zi /Od /I "../../include" /D "WIN32" /D "_DEBUG" /D "_MBCS" /D "_LIB" /D "WIN32_LEAN_AND_MEAN" /D "VC_EXTRALEAN" /D "GLEW_STATIC" /YX /FD /GZ /c
+# ADD BASE RSC /l 0x409 /d "_DEBUG"
+# ADD RSC /l 0x409 /d "_DEBUG" /d "GLEW_STATIC"
+BSC32=bscmake.exe
+# ADD BASE BSC32 /nologo
+# ADD BSC32 /nologo
+LIB32=link.exe -lib
+# ADD BASE LIB32 /nologo
+# ADD LIB32 /nologo /out:"../../lib/glew32sd.lib"
+
+!ENDIF
+
+# Begin Target
+
+# Name "glew_static - Win32 Release"
+# Name "glew_static - Win32 Debug"
+# Begin Group "Source Files"
+
+# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
+# Begin Source File
+
+SOURCE=..\..\src\glew.c
+# End Source File
+# End Group
+# Begin Group "Header Files"
+
+# PROP Default_Filter "h;hpp;hxx;hm;inl"
+# Begin Source File
+
+SOURCE=..\..\include\GL\glew.h
+# End Source File
+# Begin Source File
+
+SOURCE=..\..\include\GL\wglew.h
+# End Source File
+# End Group
+# Begin Group "Resources"
+
+# PROP Default_Filter ""
+# Begin Source File
+
+SOURCE=..\glew.rc
+# End Source File
+# End Group
+# End Target
+# End Project
diff --git a/extern/glew/build/vc6/glewinfo.dsp b/extern/glew/build/vc6/glewinfo.dsp
new file mode 100644
index 0000000000..8d732a43e3
--- /dev/null
+++ b/extern/glew/build/vc6/glewinfo.dsp
@@ -0,0 +1,103 @@
+# Microsoft Developer Studio Project File - Name="glewinfo" - Package Owner=<4>
+# Microsoft Developer Studio Generated Build File, Format Version 6.00
+# ** DO NOT EDIT **
+
+# TARGTYPE "Win32 (x86) Console Application" 0x0103
+
+CFG=glewinfo - Win32 Debug MX
+!MESSAGE This is not a valid makefile. To build this project using NMAKE,
+!MESSAGE use the Export Makefile command and run
+!MESSAGE
+!MESSAGE NMAKE /f "glewinfo.mak".
+!MESSAGE
+!MESSAGE You can specify a configuration when running NMAKE
+!MESSAGE by defining the macro CFG on the command line. For example:
+!MESSAGE
+!MESSAGE NMAKE /f "glewinfo.mak" CFG="glewinfo - Win32 Debug MX"
+!MESSAGE
+!MESSAGE Possible choices for configuration are:
+!MESSAGE
+!MESSAGE "glewinfo - Win32 Release" (based on "Win32 (x86) Console Application")
+!MESSAGE "glewinfo - Win32 Debug" (based on "Win32 (x86) Console Application")
+!MESSAGE
+
+# Begin Project
+# PROP AllowPerConfigDependencies 0
+# PROP Scc_ProjName ""
+# PROP Scc_LocalPath ""
+CPP=cl.exe
+RSC=rc.exe
+
+!IF "$(CFG)" == "glewinfo - Win32 Release"
+
+# PROP BASE Use_MFC 0
+# PROP BASE Use_Debug_Libraries 0
+# PROP BASE Output_Dir "Release"
+# PROP BASE Intermediate_Dir "Release"
+# PROP BASE Target_Dir ""
+# PROP Use_MFC 0
+# PROP Use_Debug_Libraries 0
+# PROP Output_Dir "../../bin"
+# PROP Intermediate_Dir "static/release"
+# PROP Ignore_Export_Lib 0
+# PROP Target_Dir ""
+# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
+# ADD CPP /nologo /W3 /GX /O2 /I "../../include" /D "WIN32" /D "WIN32_MEAN_AND_LEAN" /D "VC_EXTRALEAN" /D "GLEW_STATIC" /D "_CRT_SECURE_NO_WARNINGS" /YX /FD /c
+# ADD BASE RSC /l 0x409 /d "NDEBUG"
+# ADD RSC /l 0x409 /d "NDEBUG"
+BSC32=bscmake.exe
+# ADD BASE BSC32 /nologo
+# ADD BSC32 /nologo
+LINK32=link.exe
+# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
+# ADD LINK32 ../../lib/glew32s.lib opengl32.lib gdi32.lib user32.lib /nologo /subsystem:console /machine:I386
+
+!ELSEIF "$(CFG)" == "glewinfo - Win32 Debug"
+
+# PROP BASE Use_MFC 0
+# PROP BASE Use_Debug_Libraries 1
+# PROP BASE Output_Dir "Debug"
+# PROP BASE Intermediate_Dir "Debug"
+# PROP BASE Target_Dir ""
+# PROP Use_MFC 0
+# PROP Use_Debug_Libraries 1
+# PROP Output_Dir "../../bin"
+# PROP Intermediate_Dir "static/debug"
+# PROP Ignore_Export_Lib 0
+# PROP Target_Dir ""
+# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c
+# ADD CPP /nologo /MDd /W3 /GX /Zi /Od /I "../../include" /D "WIN32" /D "WIN32_LEAN_AND_MEAN" /D "VC_EXTRA_LEAN" /D "GLEW_STATIC" /D "_CRT_SECURE_NO_WARNINGS" /YX /FD /GZ /c
+# ADD BASE RSC /l 0x409 /d "_DEBUG"
+# ADD RSC /l 0x409 /d "_DEBUG"
+BSC32=bscmake.exe
+# ADD BASE BSC32 /nologo
+# ADD BSC32 /nologo
+LINK32=link.exe
+# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
+# ADD LINK32 ../../lib/glew32sd.lib opengl32.lib gdi32.lib user32.lib /nologo /subsystem:console /incremental:no /pdb:"static/debug/glewinfod.pdb" /debug /machine:I386 /out:"../../bin/glewinfod.exe" /pdbtype:sept
+# SUBTRACT LINK32 /pdb:none
+
+!ENDIF
+
+# Begin Target
+
+# Name "glewinfo - Win32 Release"
+# Name "glewinfo - Win32 Debug"
+# Begin Group "Source Files"
+
+# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
+# Begin Source File
+
+SOURCE=..\..\src\glewinfo.c
+# End Source File
+# End Group
+# Begin Group "Resource Files"
+
+# PROP Default_Filter ""
+# Begin Source File
+
+SOURCE=..\glewinfo.rc
+# End Source File
+# End Group
+# End Target
+# End Project
diff --git a/extern/glew/build/vc6/visualinfo.dsp b/extern/glew/build/vc6/visualinfo.dsp
new file mode 100644
index 0000000000..bd4c97e152
--- /dev/null
+++ b/extern/glew/build/vc6/visualinfo.dsp
@@ -0,0 +1,103 @@
+# Microsoft Developer Studio Project File - Name="visualinfo" - Package Owner=<4>
+# Microsoft Developer Studio Generated Build File, Format Version 6.00
+# ** DO NOT EDIT **
+
+# TARGTYPE "Win32 (x86) Console Application" 0x0103
+
+CFG=visualinfo - Win32 Debug MX
+!MESSAGE This is not a valid makefile. To build this project using NMAKE,
+!MESSAGE use the Export Makefile command and run
+!MESSAGE
+!MESSAGE NMAKE /f "visualinfo.mak".
+!MESSAGE
+!MESSAGE You can specify a configuration when running NMAKE
+!MESSAGE by defining the macro CFG on the command line. For example:
+!MESSAGE
+!MESSAGE NMAKE /f "visualinfo.mak" CFG="visualinfo - Win32 Debug MX"
+!MESSAGE
+!MESSAGE Possible choices for configuration are:
+!MESSAGE
+!MESSAGE "visualinfo - Win32 Release" (based on "Win32 (x86) Console Application")
+!MESSAGE "visualinfo - Win32 Debug" (based on "Win32 (x86) Console Application")
+!MESSAGE
+
+# Begin Project
+# PROP AllowPerConfigDependencies 0
+# PROP Scc_ProjName ""
+# PROP Scc_LocalPath ""
+CPP=cl.exe
+RSC=rc.exe
+
+!IF "$(CFG)" == "visualinfo - Win32 Release"
+
+# PROP BASE Use_MFC 0
+# PROP BASE Use_Debug_Libraries 0
+# PROP BASE Output_Dir "Release"
+# PROP BASE Intermediate_Dir "Release"
+# PROP BASE Target_Dir ""
+# PROP Use_MFC 0
+# PROP Use_Debug_Libraries 0
+# PROP Output_Dir "../../bin"
+# PROP Intermediate_Dir "static/release"
+# PROP Ignore_Export_Lib 0
+# PROP Target_Dir ""
+# ADD BASE CPP /nologo /W3 /GX /O2 /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /c
+# ADD CPP /nologo /W3 /GX /O2 /I "../../include" /D "WIN32" /D "WIN32_MEAN_AND_LEAN" /D "VC_EXTRALEAN" /D "GLEW_STATIC" /D "_CRT_SECURE_NO_WARNINGS" /YX /FD /c
+# ADD BASE RSC /l 0x409 /d "NDEBUG"
+# ADD RSC /l 0x409 /d "NDEBUG"
+BSC32=bscmake.exe
+# ADD BASE BSC32 /nologo
+# ADD BSC32 /nologo
+LINK32=link.exe
+# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /machine:I386
+# ADD LINK32 ../../lib/glew32s.lib glu32.lib opengl32.lib gdi32.lib user32.lib kernel32.lib /nologo /subsystem:console /machine:I386
+
+!ELSEIF "$(CFG)" == "visualinfo - Win32 Debug"
+
+# PROP BASE Use_MFC 0
+# PROP BASE Use_Debug_Libraries 1
+# PROP BASE Output_Dir "Debug"
+# PROP BASE Intermediate_Dir "Debug"
+# PROP BASE Target_Dir ""
+# PROP Use_MFC 0
+# PROP Use_Debug_Libraries 1
+# PROP Output_Dir "../../bin"
+# PROP Intermediate_Dir "static/debug"
+# PROP Ignore_Export_Lib 0
+# PROP Target_Dir ""
+# ADD BASE CPP /nologo /W3 /Gm /GX /ZI /Od /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /YX /FD /GZ /c
+# ADD CPP /nologo /MDd /W3 /GX /Zi /Od /I "../../include" /D "WIN32" /D "WIN32_LEAN_AND_MEAN" /D "VC_EXTRA_LEAN" /D "GLEW_STATIC" /D "_CRT_SECURE_NO_WARNINGS" /YX /FD /GZ /c
+# ADD BASE RSC /l 0x409 /d "_DEBUG"
+# ADD RSC /l 0x409 /d "_DEBUG"
+BSC32=bscmake.exe
+# ADD BASE BSC32 /nologo
+# ADD BSC32 /nologo
+LINK32=link.exe
+# ADD BASE LINK32 kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /debug /machine:I386 /pdbtype:sept
+# ADD LINK32 ../../lib/glew32sd.lib glu32.lib opengl32.lib gdi32.lib user32.lib kernel32.lib /nologo /subsystem:console /incremental:no /pdb:"static/debug/visualinfod.pdb" /debug /machine:I386 /out:"../../bin/visualinfod.exe" /pdbtype:sept
+# SUBTRACT LINK32 /pdb:none
+
+!ENDIF
+
+# Begin Target
+
+# Name "visualinfo - Win32 Release"
+# Name "visualinfo - Win32 Debug"
+# Begin Group "Source Files"
+
+# PROP Default_Filter "cpp;c;cxx;rc;def;r;odl;idl;hpj;bat"
+# Begin Source File
+
+SOURCE=..\..\src\visualinfo.c
+# End Source File
+# End Group
+# Begin Group "Resource Files"
+
+# PROP Default_Filter ""
+# Begin Source File
+
+SOURCE=..\visualinfo.rc
+# End Source File
+# End Group
+# End Target
+# End Project
diff --git a/extern/glew/build/visualinfo.rc b/extern/glew/build/visualinfo.rc
new file mode 100644
index 0000000000..d348512f4d
--- /dev/null
+++ b/extern/glew/build/visualinfo.rc
@@ -0,0 +1,124 @@
+
+#include
+
+#ifdef _DEBUG
+# define FILENAME "visualinfod.exe"
+#else
+# define FILENAME "visualinfo.exe"
+#endif
+
+/////////////////////////////////////////////////////////////////////////////
+//
+// Version
+//
+VS_VERSION_INFO VERSIONINFO
+FILEVERSION 2, 2, 0, 0
+PRODUCTVERSION 2, 2, 0, 0
+FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
+#ifdef _DEBUG
+FILEFLAGS VS_FF_DEBUG
+#else
+FILEFLAGS 0x0L
+#endif
+FILEOS VOS__WINDOWS32
+FILETYPE VFT_APP
+FILESUBTYPE VFT2_UNKNOWN
+BEGIN
+ BLOCK "StringFileInfo"
+ BEGIN
+ BLOCK "040904b0"
+ BEGIN
+ VALUE "Comments",
+ "The OpenGL Extension Wrangler Library\r\n"
+ "Copyright (C) 2008-2019, Nigel Stewart \r\n"
+ "Copyright (C) 2002-2008, Milan Ikits \r\n"
+ "Copyright (C) 2002-2008, Marcelo E. Magallon \r\n"
+ "Copyright (C) 2002, Lev Povalahev\r\n"
+ "All rights reserved.\r\n"
+ "\r\n"
+ "Redistribution and use in source and binary forms, with or without \r\n"
+ "modification, are permitted provided that the following conditions are met:\r\n"
+ "\r\n"
+ "* Redistributions of source code must retain the above copyright notice, \r\n"
+ " this list of conditions and the following disclaimer.\r\n"
+ "* Redistributions in binary form must reproduce the above copyright notice, \r\n"
+ " this list of conditions and the following disclaimer in the documentation \r\n"
+ " and/or other materials provided with the distribution.\r\n"
+ "* The name of the author may be used to endorse or promote products \r\n"
+ " derived from this software without specific prior written permission.\r\n"
+ "\r\n"
+ "THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ''AS IS'' \r\n"
+ "AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE \r\n"
+ "IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\r\n"
+ "ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE \r\n"
+ "LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR \r\n"
+ "CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF \r\n"
+ "SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS\r\n"
+ "INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN\r\n"
+ "CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\r\n"
+ "ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF\r\n"
+ "THE POSSIBILITY OF SUCH DAMAGE.\r\n"
+ "\r\n"
+ "\r\n"
+ "Mesa 3-D graphics library\r\n"
+ "\r\n"
+ "Version: 7.0\r\n"
+ "\r\n"
+ "Copyright (C) 1999-2007 Brian Paul All Rights Reserved.\r\n"
+ "\r\n"
+ "Permission is hereby granted, free of charge, to any person obtaining a\r\n"
+ "copy of this software and associated documentation files (the ''Software''),\r\n"
+ "to deal in the Software without restriction, including without limitation\r\n"
+ "the rights to use, copy, modify, merge, publish, distribute, sublicense,\r\n"
+ "and/or sell copies of the Software, and to permit persons to whom the\r\n"
+ "Software is furnished to do so, subject to the following conditions:\r\n"
+ "\r\n"
+ "The above copyright notice and this permission notice shall be included\r\n"
+ "in all copies or substantial portions of the Software.\r\n"
+ "\r\n"
+ "THE SOFTWARE IS PROVIDED ''AS IS'', WITHOUT WARRANTY OF ANY KIND, EXPRESS\r\n"
+ "OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\r\n"
+ "FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL\r\n"
+ "BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN\r\n"
+ "AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN\r\n"
+ "CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.\r\n"
+ "\r\n"
+ "\r\n"
+ "Copyright (c) 2007 The Khronos Group Inc.\r\n"
+ "\r\n"
+ "Permission is hereby granted, free of charge, to any person obtaining a\r\n"
+ "copy of this software and/or associated documentation files (the\r\n"
+ "''Materials''), to deal in the Materials without restriction, including\r\n"
+ "without limitation the rights to use, copy, modify, merge, publish,\r\n"
+ "distribute, sublicense, and/or sell copies of the Materials, and to\r\n"
+ "permit persons to whom the Materials are furnished to do so, subject to\r\n"
+ "the following conditions:\r\n"
+ "\r\n"
+ "The above copyright notice and this permission notice shall be included\r\n"
+ "in all copies or substantial portions of the Materials.\r\n"
+ "\r\n"
+ "THE MATERIALS ARE PROVIDED ''AS IS'', WITHOUT WARRANTY OF ANY KIND,\r\n"
+ "EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\r\n"
+ "MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.\r\n"
+ "IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY\r\n"
+ "CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,\r\n"
+ "TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE\r\n"
+ "MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.\0"
+ VALUE "CompanyName", "\0"
+ VALUE "FileDescription", "Utility for listing pixelformat capabilities\0"
+ VALUE "FileVersion", "2,2,0,0\0"
+ VALUE "InternalName", "visualinfo\0"
+ VALUE "LegalCopyright", "© 2002-2019 Nigel Stewart & Milan Ikits & Marcelo Magallon\0"
+ VALUE "LegalTrademarks", "\0"
+ VALUE "OriginalFilename", FILENAME "\0"
+ VALUE "PrivateBuild", "\0"
+ VALUE "ProductName", "The OpenGL Extension Wrangler Library\0"
+ VALUE "ProductVersion", "2,2,0,0\0"
+ VALUE "SpecialBuild", "\0"
+ END
+ END
+ BLOCK "VarFileInfo"
+ BEGIN
+ VALUE "Translation", 0x409, 1200
+ END
+END
diff --git a/extern/glew/config/Makefile.cygming b/extern/glew/config/Makefile.cygming
new file mode 100644
index 0000000000..dcd7b21cb0
--- /dev/null
+++ b/extern/glew/config/Makefile.cygming
@@ -0,0 +1,21 @@
+NAME = glew32
+GLEW_DEST = /usr
+BINDIR = /usr/bin
+LIBDIR = /usr/lib/mingw
+INCDIR = /usr/include/mingw/GL
+# use gcc for linking, with ld it does not work
+CC := gcc -mno-cygwin
+LD := gcc -mno-cygwin
+LN :=
+LDFLAGS.GL = -lopengl32 -lgdi32 -luser32 -lkernel32
+LDFLAGS.EXTRA = -L$(LIBDIR)
+CFLAGS.EXTRA += -fno-builtin -fno-stack-protector
+LDFLAGS.EXTRA += -nostdlib
+WARN = -Wall -W
+POPT = -O2
+BIN.SUFFIX = .exe
+LIB.SONAME = lib$(NAME).dll
+LIB.DEVLNK = lib$(NAME).dll.a # for mingw this is the dll import lib
+LIB.SHARED = $(NAME).dll
+LIB.STATIC = lib$(NAME).a # the static lib will be broken
+LDFLAGS.SO = -shared -Wl,-soname,$(LIB.SONAME) -Wl,--out-implib,lib/$(LIB.DEVLNK)
diff --git a/extern/glew/config/Makefile.cygwin b/extern/glew/config/Makefile.cygwin
new file mode 100644
index 0000000000..f4be222b12
--- /dev/null
+++ b/extern/glew/config/Makefile.cygwin
@@ -0,0 +1,20 @@
+NAME = GLEW
+GLEW_DEST ?= /usr
+# use gcc for linking, with ld it does not work
+CC := cc
+LD := cc
+LN :=
+CFLAGS.EXTRA += -D_WIN32
+LDFLAGS.EXTRA =
+LIBDIR = $(GLEW_DEST)/lib
+LDFLAGS.GL = -lOpenGL32 -mwindows
+LDFLAGS.STATIC = -Wl,-Bstatic
+LDFLAGS.DYNAMIC = -Wl,-Bdynamic
+WARN = -Wall -W
+POPT = -O2
+BIN.SUFFIX = .exe
+LIB.SONAME = cyg$(NAME)-$(GLEW_MAJOR)-$(GLEW_MINOR).dll
+LIB.DEVLNK = lib$(NAME).dll.a
+LIB.SHARED = cyg$(NAME)-$(GLEW_MAJOR)-$(GLEW_MINOR).dll
+LIB.STATIC = lib$(NAME).a
+LDFLAGS.SO = -shared -Wl,--out-implib,lib/$(LIB.DEVLNK)
diff --git a/extern/glew/config/Makefile.cygwin-x11 b/extern/glew/config/Makefile.cygwin-x11
new file mode 100644
index 0000000000..bc7e2fd277
--- /dev/null
+++ b/extern/glew/config/Makefile.cygwin-x11
@@ -0,0 +1,19 @@
+NAME = GLEW
+GLEW_DEST ?= /usr
+# use gcc for linking, with ld it does not work
+CC := cc
+LD := cc
+LN :=
+LDFLAGS.EXTRA =
+LIBDIR = $(GLEW_DEST)/lib
+LDFLAGS.GL = -lGL -lX11
+LDFLAGS.STATIC = -Wl,-Bstatic
+LDFLAGS.DYNAMIC = -Wl,-Bdynamic
+WARN = -Wall -W
+POPT = -O2
+BIN.SUFFIX = .exe
+LIB.SONAME = cyg$(NAME)-$(GLEW_MAJOR)-$(GLEW_MINOR).dll
+LIB.DEVLNK = lib$(NAME).dll.a
+LIB.SHARED = cyg$(NAME)-$(GLEW_MAJOR)-$(GLEW_MINOR).dll
+LIB.STATIC = lib$(NAME).a
+LDFLAGS.SO = -shared -Wl,--out-implib,lib/$(LIB.DEVLNK)
diff --git a/extern/glew/config/Makefile.darwin b/extern/glew/config/Makefile.darwin
new file mode 100644
index 0000000000..8030f054bc
--- /dev/null
+++ b/extern/glew/config/Makefile.darwin
@@ -0,0 +1,27 @@
+GLEW_DEST = /usr/local
+NAME = $(GLEW_NAME)
+CC = cc
+LD = cc
+CFLAGS.EXTRA += -dynamic -fno-common
+CFLAGS.EXTRA += -pedantic
+CFLAGS.EXTRA += -fPIC
+LDFLAGS.EXTRA =
+ifneq (undefined, $(origin GLEW_APPLE_GLX))
+CFLAGS.EXTRA += -std=c99
+CFLAGS.EXTRA += -I/usr/X11R6/include -D'GLEW_APPLE_GLX'
+LDFLAGS.GL = -L/usr/X11R6/lib -lGL -lX11
+else
+CFLAGS.EXTRA += -std=c89
+GLEW_NO_GLU = -DGLEW_NO_GLU
+LDFLAGS.GL = -framework OpenGL
+endif
+LDFLAGS.STATIC =
+LDFLAGS.DYNAMIC =
+WARN = -Wall -W
+POPT = -Os
+BIN.SUFFIX =
+LIB.SONAME = lib$(NAME).$(SO_MAJOR).dylib
+LIB.DEVLNK = lib$(NAME).dylib
+LIB.SHARED = lib$(NAME).$(SO_VERSION).dylib
+LIB.STATIC = lib$(NAME).a
+LDFLAGS.SO = -dynamiclib -install_name $(GLEW_DEST)/lib/$(LIB.SHARED) -current_version $(SO_VERSION) -compatibility_version $(SO_MAJOR)
diff --git a/extern/glew/config/Makefile.darwin-gcc6 b/extern/glew/config/Makefile.darwin-gcc6
new file mode 100644
index 0000000000..ecb61b3826
--- /dev/null
+++ b/extern/glew/config/Makefile.darwin-gcc6
@@ -0,0 +1,31 @@
+# For building with Brew gcc:
+# $ brew install gcc
+GLEW_DEST = /usr/local
+NAME = $(GLEW_NAME)
+CC = gcc-6
+LD = gcc-6
+CFLAGS.EXTRA += -dynamic -fno-common
+CFLAGS.EXTRA += -fPIC
+# Lots of warnings with -pedantic
+# warning: ISO C forbids conversion of object pointer to function pointer type
+#CFLAGS.EXTRA += -pedantic
+LDFLAGS.EXTRA =
+ifneq (undefined, $(origin GLEW_APPLE_GLX))
+CFLAGS.EXTRA += -std=c99
+CFLAGS.EXTRA += -I/usr/X11R6/include -D'GLEW_APPLE_GLX'
+LDFLAGS.GL = -L/usr/X11R6/lib -lGL -lX11
+else
+CFLAGS.EXTRA += -std=c89
+GLEW_NO_GLU = -DGLEW_NO_GLU
+LDFLAGS.GL = -framework OpenGL
+endif
+LDFLAGS.STATIC =
+LDFLAGS.DYNAMIC =
+WARN = -Wall -W
+POPT = -Os
+BIN.SUFFIX =
+LIB.SONAME = lib$(NAME).$(SO_MAJOR).dylib
+LIB.DEVLNK = lib$(NAME).dylib
+LIB.SHARED = lib$(NAME).$(SO_VERSION).dylib
+LIB.STATIC = lib$(NAME).a
+LDFLAGS.SO = -dynamiclib -install_name $(GLEW_DEST)/lib/$(LIB.SHARED) -current_version $(SO_VERSION) -compatibility_version $(SO_MAJOR)
diff --git a/extern/glew/config/Makefile.darwin-ppc b/extern/glew/config/Makefile.darwin-ppc
new file mode 100644
index 0000000000..7a41736199
--- /dev/null
+++ b/extern/glew/config/Makefile.darwin-ppc
@@ -0,0 +1,30 @@
+# Note: Mac PPC is obsolete but the configuration
+# is here for reference.
+GLEW_DEST = /usr/local
+NAME = $(GLEW_NAME)
+CC = cc
+LD = cc
+CFLAGS.EXTRA += -arch ppc
+CFLAGS.EXTRA += -dynamic -fno-common
+CFLAGS.EXTRA += -pedantic
+CFLAGS.EXTRA += -fPIC
+LDFLAGS.EXTRA = -arch ppc
+ifneq (undefined, $(origin GLEW_APPLE_GLX))
+CFLAGS.EXTRA += -std=c99
+CFLAGS.EXTRA += -I/usr/X11R6/include -D'GLEW_APPLE_GLX'
+LDFLAGS.GL = -L/usr/X11R6/lib -lGL -lX11
+else
+CFLAGS.EXTRA += -std=c89
+GLEW_NO_GLU = -DGLEW_NO_GLU
+LDFLAGS.GL = -framework OpenGL
+endif
+LDFLAGS.STATIC =
+LDFLAGS.DYNAMIC =
+WARN = -Wall -W
+POPT = -Os
+BIN.SUFFIX =
+LIB.SONAME = lib$(NAME).$(SO_MAJOR).dylib
+LIB.DEVLNK = lib$(NAME).dylib
+LIB.SHARED = lib$(NAME).$(SO_VERSION).dylib
+LIB.STATIC = lib$(NAME).a
+LDFLAGS.SO = -dynamiclib -install_name $(GLEW_DEST)/lib/$(LIB.SHARED) -current_version $(SO_VERSION) -compatibility_version $(SO_MAJOR)
diff --git a/extern/glew/config/Makefile.darwin-universal b/extern/glew/config/Makefile.darwin-universal
new file mode 100644
index 0000000000..f2412e36fc
--- /dev/null
+++ b/extern/glew/config/Makefile.darwin-universal
@@ -0,0 +1,33 @@
+#
+# Needs to be clang toolchain for universal: -arch i386 -arch x86_64
+#
+GLEW_DEST = /usr/local
+NAME = $(GLEW_NAME)
+CC = cc
+LD = cc
+AR =
+LIBTOOL = libtool -static -o
+STRIP =
+CFLAGS.EXTRA = -dynamic -fno-common
+CFLAGS.EXTRA += -pedantic
+CFLAGS.EXTRA += -fPIC
+CFLAGS.EXTRA += -arch i386 -arch x86_64
+LDFLAGS.EXTRA = -arch i386 -arch x86_64
+ifneq (undefined, $(origin GLEW_APPLE_GLX))
+CFLAGS.EXTRA += -std=c99
+CFLAGS.EXTRA += -I/usr/X11R6/include -D'GLEW_APPLE_GLX'
+LDFLAGS.GL = -L/usr/X11R6/lib -lGL -lX11
+else
+CFLAGS.EXTRA += -std=c89
+GLEW_NO_GLU = -DGLEW_NO_GLU
+LDFLAGS.GL = -framework OpenGL
+endif
+LDFLAGS.DYNAMIC =
+WARN = -Wall -W
+POPT = -Os
+BIN.SUFFIX =
+LIB.SONAME = lib$(NAME).$(SO_MAJOR).dylib
+LIB.DEVLNK = lib$(NAME).dylib
+LIB.SHARED = lib$(NAME).$(SO_VERSION).dylib
+LIB.STATIC = lib$(NAME).a
+LDFLAGS.SO = -dynamiclib -install_name $(GLEW_DEST)/lib/$(LIB.SHARED) -current_version $(SO_VERSION) -compatibility_version $(SO_MAJOR)
diff --git a/extern/glew/config/Makefile.darwin-x86_64 b/extern/glew/config/Makefile.darwin-x86_64
new file mode 100644
index 0000000000..dbed9679b2
--- /dev/null
+++ b/extern/glew/config/Makefile.darwin-x86_64
@@ -0,0 +1,28 @@
+GLEW_DEST = /usr/local
+NAME = $(GLEW_NAME)
+CC = cc
+LD = cc
+CFLAGS.EXTRA += -arch x86_64
+CFLAGS.EXTRA += -dynamic -fno-common
+CFLAGS.EXTRA += -pedantic
+CFLAGS.EXTRA += -fPIC
+LDFLAGS.EXTRA = -arch x86_64
+ifneq (undefined, $(origin GLEW_APPLE_GLX))
+CFLAGS.EXTRA += -std=c99
+CFLAGS.EXTRA += -I/usr/X11R6/include -D'GLEW_APPLE_GLX'
+LDFLAGS.GL = -L/usr/X11R6/lib -lGL -lX11
+else
+CFLAGS.EXTRA += -std=c89
+GLEW_NO_GLU = -DGLEW_NO_GLU
+LDFLAGS.GL = -framework OpenGL
+endif
+LDFLAGS.STATIC =
+LDFLAGS.DYNAMIC =
+WARN = -Wall -W
+POPT = -Os
+BIN.SUFFIX =
+LIB.SONAME = lib$(NAME).$(SO_MAJOR).dylib
+LIB.DEVLNK = lib$(NAME).dylib
+LIB.SHARED = lib$(NAME).$(SO_VERSION).dylib
+LIB.STATIC = lib$(NAME).a
+LDFLAGS.SO = -dynamiclib -install_name $(GLEW_DEST)/lib/$(LIB.SHARED) -current_version $(SO_VERSION) -compatibility_version $(SO_MAJOR)
diff --git a/extern/glew/config/Makefile.fedora-mingw32 b/extern/glew/config/Makefile.fedora-mingw32
new file mode 100644
index 0000000000..9bad92a38c
--- /dev/null
+++ b/extern/glew/config/Makefile.fedora-mingw32
@@ -0,0 +1,12 @@
+# For cross-compiling from Linux to Windows x86 using mingw32
+# http://www.mingw.org/
+#
+# $ make SYSTEM=fedora-mingw32
+
+include config/Makefile.linux-mingw32
+
+CC := i686-pc-mingw32-gcc
+LD := i686-pc-mingw32-ld
+LDFLAGS.GL += -L/usr/i686-pc-mingw32/sys-root/mingw/lib
+CFLAGS.EXTRA += -fno-builtin -fno-stack-protector
+LDFLAGS.EXTRA += -nostdlib
diff --git a/extern/glew/config/Makefile.flatpak-32 b/extern/glew/config/Makefile.flatpak-32
new file mode 100644
index 0000000000..2c106dea81
--- /dev/null
+++ b/extern/glew/config/Makefile.flatpak-32
@@ -0,0 +1,24 @@
+NAME = $(GLEW_NAME)
+CC = /usr/lib/sdk/toolchain-i386/bin/i686-unknown-linux-gnu-gcc -m32 -L/lib/i386-linux-gnu
+LD = /usr/lib/sdk/toolchain-i386/bin/i686-unknown-linux-gnu-gcc -m32 -L/lib/i386-linux-gnu
+LDFLAGS.EXTRA += -m32
+LDFLAGS.EXTRA += -L/lib/i386-linux-gnu
+LIBDIR = $(GLEW_DEST)/lib32
+LDFLAGS.GL = -lGL -lX11
+LDFLAGS.STATIC = -Wl,-Bstatic
+LDFLAGS.DYNAMIC = -Wl,-Bdynamic
+WARN += -Wall -W
+WARN += -Wshadow
+WARN += -pedantic
+POPT = -O2
+CFLAGS.EXTRA += -m32
+CFLAGS.EXTRA += -fPIC
+CFLAGS.EXTRA += -Wcast-qual
+CFLAGS.EXTRA += -ansi -pedantic
+CFLAGS.EXTRA += -fno-stack-protector
+BIN.SUFFIX =
+LIB.SONAME = lib$(NAME).so.$(SO_MAJOR)
+LIB.DEVLNK = lib$(NAME).so
+LIB.SHARED = lib$(NAME).so.$(SO_VERSION)
+LIB.STATIC = lib$(NAME).a
+LDFLAGS.SO = -m32 -shared -Wl,-soname=$(LIB.SONAME)
diff --git a/extern/glew/config/Makefile.freebsd b/extern/glew/config/Makefile.freebsd
new file mode 100644
index 0000000000..0ef81ce6d9
--- /dev/null
+++ b/extern/glew/config/Makefile.freebsd
@@ -0,0 +1,19 @@
+# As of FreeBSD12 X11 is in /usr/local
+
+NAME = $(GLEW_NAME)
+CC = cc
+LD = ld
+LDFLAGS.EXTRA = -L/usr/local/lib
+LDFLAGS.GL = -lGL -lX11
+LDFLAGS.STATIC = -Wl,-Bstatic
+LDFLAGS.DYNAMIC = -Wl,-Bdynamic
+CFLAGS.EXTRA += -I/usr/local/include -fPIC
+NAME = GLEW
+WARN = -Wall -W
+POPT = -O2
+BIN.SUFFIX =
+LIB.SONAME = lib$(NAME).so.$(SO_MAJOR)
+LIB.DEVLNK = lib$(NAME).so
+LIB.SHARED = lib$(NAME).so.$(SO_VERSION)
+LIB.STATIC = lib$(NAME).a
+LDFLAGS.SO = -shared -soname $(LIB.SONAME)
diff --git a/extern/glew/config/Makefile.gnu b/extern/glew/config/Makefile.gnu
new file mode 100644
index 0000000000..8d4f07eee3
--- /dev/null
+++ b/extern/glew/config/Makefile.gnu
@@ -0,0 +1,17 @@
+NAME = $(GLEW_NAME)
+CC = cc
+LD = cc
+LDFLAGS.EXTRA = -L/usr/X11R6/lib
+LDFLAGS.GL = -lGL -lX11
+LDFLAGS.STATIC = -Wl,-Bstatic
+LDFLAGS.DYNAMIC = -Wl,-Bdynamic
+NAME = GLEW
+WARN = -Wall -W
+POPT = -O2
+CFLAGS.EXTRA += -fPIC
+BIN.SUFFIX =
+LIB.SONAME = lib$(NAME).so.$(SO_MAJOR)
+LIB.DEVLNK = lib$(NAME).so
+LIB.SHARED = lib$(NAME).so.$(SO_VERSION)
+LIB.STATIC = lib$(NAME).a
+LDFLAGS.SO = -shared -Wl,-soname=$(LIB.SONAME)
diff --git a/extern/glew/config/Makefile.haiku b/extern/glew/config/Makefile.haiku
new file mode 100644
index 0000000000..b8b7bd114b
--- /dev/null
+++ b/extern/glew/config/Makefile.haiku
@@ -0,0 +1,20 @@
+NAME = $(GLEW_NAME)
+CC = cc
+LD = cc
+
+LDFLAGS.GL = -lGL
+LDFLAGS.STATIC = -Wl,-Bstatic
+LDFLAGS.DYNAMIC = -Wl,-Bdynamic
+
+NAME = GLEW
+WARN = -Wall -W
+POPT = -O2
+
+BIN.SUFFIX =
+
+LIB.SONAME = lib$(NAME).so.$(SO_MAJOR)
+LIB.DEVLNK = lib$(NAME).so
+LIB.SHARED = lib$(NAME).so.$(SO_VERSION)
+LIB.STATIC = lib$(NAME).a
+LDFLAGS.SO = -shared -Wl,-soname=$(LIB.SONAME)
+
diff --git a/extern/glew/config/Makefile.irix b/extern/glew/config/Makefile.irix
new file mode 100644
index 0000000000..ef8f830e10
--- /dev/null
+++ b/extern/glew/config/Makefile.irix
@@ -0,0 +1,17 @@
+NAME = $(GLEW_NAME)
+CC = cc
+LD = ld
+ABI = -64# -n32
+CC += $(ABI)
+LD += $(ABI)
+LDFLAGS.EXTRA =
+LDFLAGS.GL = -lGL -lXext -lX11
+NAME = GLEW
+WARN = -fullwarn -woff 1110,1498
+POPT = -O2 -OPT:Olimit=0
+BIN.SUFFIX =
+LIB.SONAME = lib$(NAME).so.$(SO_MAJOR)
+LIB.DEVLNK = lib$(NAME).so
+LIB.SHARED = lib$(NAME).so.$(SO_VERSION)
+LIB.STATIC = lib$(NAME).a
+LDFLAGS.SO = -shared -soname $(LIB.SONAME)
diff --git a/extern/glew/config/Makefile.kfreebsd b/extern/glew/config/Makefile.kfreebsd
new file mode 100644
index 0000000000..e2ff5c3dd5
--- /dev/null
+++ b/extern/glew/config/Makefile.kfreebsd
@@ -0,0 +1,17 @@
+NAME = $(GLEW_NAME)
+CC = cc
+LD = cc
+LDFLAGS.EXTRA = -L/usr/X11R6/lib
+LDFLAGS.GL = -lGL -lX11
+LDFLAGS.STATIC = -Wl,-Bstatic
+LDFLAGS.DYNAMIC = -Wl,-Bdynamic
+NAME = GLEW
+WARN = -Wall -W
+POPT = -O2
+CFLAGS.EXTRA += -fPIC
+BIN.SUFFIX =
+LIB.SONAME = lib$(NAME).so.$(SO_MAJOR)
+LIB.DEVLNK = lib$(NAME).so
+LIB.SHARED = lib$(NAME).so.$(SO_VERSION)
+LIB.STATIC = lib$(NAME).a
+LDFLAGS.SO = -shared -Wl,-soname $(LIB.SONAME)
diff --git a/extern/glew/config/Makefile.linux b/extern/glew/config/Makefile.linux
new file mode 100644
index 0000000000..694a98d8d6
--- /dev/null
+++ b/extern/glew/config/Makefile.linux
@@ -0,0 +1,39 @@
+NAME = $(GLEW_NAME)
+CC = cc
+LD = cc
+M_ARCH ?= $(shell uname -m)
+ARCH64 = false
+ifeq (x86_64,${M_ARCH})
+ ARCH64 = true
+endif
+ifeq (ppc64,${M_ARCH})
+ ARCH64 = true
+endif
+ifeq (e2k,${M_ARCH})
+ ARCH64 = true
+endif
+ifeq (${ARCH64},true)
+ LDFLAGS.EXTRA = -L/usr/X11R6/lib64 -L/usr/lib64
+ LIBDIR = $(GLEW_DEST)/lib64
+else
+ LDFLAGS.EXTRA = -L/usr/X11R6/lib -L/usr/lib
+ LIBDIR = $(GLEW_DEST)/lib
+endif
+LDFLAGS.GL = -lGL -lX11
+LDFLAGS.STATIC = -Wl,-Bstatic
+LDFLAGS.DYNAMIC = -Wl,-Bdynamic
+NAME = GLEW
+WARN += -Wall -W
+WARN += -Wshadow
+WARN += -pedantic
+POPT = -O2
+CFLAGS.EXTRA += -fPIC
+CFLAGS.EXTRA += -Wcast-qual
+CFLAGS.EXTRA += -ansi -pedantic
+CFLAGS.EXTRA += -fno-stack-protector
+BIN.SUFFIX =
+LIB.SONAME = lib$(NAME).so.$(SO_MAJOR)
+LIB.DEVLNK = lib$(NAME).so
+LIB.SHARED = lib$(NAME).so.$(SO_VERSION)
+LIB.STATIC = lib$(NAME).a
+LDFLAGS.SO = -shared -Wl,-soname=$(LIB.SONAME)
diff --git a/extern/glew/config/Makefile.linux-clang b/extern/glew/config/Makefile.linux-clang
new file mode 100644
index 0000000000..75a43f8fa5
--- /dev/null
+++ b/extern/glew/config/Makefile.linux-clang
@@ -0,0 +1,34 @@
+NAME = $(GLEW_NAME)
+CC = clang
+LD = clang
+M_ARCH ?= $(shell uname -m)
+ARCH64 = false
+ifeq (x86_64,${M_ARCH})
+ ARCH64 = true
+endif
+ifeq (ppc64,${M_ARCH})
+ ARCH64 = true
+endif
+ifeq (${ARCH64},true)
+ LDFLAGS.EXTRA = -L/usr/X11R6/lib64 -L/usr/lib64
+ LIBDIR = $(GLEW_DEST)/lib64
+else
+ LDFLAGS.EXTRA = -L/usr/X11R6/lib -L/usr/lib
+ LIBDIR = $(GLEW_DEST)/lib
+endif
+LDFLAGS.GL = -lGL -lX11
+LDFLAGS.STATIC = -Wl,-Bstatic
+LDFLAGS.DYNAMIC = -Wl,-Bdynamic
+NAME = GLEW
+WARN = -Wall -W
+POPT = -O2
+CFLAGS.EXTRA += -fPIC
+CFLAGS.EXTRA += -Wcast-qual
+CFLAGS.EXTRA += -std=c89 -pedantic
+CFLAGS.EXTRA += -fno-stack-protector
+BIN.SUFFIX =
+LIB.SONAME = lib$(NAME).so.$(SO_MAJOR)
+LIB.DEVLNK = lib$(NAME).so
+LIB.SHARED = lib$(NAME).so.$(SO_VERSION)
+LIB.STATIC = lib$(NAME).a
+LDFLAGS.SO = -shared -Wl,-soname=$(LIB.SONAME)
diff --git a/extern/glew/config/Makefile.linux-clang-egl b/extern/glew/config/Makefile.linux-clang-egl
new file mode 100644
index 0000000000..ca06419bf3
--- /dev/null
+++ b/extern/glew/config/Makefile.linux-clang-egl
@@ -0,0 +1,4 @@
+include config/Makefile.linux-clang
+
+LDFLAGS.GL = -lEGL -lGL
+CFLAGS.EXTRA += -DGLEW_EGL
diff --git a/extern/glew/config/Makefile.linux-egl b/extern/glew/config/Makefile.linux-egl
new file mode 100644
index 0000000000..bcdc3cb0d3
--- /dev/null
+++ b/extern/glew/config/Makefile.linux-egl
@@ -0,0 +1,4 @@
+include config/Makefile.linux
+
+LDFLAGS.GL = -lEGL -lGL
+CFLAGS.EXTRA += -DGLEW_EGL
diff --git a/extern/glew/config/Makefile.linux-mingw32 b/extern/glew/config/Makefile.linux-mingw32
new file mode 100644
index 0000000000..e4e4d5fb4e
--- /dev/null
+++ b/extern/glew/config/Makefile.linux-mingw32
@@ -0,0 +1,22 @@
+# For cross-compiling from Linux to Windows 32-bit using mingw32
+# http://mingw-w64.org/
+#
+# $ sudo apt install mingw-w64
+# $ make SYSTEM=linux-mingw32
+
+NAME := glew32
+HOST := i686-w64-mingw32
+CC := $(HOST)-gcc
+LD := $(HOST)-ld
+LN :=
+STRIP :=
+LDFLAGS.GL = -L/usr/$(HOST)/lib -lopengl32 -lgdi32 -luser32 -lkernel32
+CFLAGS.EXTRA += -fno-builtin -fno-stack-protector
+WARN = -Wall -W
+POPT = -O2
+BIN.SUFFIX = .exe
+LIB.SONAME = lib$(NAME).dll
+LIB.DEVLNK = lib$(NAME).dll.a # for mingw this is the dll import lib
+LIB.SHARED = $(NAME).dll
+LIB.STATIC = lib$(NAME).a # the static lib will be broken
+LDFLAGS.SO = -nostdlib -shared -soname $(LIB.SONAME) --out-implib lib/$(LIB.DEVLNK)
diff --git a/extern/glew/config/Makefile.linux-mingw64 b/extern/glew/config/Makefile.linux-mingw64
new file mode 100644
index 0000000000..33db444034
--- /dev/null
+++ b/extern/glew/config/Makefile.linux-mingw64
@@ -0,0 +1,22 @@
+# For cross-compiling from Linux to Windows 64-bit using mingw64
+# http://mingw-w64.org/
+#
+# $ sudo apt install mingw-w64
+# $ make SYSTEM=linux-mingw64
+
+NAME := glew32
+HOST := x86_64-w64-mingw32
+CC := $(HOST)-gcc
+LD := $(HOST)-ld
+LN :=
+STRIP :=
+LDFLAGS.GL = -L/usr/$(HOST)/lib -lopengl32 -lgdi32 -luser32 -lkernel32
+CFLAGS.EXTRA += -fno-builtin -fno-stack-protector
+WARN = -Wall -W
+POPT = -O2
+BIN.SUFFIX = .exe
+LIB.SONAME = lib$(NAME).dll
+LIB.DEVLNK = lib$(NAME).dll.a # for mingw this is the dll import lib
+LIB.SHARED = $(NAME).dll
+LIB.STATIC = lib$(NAME).a # the static lib will be broken
+LDFLAGS.SO = -nostdlib -shared -soname $(LIB.SONAME) --out-implib lib/$(LIB.DEVLNK)
diff --git a/extern/glew/config/Makefile.linux-osmesa b/extern/glew/config/Makefile.linux-osmesa
new file mode 100644
index 0000000000..c95787217a
--- /dev/null
+++ b/extern/glew/config/Makefile.linux-osmesa
@@ -0,0 +1,4 @@
+include config/Makefile.linux
+
+LDFLAGS.GL = -lOSMesa
+CFLAGS.EXTRA += -DGLEW_OSMESA
diff --git a/extern/glew/config/Makefile.mingw b/extern/glew/config/Makefile.mingw
new file mode 100644
index 0000000000..3f413ee64a
--- /dev/null
+++ b/extern/glew/config/Makefile.mingw
@@ -0,0 +1,17 @@
+NAME = glew32
+# use gcc for linking, with ld it does not work
+CC := gcc -fno-builtin
+LD := gcc
+LN :=
+LDFLAGS.GL = -lopengl32 -lgdi32 -luser32 -lkernel32
+LDFLAGS.EXTRA = -L/mingw/lib
+CFLAGS.EXTRA += -fno-builtin -fno-stack-protector
+LDFLAGS.EXTRA += -nostdlib
+WARN = -Wall -W
+POPT = -O2
+BIN.SUFFIX = .exe
+LIB.SONAME = lib$(NAME).dll
+LIB.DEVLNK = lib$(NAME).dll.a # for mingw this is the dll import lib
+LIB.SHARED = $(NAME).dll
+LIB.STATIC = lib$(NAME).a # the static lib will be broken
+LDFLAGS.SO = -shared -Wl,-soname,$(LIB.SONAME) -Wl,--out-implib,lib/$(LIB.DEVLNK)
diff --git a/extern/glew/config/Makefile.mingw-win32 b/extern/glew/config/Makefile.mingw-win32
new file mode 100644
index 0000000000..347efd64d2
--- /dev/null
+++ b/extern/glew/config/Makefile.mingw-win32
@@ -0,0 +1,5 @@
+include config/Makefile.mingw
+
+POPT := -march=i686 -mtune=generic -O2
+CFLAGS.EXTRA += -m32
+LDFLAGS.EXTRA += -m32
diff --git a/extern/glew/config/Makefile.msys b/extern/glew/config/Makefile.msys
new file mode 100644
index 0000000000..d6fc680ff0
--- /dev/null
+++ b/extern/glew/config/Makefile.msys
@@ -0,0 +1,20 @@
+NAME = glew32
+# use gcc for linking, with ld it does not work
+CC := gcc
+LD := gcc
+LN :=
+CFLAGS.EXTRA += -D_WIN32
+LDFLAGS.GL = -lopengl32 -lgdi32 -luser32 -lkernel32
+LDFLAGS.EXTRA =
+CFLAGS.EXTRA += -fno-builtin -fno-stack-protector
+LIBDIR = $(GLEW_DEST)/bin
+WARN += -Wall -W
+WARN += -Wno-cast-function-type
+POPT = -O2
+BIN.SUFFIX = .exe
+LIB.SONAME = lib$(NAME).dll
+LIB.DEVLNK = lib$(NAME).dll.a # for mingw this is the dll import lib
+LIB.SHARED = $(NAME).dll
+LIB.SHARED.DIR = bin
+LIB.STATIC = lib$(NAME).a # the static lib will be broken
+LDFLAGS.SO = -shared -Wl,-soname,$(LIB.SONAME) -Wl,--out-implib,lib/$(LIB.DEVLNK)
diff --git a/extern/glew/config/Makefile.msys-win32 b/extern/glew/config/Makefile.msys-win32
new file mode 100644
index 0000000000..160d3ebf73
--- /dev/null
+++ b/extern/glew/config/Makefile.msys-win32
@@ -0,0 +1,5 @@
+include config/Makefile.msys
+
+POPT := -march=i686 -mtune=generic -O2
+CFLAGS.EXTRA += -m32
+LDFLAGS.EXTRA += -m32
diff --git a/extern/glew/config/Makefile.msys-win64 b/extern/glew/config/Makefile.msys-win64
new file mode 100644
index 0000000000..c1c785a798
--- /dev/null
+++ b/extern/glew/config/Makefile.msys-win64
@@ -0,0 +1,5 @@
+include config/Makefile.msys
+
+POPT := -mtune=generic -O2
+CFLAGS.EXTRA += -m64
+LDFLAGS.EXTRA += -m64
diff --git a/extern/glew/config/Makefile.nacl-32 b/extern/glew/config/Makefile.nacl-32
new file mode 100644
index 0000000000..2182ceeb2e
--- /dev/null
+++ b/extern/glew/config/Makefile.nacl-32
@@ -0,0 +1,31 @@
+NAME = $(REGAL_NAME)
+
+M_PREFIX = i686
+M_NAME ?= $(shell uname -s)
+ifeq (Linux,${M_NAME})
+M_PREFIX = i686
+endif
+
+CC = $(M_PREFIX)-nacl-gcc
+CXX = $(M_PREFIX)-nacl-g++
+LD = $(M_PREFIX)-nacl-ld
+STRIP ?=
+EXT.DYNAMIC = so
+LDFLAGS.EXTRA =
+LIBDIR =
+CFLAGS.EXTRA += -fPIC
+CFLAGS.EXTRA += -m32
+LDFLAGS.EXTRA += -melf_nacl
+LDFLAGS.GL =
+LDFLAGS.GLU = -lRegalGLU
+LDFLAGS.GLUT = -lRegalGLUT
+LDFLAGS.STATIC =
+LDFLAGS.DYNAMIC = -shared
+WARN = -Wall -W -Wno-unused-parameter
+POPT = -O2
+BIN.SUFFIX =
+LIB.SONAME = lib$(NAME).so.$(SO_MAJOR)
+LIB.DEVLNK = lib$(NAME).so
+LIB.SHARED = lib$(NAME).so.$(SO_VERSION)
+LIB.STATIC = lib$(NAME).a
+LDFLAGS.SO = $(LDFLAGS.DYNAMIC) -soname=$(LIB.SONAME)
diff --git a/extern/glew/config/Makefile.nacl-64 b/extern/glew/config/Makefile.nacl-64
new file mode 100644
index 0000000000..d6135ea7a9
--- /dev/null
+++ b/extern/glew/config/Makefile.nacl-64
@@ -0,0 +1,31 @@
+NAME = $(REGAL_NAME)
+
+M_PREFIX = i686
+M_NAME ?= $(shell uname -s)
+ifeq (Linux,${M_NAME})
+M_PREFIX = i686
+endif
+
+CC = $(M_PREFIX)-nacl-gcc
+CXX = $(M_PREFIX)-nacl-g++
+LD = $(M_PREFIX)-nacl-ld
+STRIP ?=
+EXT.DYNAMIC = so
+LDFLAGS.EXTRA =
+LIBDIR =
+CFLAGS.EXTRA += -fPIC
+CFLAGS.EXTRA += -m64
+LDFLAGS.EXTRA += -melf64_nacl
+LDFLAGS.GL =
+LDFLAGS.GLU = -lRegalGLU
+LDFLAGS.GLUT = -lRegalGLUT
+LDFLAGS.STATIC =
+LDFLAGS.DYNAMIC = -shared
+WARN = -Wall -W -Wno-unused-parameter
+POPT = -O2
+BIN.SUFFIX =
+LIB.SONAME = lib$(NAME).so.$(SO_MAJOR)
+LIB.DEVLNK = lib$(NAME).so
+LIB.SHARED = lib$(NAME).so.$(SO_VERSION)
+LIB.STATIC = lib$(NAME).a
+LDFLAGS.SO = $(LDFLAGS.DYNAMIC) -soname=$(LIB.SONAME)
diff --git a/extern/glew/config/Makefile.netbsd b/extern/glew/config/Makefile.netbsd
new file mode 100644
index 0000000000..d2db8a9925
--- /dev/null
+++ b/extern/glew/config/Makefile.netbsd
@@ -0,0 +1,17 @@
+NAME = $(GLEW_NAME)
+CC = cc
+LD = ld
+LDFLAGS.EXTRA = -L/usr/X11R7/lib -R /usr/X11R7/lib
+LDFLAGS.GL = -lGL -lX11
+LDFLAGS.STATIC = -Wl,-Bstatic
+LDFLAGS.DYNAMIC = -Wl,-Bdynamic
+CFLAGS.EXTRA += -I/usr/X11R7/include -fPIC
+NAME = GLEW
+WARN = -Wall -W
+POPT = -O2
+BIN.SUFFIX =
+LIB.SONAME = lib$(NAME).so.$(SO_MAJOR)
+LIB.DEVLNK = lib$(NAME).so
+LIB.SHARED = lib$(NAME).so.$(SO_VERSION)
+LIB.STATIC = lib$(NAME).a
+LDFLAGS.SO = -shared -soname $(LIB.SONAME)
diff --git a/extern/glew/config/Makefile.openbsd b/extern/glew/config/Makefile.openbsd
new file mode 100644
index 0000000000..b64910ce3c
--- /dev/null
+++ b/extern/glew/config/Makefile.openbsd
@@ -0,0 +1,17 @@
+NAME = $(GLEW_NAME)
+CC = cc
+LD = ld
+LDFLAGS.EXTRA = -L/usr/X11R6/lib
+LDFLAGS.GL = -lGLU -lGL -lX11 -lm
+LDFLAGS.STATIC = -Wl,-Bstatic
+LDFLAGS.DYNAMIC = -Wl,-Bdynamic
+CFLAGS.EXTRA += -I/usr/X11R6/include
+NAME = GLEW
+WARN = -Wall -W
+POPT = -O2
+BIN.SUFFIX =
+LIB.SONAME = lib$(NAME).so.$(SO_MAJOR)
+LIB.DEVLNK = lib$(NAME).so
+LIB.SHARED = lib$(NAME).so.$(SO_VERSION)
+LIB.STATIC = lib$(NAME).a
+LDFLAGS.SO = -shared -soname $(LIB.SONAME)
diff --git a/extern/glew/config/Makefile.solaris b/extern/glew/config/Makefile.solaris
new file mode 100644
index 0000000000..bb2455fe60
--- /dev/null
+++ b/extern/glew/config/Makefile.solaris
@@ -0,0 +1,14 @@
+NAME = $(GLEW_NAME)
+CC = cc
+LD = ld
+CFLAGS.EXTRA = -I/usr/openwin/include -Kpic
+LDFLAGS.SO = -G
+LDFLAGS.EXTRA = -L/usr/openwin/lib
+LDFLAGS.GL = -lGL -lX11
+NAME = GLEW
+BIN.SUFFIX =
+POPT = -xO2
+LIB.SONAME = lib$(NAME).so.$(SO_MAJOR)
+LIB.DEVLNK = lib$(NAME).so
+LIB.SHARED = lib$(NAME).so.$(SO_VERSION)
+LIB.STATIC = lib$(NAME).a
diff --git a/extern/glew/config/Makefile.solaris-gcc b/extern/glew/config/Makefile.solaris-gcc
new file mode 100644
index 0000000000..24a8531d74
--- /dev/null
+++ b/extern/glew/config/Makefile.solaris-gcc
@@ -0,0 +1,15 @@
+NAME = $(GLEW_NAME)
+CC = gcc
+LD = ld
+CFLAGS.EXTRA = -I/usr/openwin/include -fPIC
+LDFLAGS.SO = -G
+LDFLAGS.EXTRA = -L/usr/openwin/lib
+LDFLAGS.GL = -lGL -lX11
+NAME = GLEW
+BIN.SUFFIX =
+POPT = -O2
+LIB.SONAME = lib$(NAME).so.$(SO_MAJOR)
+LIB.DEVLNK = lib$(NAME).so
+LIB.SHARED = lib$(NAME).so.$(SO_VERSION)
+LIB.STATIC = lib$(NAME).a
+LDFLAGS.SO = -shared -Wl,-soname=$(LIB.SONAME)
diff --git a/extern/glew/config/config.guess b/extern/glew/config/config.guess
new file mode 100755
index 0000000000..b33c9e890e
--- /dev/null
+++ b/extern/glew/config/config.guess
@@ -0,0 +1,1486 @@
+#! /bin/sh
+# Attempt to guess a canonical system name.
+# Copyright 1992-2018 Free Software Foundation, Inc.
+
+timestamp='2018-08-29'
+
+# This file is free software; you can redistribute it and/or modify it
+# under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 3 of the License, or
+# (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful, but
+# WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+# General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, see .
+#
+# As a special exception to the GNU General Public License, if you
+# distribute this file as part of a program that contains a
+# configuration script generated by Autoconf, you may include it under
+# the same distribution terms that you use for the rest of that
+# program. This Exception is an additional permission under section 7
+# of the GNU General Public License, version 3 ("GPLv3").
+#
+# Originally written by Per Bothner; maintained since 2000 by Ben Elliston.
+#
+# You can get the latest version of this script from:
+# https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.guess
+#
+# Please send patches to .
+
+
+me=`echo "$0" | sed -e 's,.*/,,'`
+
+usage="\
+Usage: $0 [OPTION]
+
+Output the configuration name of the system \`$me' is run on.
+
+Options:
+ -h, --help print this help, then exit
+ -t, --time-stamp print date of last modification, then exit
+ -v, --version print version number, then exit
+
+Report bugs and patches to ."
+
+version="\
+GNU config.guess ($timestamp)
+
+Originally written by Per Bothner.
+Copyright 1992-2018 Free Software Foundation, Inc.
+
+This is free software; see the source for copying conditions. There is NO
+warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
+
+help="
+Try \`$me --help' for more information."
+
+# Parse command line
+while test $# -gt 0 ; do
+ case $1 in
+ --time-stamp | --time* | -t )
+ echo "$timestamp" ; exit ;;
+ --version | -v )
+ echo "$version" ; exit ;;
+ --help | --h* | -h )
+ echo "$usage"; exit ;;
+ -- ) # Stop option processing
+ shift; break ;;
+ - ) # Use stdin as input.
+ break ;;
+ -* )
+ echo "$me: invalid option $1$help" >&2
+ exit 1 ;;
+ * )
+ break ;;
+ esac
+done
+
+if test $# != 0; then
+ echo "$me: too many arguments$help" >&2
+ exit 1
+fi
+
+# CC_FOR_BUILD -- compiler used by this script. Note that the use of a
+# compiler to aid in system detection is discouraged as it requires
+# temporary files to be created and, as you can see below, it is a
+# headache to deal with in a portable fashion.
+
+# Historically, `CC_FOR_BUILD' used to be named `HOST_CC'. We still
+# use `HOST_CC' if defined, but it is deprecated.
+
+# Portable tmp directory creation inspired by the Autoconf team.
+
+tmp=
+# shellcheck disable=SC2172
+trap 'test -z "$tmp" || rm -fr "$tmp"' 1 2 13 15
+trap 'exitcode=$?; test -z "$tmp" || rm -fr "$tmp"; exit $exitcode' 0
+
+set_cc_for_build() {
+ : "${TMPDIR=/tmp}"
+ # shellcheck disable=SC2039
+ { tmp=`(umask 077 && mktemp -d "$TMPDIR/cgXXXXXX") 2>/dev/null` && test -n "$tmp" && test -d "$tmp" ; } ||
+ { test -n "$RANDOM" && tmp=$TMPDIR/cg$$-$RANDOM && (umask 077 && mkdir "$tmp" 2>/dev/null) ; } ||
+ { tmp=$TMPDIR/cg-$$ && (umask 077 && mkdir "$tmp" 2>/dev/null) && echo "Warning: creating insecure temp directory" >&2 ; } ||
+ { echo "$me: cannot create a temporary directory in $TMPDIR" >&2 ; exit 1 ; }
+ dummy=$tmp/dummy
+ case ${CC_FOR_BUILD-},${HOST_CC-},${CC-} in
+ ,,) echo "int x;" > "$dummy.c"
+ for driver in cc gcc c89 c99 ; do
+ if ($driver -c -o "$dummy.o" "$dummy.c") >/dev/null 2>&1 ; then
+ CC_FOR_BUILD="$driver"
+ break
+ fi
+ done
+ if test x"$CC_FOR_BUILD" = x ; then
+ CC_FOR_BUILD=no_compiler_found
+ fi
+ ;;
+ ,,*) CC_FOR_BUILD=$CC ;;
+ ,*,*) CC_FOR_BUILD=$HOST_CC ;;
+ esac
+}
+
+# This is needed to find uname on a Pyramid OSx when run in the BSD universe.
+# (ghazi@noc.rutgers.edu 1994-08-24)
+if test -f /.attbin/uname ; then
+ PATH=$PATH:/.attbin ; export PATH
+fi
+
+UNAME_MACHINE=`(uname -m) 2>/dev/null` || UNAME_MACHINE=unknown
+UNAME_RELEASE=`(uname -r) 2>/dev/null` || UNAME_RELEASE=unknown
+UNAME_SYSTEM=`(uname -s) 2>/dev/null` || UNAME_SYSTEM=unknown
+UNAME_VERSION=`(uname -v) 2>/dev/null` || UNAME_VERSION=unknown
+
+case "$UNAME_SYSTEM" in
+Linux|GNU|GNU/*)
+ # If the system lacks a compiler, then just pick glibc.
+ # We could probably try harder.
+ LIBC=gnu
+
+ set_cc_for_build
+ cat <<-EOF > "$dummy.c"
+ #include
+ #if defined(__UCLIBC__)
+ LIBC=uclibc
+ #elif defined(__dietlibc__)
+ LIBC=dietlibc
+ #else
+ LIBC=gnu
+ #endif
+ EOF
+ eval "`$CC_FOR_BUILD -E "$dummy.c" 2>/dev/null | grep '^LIBC' | sed 's, ,,g'`"
+
+ # If ldd exists, use it to detect musl libc.
+ if command -v ldd >/dev/null && \
+ ldd --version 2>&1 | grep -q ^musl
+ then
+ LIBC=musl
+ fi
+ ;;
+esac
+
+# Note: order is significant - the case branches are not exclusive.
+
+case "$UNAME_MACHINE:$UNAME_SYSTEM:$UNAME_RELEASE:$UNAME_VERSION" in
+ *:NetBSD:*:*)
+ # NetBSD (nbsd) targets should (where applicable) match one or
+ # more of the tuples: *-*-netbsdelf*, *-*-netbsdaout*,
+ # *-*-netbsdecoff* and *-*-netbsd*. For targets that recently
+ # switched to ELF, *-*-netbsd* would select the old
+ # object file format. This provides both forward
+ # compatibility and a consistent mechanism for selecting the
+ # object file format.
+ #
+ # Note: NetBSD doesn't particularly care about the vendor
+ # portion of the name. We always set it to "unknown".
+ sysctl="sysctl -n hw.machine_arch"
+ UNAME_MACHINE_ARCH=`(uname -p 2>/dev/null || \
+ "/sbin/$sysctl" 2>/dev/null || \
+ "/usr/sbin/$sysctl" 2>/dev/null || \
+ echo unknown)`
+ case "$UNAME_MACHINE_ARCH" in
+ armeb) machine=armeb-unknown ;;
+ arm*) machine=arm-unknown ;;
+ sh3el) machine=shl-unknown ;;
+ sh3eb) machine=sh-unknown ;;
+ sh5el) machine=sh5le-unknown ;;
+ earmv*)
+ arch=`echo "$UNAME_MACHINE_ARCH" | sed -e 's,^e\(armv[0-9]\).*$,\1,'`
+ endian=`echo "$UNAME_MACHINE_ARCH" | sed -ne 's,^.*\(eb\)$,\1,p'`
+ machine="${arch}${endian}"-unknown
+ ;;
+ *) machine="$UNAME_MACHINE_ARCH"-unknown ;;
+ esac
+ # The Operating System including object format, if it has switched
+ # to ELF recently (or will in the future) and ABI.
+ case "$UNAME_MACHINE_ARCH" in
+ earm*)
+ os=netbsdelf
+ ;;
+ arm*|i386|m68k|ns32k|sh3*|sparc|vax)
+ set_cc_for_build
+ if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
+ | grep -q __ELF__
+ then
+ # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout).
+ # Return netbsd for either. FIX?
+ os=netbsd
+ else
+ os=netbsdelf
+ fi
+ ;;
+ *)
+ os=netbsd
+ ;;
+ esac
+ # Determine ABI tags.
+ case "$UNAME_MACHINE_ARCH" in
+ earm*)
+ expr='s/^earmv[0-9]/-eabi/;s/eb$//'
+ abi=`echo "$UNAME_MACHINE_ARCH" | sed -e "$expr"`
+ ;;
+ esac
+ # The OS release
+ # Debian GNU/NetBSD machines have a different userland, and
+ # thus, need a distinct triplet. However, they do not need
+ # kernel version information, so it can be replaced with a
+ # suitable tag, in the style of linux-gnu.
+ case "$UNAME_VERSION" in
+ Debian*)
+ release='-gnu'
+ ;;
+ *)
+ release=`echo "$UNAME_RELEASE" | sed -e 's/[-_].*//' | cut -d. -f1,2`
+ ;;
+ esac
+ # Since CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM:
+ # contains redundant information, the shorter form:
+ # CPU_TYPE-MANUFACTURER-OPERATING_SYSTEM is used.
+ echo "$machine-${os}${release}${abi-}"
+ exit ;;
+ *:Bitrig:*:*)
+ UNAME_MACHINE_ARCH=`arch | sed 's/Bitrig.//'`
+ echo "$UNAME_MACHINE_ARCH"-unknown-bitrig"$UNAME_RELEASE"
+ exit ;;
+ *:OpenBSD:*:*)
+ UNAME_MACHINE_ARCH=`arch | sed 's/OpenBSD.//'`
+ echo "$UNAME_MACHINE_ARCH"-unknown-openbsd"$UNAME_RELEASE"
+ exit ;;
+ *:LibertyBSD:*:*)
+ UNAME_MACHINE_ARCH=`arch | sed 's/^.*BSD\.//'`
+ echo "$UNAME_MACHINE_ARCH"-unknown-libertybsd"$UNAME_RELEASE"
+ exit ;;
+ *:MidnightBSD:*:*)
+ echo "$UNAME_MACHINE"-unknown-midnightbsd"$UNAME_RELEASE"
+ exit ;;
+ *:ekkoBSD:*:*)
+ echo "$UNAME_MACHINE"-unknown-ekkobsd"$UNAME_RELEASE"
+ exit ;;
+ *:SolidBSD:*:*)
+ echo "$UNAME_MACHINE"-unknown-solidbsd"$UNAME_RELEASE"
+ exit ;;
+ macppc:MirBSD:*:*)
+ echo powerpc-unknown-mirbsd"$UNAME_RELEASE"
+ exit ;;
+ *:MirBSD:*:*)
+ echo "$UNAME_MACHINE"-unknown-mirbsd"$UNAME_RELEASE"
+ exit ;;
+ *:Sortix:*:*)
+ echo "$UNAME_MACHINE"-unknown-sortix
+ exit ;;
+ *:Redox:*:*)
+ echo "$UNAME_MACHINE"-unknown-redox
+ exit ;;
+ mips:OSF1:*.*)
+ echo mips-dec-osf1
+ exit ;;
+ alpha:OSF1:*:*)
+ case $UNAME_RELEASE in
+ *4.0)
+ UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $3}'`
+ ;;
+ *5.*)
+ UNAME_RELEASE=`/usr/sbin/sizer -v | awk '{print $4}'`
+ ;;
+ esac
+ # According to Compaq, /usr/sbin/psrinfo has been available on
+ # OSF/1 and Tru64 systems produced since 1995. I hope that
+ # covers most systems running today. This code pipes the CPU
+ # types through head -n 1, so we only detect the type of CPU 0.
+ ALPHA_CPU_TYPE=`/usr/sbin/psrinfo -v | sed -n -e 's/^ The alpha \(.*\) processor.*$/\1/p' | head -n 1`
+ case "$ALPHA_CPU_TYPE" in
+ "EV4 (21064)")
+ UNAME_MACHINE=alpha ;;
+ "EV4.5 (21064)")
+ UNAME_MACHINE=alpha ;;
+ "LCA4 (21066/21068)")
+ UNAME_MACHINE=alpha ;;
+ "EV5 (21164)")
+ UNAME_MACHINE=alphaev5 ;;
+ "EV5.6 (21164A)")
+ UNAME_MACHINE=alphaev56 ;;
+ "EV5.6 (21164PC)")
+ UNAME_MACHINE=alphapca56 ;;
+ "EV5.7 (21164PC)")
+ UNAME_MACHINE=alphapca57 ;;
+ "EV6 (21264)")
+ UNAME_MACHINE=alphaev6 ;;
+ "EV6.7 (21264A)")
+ UNAME_MACHINE=alphaev67 ;;
+ "EV6.8CB (21264C)")
+ UNAME_MACHINE=alphaev68 ;;
+ "EV6.8AL (21264B)")
+ UNAME_MACHINE=alphaev68 ;;
+ "EV6.8CX (21264D)")
+ UNAME_MACHINE=alphaev68 ;;
+ "EV6.9A (21264/EV69A)")
+ UNAME_MACHINE=alphaev69 ;;
+ "EV7 (21364)")
+ UNAME_MACHINE=alphaev7 ;;
+ "EV7.9 (21364A)")
+ UNAME_MACHINE=alphaev79 ;;
+ esac
+ # A Pn.n version is a patched version.
+ # A Vn.n version is a released version.
+ # A Tn.n version is a released field test version.
+ # A Xn.n version is an unreleased experimental baselevel.
+ # 1.2 uses "1.2" for uname -r.
+ echo "$UNAME_MACHINE"-dec-osf"`echo "$UNAME_RELEASE" | sed -e 's/^[PVTX]//' | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz`"
+ # Reset EXIT trap before exiting to avoid spurious non-zero exit code.
+ exitcode=$?
+ trap '' 0
+ exit $exitcode ;;
+ Amiga*:UNIX_System_V:4.0:*)
+ echo m68k-unknown-sysv4
+ exit ;;
+ *:[Aa]miga[Oo][Ss]:*:*)
+ echo "$UNAME_MACHINE"-unknown-amigaos
+ exit ;;
+ *:[Mm]orph[Oo][Ss]:*:*)
+ echo "$UNAME_MACHINE"-unknown-morphos
+ exit ;;
+ *:OS/390:*:*)
+ echo i370-ibm-openedition
+ exit ;;
+ *:z/VM:*:*)
+ echo s390-ibm-zvmoe
+ exit ;;
+ *:OS400:*:*)
+ echo powerpc-ibm-os400
+ exit ;;
+ arm:RISC*:1.[012]*:*|arm:riscix:1.[012]*:*)
+ echo arm-acorn-riscix"$UNAME_RELEASE"
+ exit ;;
+ arm*:riscos:*:*|arm*:RISCOS:*:*)
+ echo arm-unknown-riscos
+ exit ;;
+ SR2?01:HI-UX/MPP:*:* | SR8000:HI-UX/MPP:*:*)
+ echo hppa1.1-hitachi-hiuxmpp
+ exit ;;
+ Pyramid*:OSx*:*:* | MIS*:OSx*:*:* | MIS*:SMP_DC-OSx*:*:*)
+ # akee@wpdis03.wpafb.af.mil (Earle F. Ake) contributed MIS and NILE.
+ if test "`(/bin/universe) 2>/dev/null`" = att ; then
+ echo pyramid-pyramid-sysv3
+ else
+ echo pyramid-pyramid-bsd
+ fi
+ exit ;;
+ NILE*:*:*:dcosx)
+ echo pyramid-pyramid-svr4
+ exit ;;
+ DRS?6000:unix:4.0:6*)
+ echo sparc-icl-nx6
+ exit ;;
+ DRS?6000:UNIX_SV:4.2*:7* | DRS?6000:isis:4.2*:7*)
+ case `/usr/bin/uname -p` in
+ sparc) echo sparc-icl-nx7; exit ;;
+ esac ;;
+ s390x:SunOS:*:*)
+ echo "$UNAME_MACHINE"-ibm-solaris2"`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'`"
+ exit ;;
+ sun4H:SunOS:5.*:*)
+ echo sparc-hal-solaris2"`echo "$UNAME_RELEASE"|sed -e 's/[^.]*//'`"
+ exit ;;
+ sun4*:SunOS:5.*:* | tadpole*:SunOS:5.*:*)
+ echo sparc-sun-solaris2"`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'`"
+ exit ;;
+ i86pc:AuroraUX:5.*:* | i86xen:AuroraUX:5.*:*)
+ echo i386-pc-auroraux"$UNAME_RELEASE"
+ exit ;;
+ i86pc:SunOS:5.*:* | i86xen:SunOS:5.*:*)
+ UNAME_REL="`echo "$UNAME_RELEASE" | sed -e 's/[^.]*//'`"
+ case `isainfo -b` in
+ 32)
+ echo i386-pc-solaris2"$UNAME_REL"
+ ;;
+ 64)
+ echo x86_64-pc-solaris2"$UNAME_REL"
+ ;;
+ esac
+ exit ;;
+ sun4*:SunOS:6*:*)
+ # According to config.sub, this is the proper way to canonicalize
+ # SunOS6. Hard to guess exactly what SunOS6 will be like, but
+ # it's likely to be more like Solaris than SunOS4.
+ echo sparc-sun-solaris3"`echo "$UNAME_RELEASE"|sed -e 's/[^.]*//'`"
+ exit ;;
+ sun4*:SunOS:*:*)
+ case "`/usr/bin/arch -k`" in
+ Series*|S4*)
+ UNAME_RELEASE=`uname -v`
+ ;;
+ esac
+ # Japanese Language versions have a version number like `4.1.3-JL'.
+ echo sparc-sun-sunos"`echo "$UNAME_RELEASE"|sed -e 's/-/_/'`"
+ exit ;;
+ sun3*:SunOS:*:*)
+ echo m68k-sun-sunos"$UNAME_RELEASE"
+ exit ;;
+ sun*:*:4.2BSD:*)
+ UNAME_RELEASE=`(sed 1q /etc/motd | awk '{print substr($5,1,3)}') 2>/dev/null`
+ test "x$UNAME_RELEASE" = x && UNAME_RELEASE=3
+ case "`/bin/arch`" in
+ sun3)
+ echo m68k-sun-sunos"$UNAME_RELEASE"
+ ;;
+ sun4)
+ echo sparc-sun-sunos"$UNAME_RELEASE"
+ ;;
+ esac
+ exit ;;
+ aushp:SunOS:*:*)
+ echo sparc-auspex-sunos"$UNAME_RELEASE"
+ exit ;;
+ # The situation for MiNT is a little confusing. The machine name
+ # can be virtually everything (everything which is not
+ # "atarist" or "atariste" at least should have a processor
+ # > m68000). The system name ranges from "MiNT" over "FreeMiNT"
+ # to the lowercase version "mint" (or "freemint"). Finally
+ # the system name "TOS" denotes a system which is actually not
+ # MiNT. But MiNT is downward compatible to TOS, so this should
+ # be no problem.
+ atarist[e]:*MiNT:*:* | atarist[e]:*mint:*:* | atarist[e]:*TOS:*:*)
+ echo m68k-atari-mint"$UNAME_RELEASE"
+ exit ;;
+ atari*:*MiNT:*:* | atari*:*mint:*:* | atarist[e]:*TOS:*:*)
+ echo m68k-atari-mint"$UNAME_RELEASE"
+ exit ;;
+ *falcon*:*MiNT:*:* | *falcon*:*mint:*:* | *falcon*:*TOS:*:*)
+ echo m68k-atari-mint"$UNAME_RELEASE"
+ exit ;;
+ milan*:*MiNT:*:* | milan*:*mint:*:* | *milan*:*TOS:*:*)
+ echo m68k-milan-mint"$UNAME_RELEASE"
+ exit ;;
+ hades*:*MiNT:*:* | hades*:*mint:*:* | *hades*:*TOS:*:*)
+ echo m68k-hades-mint"$UNAME_RELEASE"
+ exit ;;
+ *:*MiNT:*:* | *:*mint:*:* | *:*TOS:*:*)
+ echo m68k-unknown-mint"$UNAME_RELEASE"
+ exit ;;
+ m68k:machten:*:*)
+ echo m68k-apple-machten"$UNAME_RELEASE"
+ exit ;;
+ powerpc:machten:*:*)
+ echo powerpc-apple-machten"$UNAME_RELEASE"
+ exit ;;
+ RISC*:Mach:*:*)
+ echo mips-dec-mach_bsd4.3
+ exit ;;
+ RISC*:ULTRIX:*:*)
+ echo mips-dec-ultrix"$UNAME_RELEASE"
+ exit ;;
+ VAX*:ULTRIX*:*:*)
+ echo vax-dec-ultrix"$UNAME_RELEASE"
+ exit ;;
+ 2020:CLIX:*:* | 2430:CLIX:*:*)
+ echo clipper-intergraph-clix"$UNAME_RELEASE"
+ exit ;;
+ mips:*:*:UMIPS | mips:*:*:RISCos)
+ set_cc_for_build
+ sed 's/^ //' << EOF > "$dummy.c"
+#ifdef __cplusplus
+#include /* for printf() prototype */
+ int main (int argc, char *argv[]) {
+#else
+ int main (argc, argv) int argc; char *argv[]; {
+#endif
+ #if defined (host_mips) && defined (MIPSEB)
+ #if defined (SYSTYPE_SYSV)
+ printf ("mips-mips-riscos%ssysv\\n", argv[1]); exit (0);
+ #endif
+ #if defined (SYSTYPE_SVR4)
+ printf ("mips-mips-riscos%ssvr4\\n", argv[1]); exit (0);
+ #endif
+ #if defined (SYSTYPE_BSD43) || defined(SYSTYPE_BSD)
+ printf ("mips-mips-riscos%sbsd\\n", argv[1]); exit (0);
+ #endif
+ #endif
+ exit (-1);
+ }
+EOF
+ $CC_FOR_BUILD -o "$dummy" "$dummy.c" &&
+ dummyarg=`echo "$UNAME_RELEASE" | sed -n 's/\([0-9]*\).*/\1/p'` &&
+ SYSTEM_NAME=`"$dummy" "$dummyarg"` &&
+ { echo "$SYSTEM_NAME"; exit; }
+ echo mips-mips-riscos"$UNAME_RELEASE"
+ exit ;;
+ Motorola:PowerMAX_OS:*:*)
+ echo powerpc-motorola-powermax
+ exit ;;
+ Motorola:*:4.3:PL8-*)
+ echo powerpc-harris-powermax
+ exit ;;
+ Night_Hawk:*:*:PowerMAX_OS | Synergy:PowerMAX_OS:*:*)
+ echo powerpc-harris-powermax
+ exit ;;
+ Night_Hawk:Power_UNIX:*:*)
+ echo powerpc-harris-powerunix
+ exit ;;
+ m88k:CX/UX:7*:*)
+ echo m88k-harris-cxux7
+ exit ;;
+ m88k:*:4*:R4*)
+ echo m88k-motorola-sysv4
+ exit ;;
+ m88k:*:3*:R3*)
+ echo m88k-motorola-sysv3
+ exit ;;
+ AViiON:dgux:*:*)
+ # DG/UX returns AViiON for all architectures
+ UNAME_PROCESSOR=`/usr/bin/uname -p`
+ if [ "$UNAME_PROCESSOR" = mc88100 ] || [ "$UNAME_PROCESSOR" = mc88110 ]
+ then
+ if [ "$TARGET_BINARY_INTERFACE"x = m88kdguxelfx ] || \
+ [ "$TARGET_BINARY_INTERFACE"x = x ]
+ then
+ echo m88k-dg-dgux"$UNAME_RELEASE"
+ else
+ echo m88k-dg-dguxbcs"$UNAME_RELEASE"
+ fi
+ else
+ echo i586-dg-dgux"$UNAME_RELEASE"
+ fi
+ exit ;;
+ M88*:DolphinOS:*:*) # DolphinOS (SVR3)
+ echo m88k-dolphin-sysv3
+ exit ;;
+ M88*:*:R3*:*)
+ # Delta 88k system running SVR3
+ echo m88k-motorola-sysv3
+ exit ;;
+ XD88*:*:*:*) # Tektronix XD88 system running UTekV (SVR3)
+ echo m88k-tektronix-sysv3
+ exit ;;
+ Tek43[0-9][0-9]:UTek:*:*) # Tektronix 4300 system running UTek (BSD)
+ echo m68k-tektronix-bsd
+ exit ;;
+ *:IRIX*:*:*)
+ echo mips-sgi-irix"`echo "$UNAME_RELEASE"|sed -e 's/-/_/g'`"
+ exit ;;
+ ????????:AIX?:[12].1:2) # AIX 2.2.1 or AIX 2.1.1 is RT/PC AIX.
+ echo romp-ibm-aix # uname -m gives an 8 hex-code CPU id
+ exit ;; # Note that: echo "'`uname -s`'" gives 'AIX '
+ i*86:AIX:*:*)
+ echo i386-ibm-aix
+ exit ;;
+ ia64:AIX:*:*)
+ if [ -x /usr/bin/oslevel ] ; then
+ IBM_REV=`/usr/bin/oslevel`
+ else
+ IBM_REV="$UNAME_VERSION.$UNAME_RELEASE"
+ fi
+ echo "$UNAME_MACHINE"-ibm-aix"$IBM_REV"
+ exit ;;
+ *:AIX:2:3)
+ if grep bos325 /usr/include/stdio.h >/dev/null 2>&1; then
+ set_cc_for_build
+ sed 's/^ //' << EOF > "$dummy.c"
+ #include
+
+ main()
+ {
+ if (!__power_pc())
+ exit(1);
+ puts("powerpc-ibm-aix3.2.5");
+ exit(0);
+ }
+EOF
+ if $CC_FOR_BUILD -o "$dummy" "$dummy.c" && SYSTEM_NAME=`"$dummy"`
+ then
+ echo "$SYSTEM_NAME"
+ else
+ echo rs6000-ibm-aix3.2.5
+ fi
+ elif grep bos324 /usr/include/stdio.h >/dev/null 2>&1; then
+ echo rs6000-ibm-aix3.2.4
+ else
+ echo rs6000-ibm-aix3.2
+ fi
+ exit ;;
+ *:AIX:*:[4567])
+ IBM_CPU_ID=`/usr/sbin/lsdev -C -c processor -S available | sed 1q | awk '{ print $1 }'`
+ if /usr/sbin/lsattr -El "$IBM_CPU_ID" | grep ' POWER' >/dev/null 2>&1; then
+ IBM_ARCH=rs6000
+ else
+ IBM_ARCH=powerpc
+ fi
+ if [ -x /usr/bin/lslpp ] ; then
+ IBM_REV=`/usr/bin/lslpp -Lqc bos.rte.libc |
+ awk -F: '{ print $3 }' | sed s/[0-9]*$/0/`
+ else
+ IBM_REV="$UNAME_VERSION.$UNAME_RELEASE"
+ fi
+ echo "$IBM_ARCH"-ibm-aix"$IBM_REV"
+ exit ;;
+ *:AIX:*:*)
+ echo rs6000-ibm-aix
+ exit ;;
+ ibmrt:4.4BSD:*|romp-ibm:4.4BSD:*)
+ echo romp-ibm-bsd4.4
+ exit ;;
+ ibmrt:*BSD:*|romp-ibm:BSD:*) # covers RT/PC BSD and
+ echo romp-ibm-bsd"$UNAME_RELEASE" # 4.3 with uname added to
+ exit ;; # report: romp-ibm BSD 4.3
+ *:BOSX:*:*)
+ echo rs6000-bull-bosx
+ exit ;;
+ DPX/2?00:B.O.S.:*:*)
+ echo m68k-bull-sysv3
+ exit ;;
+ 9000/[34]??:4.3bsd:1.*:*)
+ echo m68k-hp-bsd
+ exit ;;
+ hp300:4.4BSD:*:* | 9000/[34]??:4.3bsd:2.*:*)
+ echo m68k-hp-bsd4.4
+ exit ;;
+ 9000/[34678]??:HP-UX:*:*)
+ HPUX_REV=`echo "$UNAME_RELEASE"|sed -e 's/[^.]*.[0B]*//'`
+ case "$UNAME_MACHINE" in
+ 9000/31?) HP_ARCH=m68000 ;;
+ 9000/[34]??) HP_ARCH=m68k ;;
+ 9000/[678][0-9][0-9])
+ if [ -x /usr/bin/getconf ]; then
+ sc_cpu_version=`/usr/bin/getconf SC_CPU_VERSION 2>/dev/null`
+ sc_kernel_bits=`/usr/bin/getconf SC_KERNEL_BITS 2>/dev/null`
+ case "$sc_cpu_version" in
+ 523) HP_ARCH=hppa1.0 ;; # CPU_PA_RISC1_0
+ 528) HP_ARCH=hppa1.1 ;; # CPU_PA_RISC1_1
+ 532) # CPU_PA_RISC2_0
+ case "$sc_kernel_bits" in
+ 32) HP_ARCH=hppa2.0n ;;
+ 64) HP_ARCH=hppa2.0w ;;
+ '') HP_ARCH=hppa2.0 ;; # HP-UX 10.20
+ esac ;;
+ esac
+ fi
+ if [ "$HP_ARCH" = "" ]; then
+ set_cc_for_build
+ sed 's/^ //' << EOF > "$dummy.c"
+
+ #define _HPUX_SOURCE
+ #include
+ #include
+
+ int main ()
+ {
+ #if defined(_SC_KERNEL_BITS)
+ long bits = sysconf(_SC_KERNEL_BITS);
+ #endif
+ long cpu = sysconf (_SC_CPU_VERSION);
+
+ switch (cpu)
+ {
+ case CPU_PA_RISC1_0: puts ("hppa1.0"); break;
+ case CPU_PA_RISC1_1: puts ("hppa1.1"); break;
+ case CPU_PA_RISC2_0:
+ #if defined(_SC_KERNEL_BITS)
+ switch (bits)
+ {
+ case 64: puts ("hppa2.0w"); break;
+ case 32: puts ("hppa2.0n"); break;
+ default: puts ("hppa2.0"); break;
+ } break;
+ #else /* !defined(_SC_KERNEL_BITS) */
+ puts ("hppa2.0"); break;
+ #endif
+ default: puts ("hppa1.0"); break;
+ }
+ exit (0);
+ }
+EOF
+ (CCOPTS="" $CC_FOR_BUILD -o "$dummy" "$dummy.c" 2>/dev/null) && HP_ARCH=`"$dummy"`
+ test -z "$HP_ARCH" && HP_ARCH=hppa
+ fi ;;
+ esac
+ if [ "$HP_ARCH" = hppa2.0w ]
+ then
+ set_cc_for_build
+
+ # hppa2.0w-hp-hpux* has a 64-bit kernel and a compiler generating
+ # 32-bit code. hppa64-hp-hpux* has the same kernel and a compiler
+ # generating 64-bit code. GNU and HP use different nomenclature:
+ #
+ # $ CC_FOR_BUILD=cc ./config.guess
+ # => hppa2.0w-hp-hpux11.23
+ # $ CC_FOR_BUILD="cc +DA2.0w" ./config.guess
+ # => hppa64-hp-hpux11.23
+
+ if echo __LP64__ | (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) |
+ grep -q __LP64__
+ then
+ HP_ARCH=hppa2.0w
+ else
+ HP_ARCH=hppa64
+ fi
+ fi
+ echo "$HP_ARCH"-hp-hpux"$HPUX_REV"
+ exit ;;
+ ia64:HP-UX:*:*)
+ HPUX_REV=`echo "$UNAME_RELEASE"|sed -e 's/[^.]*.[0B]*//'`
+ echo ia64-hp-hpux"$HPUX_REV"
+ exit ;;
+ 3050*:HI-UX:*:*)
+ set_cc_for_build
+ sed 's/^ //' << EOF > "$dummy.c"
+ #include
+ int
+ main ()
+ {
+ long cpu = sysconf (_SC_CPU_VERSION);
+ /* The order matters, because CPU_IS_HP_MC68K erroneously returns
+ true for CPU_PA_RISC1_0. CPU_IS_PA_RISC returns correct
+ results, however. */
+ if (CPU_IS_PA_RISC (cpu))
+ {
+ switch (cpu)
+ {
+ case CPU_PA_RISC1_0: puts ("hppa1.0-hitachi-hiuxwe2"); break;
+ case CPU_PA_RISC1_1: puts ("hppa1.1-hitachi-hiuxwe2"); break;
+ case CPU_PA_RISC2_0: puts ("hppa2.0-hitachi-hiuxwe2"); break;
+ default: puts ("hppa-hitachi-hiuxwe2"); break;
+ }
+ }
+ else if (CPU_IS_HP_MC68K (cpu))
+ puts ("m68k-hitachi-hiuxwe2");
+ else puts ("unknown-hitachi-hiuxwe2");
+ exit (0);
+ }
+EOF
+ $CC_FOR_BUILD -o "$dummy" "$dummy.c" && SYSTEM_NAME=`"$dummy"` &&
+ { echo "$SYSTEM_NAME"; exit; }
+ echo unknown-hitachi-hiuxwe2
+ exit ;;
+ 9000/7??:4.3bsd:*:* | 9000/8?[79]:4.3bsd:*:*)
+ echo hppa1.1-hp-bsd
+ exit ;;
+ 9000/8??:4.3bsd:*:*)
+ echo hppa1.0-hp-bsd
+ exit ;;
+ *9??*:MPE/iX:*:* | *3000*:MPE/iX:*:*)
+ echo hppa1.0-hp-mpeix
+ exit ;;
+ hp7??:OSF1:*:* | hp8?[79]:OSF1:*:*)
+ echo hppa1.1-hp-osf
+ exit ;;
+ hp8??:OSF1:*:*)
+ echo hppa1.0-hp-osf
+ exit ;;
+ i*86:OSF1:*:*)
+ if [ -x /usr/sbin/sysversion ] ; then
+ echo "$UNAME_MACHINE"-unknown-osf1mk
+ else
+ echo "$UNAME_MACHINE"-unknown-osf1
+ fi
+ exit ;;
+ parisc*:Lites*:*:*)
+ echo hppa1.1-hp-lites
+ exit ;;
+ C1*:ConvexOS:*:* | convex:ConvexOS:C1*:*)
+ echo c1-convex-bsd
+ exit ;;
+ C2*:ConvexOS:*:* | convex:ConvexOS:C2*:*)
+ if getsysinfo -f scalar_acc
+ then echo c32-convex-bsd
+ else echo c2-convex-bsd
+ fi
+ exit ;;
+ C34*:ConvexOS:*:* | convex:ConvexOS:C34*:*)
+ echo c34-convex-bsd
+ exit ;;
+ C38*:ConvexOS:*:* | convex:ConvexOS:C38*:*)
+ echo c38-convex-bsd
+ exit ;;
+ C4*:ConvexOS:*:* | convex:ConvexOS:C4*:*)
+ echo c4-convex-bsd
+ exit ;;
+ CRAY*Y-MP:*:*:*)
+ echo ymp-cray-unicos"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/'
+ exit ;;
+ CRAY*[A-Z]90:*:*:*)
+ echo "$UNAME_MACHINE"-cray-unicos"$UNAME_RELEASE" \
+ | sed -e 's/CRAY.*\([A-Z]90\)/\1/' \
+ -e y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/ \
+ -e 's/\.[^.]*$/.X/'
+ exit ;;
+ CRAY*TS:*:*:*)
+ echo t90-cray-unicos"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/'
+ exit ;;
+ CRAY*T3E:*:*:*)
+ echo alphaev5-cray-unicosmk"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/'
+ exit ;;
+ CRAY*SV1:*:*:*)
+ echo sv1-cray-unicos"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/'
+ exit ;;
+ *:UNICOS/mp:*:*)
+ echo craynv-cray-unicosmp"$UNAME_RELEASE" | sed -e 's/\.[^.]*$/.X/'
+ exit ;;
+ F30[01]:UNIX_System_V:*:* | F700:UNIX_System_V:*:*)
+ FUJITSU_PROC=`uname -m | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz`
+ FUJITSU_SYS=`uname -p | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/\///'`
+ FUJITSU_REL=`echo "$UNAME_RELEASE" | sed -e 's/ /_/'`
+ echo "${FUJITSU_PROC}-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
+ exit ;;
+ 5000:UNIX_System_V:4.*:*)
+ FUJITSU_SYS=`uname -p | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/\///'`
+ FUJITSU_REL=`echo "$UNAME_RELEASE" | tr ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvwxyz | sed -e 's/ /_/'`
+ echo "sparc-fujitsu-${FUJITSU_SYS}${FUJITSU_REL}"
+ exit ;;
+ i*86:BSD/386:*:* | i*86:BSD/OS:*:* | *:Ascend\ Embedded/OS:*:*)
+ echo "$UNAME_MACHINE"-pc-bsdi"$UNAME_RELEASE"
+ exit ;;
+ sparc*:BSD/OS:*:*)
+ echo sparc-unknown-bsdi"$UNAME_RELEASE"
+ exit ;;
+ *:BSD/OS:*:*)
+ echo "$UNAME_MACHINE"-unknown-bsdi"$UNAME_RELEASE"
+ exit ;;
+ arm:FreeBSD:*:*)
+ UNAME_PROCESSOR=`uname -p`
+ set_cc_for_build
+ if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \
+ | grep -q __ARM_PCS_VFP
+ then
+ echo "${UNAME_PROCESSOR}"-unknown-freebsd"`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`"-gnueabi
+ else
+ echo "${UNAME_PROCESSOR}"-unknown-freebsd"`echo ${UNAME_RELEASE}|sed -e 's/[-(].*//'`"-gnueabihf
+ fi
+ exit ;;
+ *:FreeBSD:*:*)
+ UNAME_PROCESSOR=`/usr/bin/uname -p`
+ case "$UNAME_PROCESSOR" in
+ amd64)
+ UNAME_PROCESSOR=x86_64 ;;
+ i386)
+ UNAME_PROCESSOR=i586 ;;
+ esac
+ echo "$UNAME_PROCESSOR"-unknown-freebsd"`echo "$UNAME_RELEASE"|sed -e 's/[-(].*//'`"
+ exit ;;
+ i*:CYGWIN*:*)
+ echo "$UNAME_MACHINE"-pc-cygwin
+ exit ;;
+ *:MINGW64*:*)
+ echo "$UNAME_MACHINE"-pc-mingw64
+ exit ;;
+ *:MINGW*:*)
+ echo "$UNAME_MACHINE"-pc-mingw32
+ exit ;;
+ *:MSYS*:*)
+ echo "$UNAME_MACHINE"-pc-msys
+ exit ;;
+ i*:PW*:*)
+ echo "$UNAME_MACHINE"-pc-pw32
+ exit ;;
+ *:Interix*:*)
+ case "$UNAME_MACHINE" in
+ x86)
+ echo i586-pc-interix"$UNAME_RELEASE"
+ exit ;;
+ authenticamd | genuineintel | EM64T)
+ echo x86_64-unknown-interix"$UNAME_RELEASE"
+ exit ;;
+ IA64)
+ echo ia64-unknown-interix"$UNAME_RELEASE"
+ exit ;;
+ esac ;;
+ i*:UWIN*:*)
+ echo "$UNAME_MACHINE"-pc-uwin
+ exit ;;
+ amd64:CYGWIN*:*:* | x86_64:CYGWIN*:*:*)
+ echo x86_64-unknown-cygwin
+ exit ;;
+ prep*:SunOS:5.*:*)
+ echo powerpcle-unknown-solaris2"`echo "$UNAME_RELEASE"|sed -e 's/[^.]*//'`"
+ exit ;;
+ *:GNU:*:*)
+ # the GNU system
+ echo "`echo "$UNAME_MACHINE"|sed -e 's,[-/].*$,,'`-unknown-$LIBC`echo "$UNAME_RELEASE"|sed -e 's,/.*$,,'`"
+ exit ;;
+ *:GNU/*:*:*)
+ # other systems with GNU libc and userland
+ echo "$UNAME_MACHINE-unknown-`echo "$UNAME_SYSTEM" | sed 's,^[^/]*/,,' | tr "[:upper:]" "[:lower:]"``echo "$UNAME_RELEASE"|sed -e 's/[-(].*//'`-$LIBC"
+ exit ;;
+ *:Minix:*:*)
+ echo "$UNAME_MACHINE"-unknown-minix
+ exit ;;
+ aarch64:Linux:*:*)
+ echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
+ exit ;;
+ aarch64_be:Linux:*:*)
+ UNAME_MACHINE=aarch64_be
+ echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
+ exit ;;
+ alpha:Linux:*:*)
+ case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
+ EV5) UNAME_MACHINE=alphaev5 ;;
+ EV56) UNAME_MACHINE=alphaev56 ;;
+ PCA56) UNAME_MACHINE=alphapca56 ;;
+ PCA57) UNAME_MACHINE=alphapca56 ;;
+ EV6) UNAME_MACHINE=alphaev6 ;;
+ EV67) UNAME_MACHINE=alphaev67 ;;
+ EV68*) UNAME_MACHINE=alphaev68 ;;
+ esac
+ objdump --private-headers /bin/sh | grep -q ld.so.1
+ if test "$?" = 0 ; then LIBC=gnulibc1 ; fi
+ echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
+ exit ;;
+ arc:Linux:*:* | arceb:Linux:*:*)
+ echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
+ exit ;;
+ arm*:Linux:*:*)
+ set_cc_for_build
+ if echo __ARM_EABI__ | $CC_FOR_BUILD -E - 2>/dev/null \
+ | grep -q __ARM_EABI__
+ then
+ echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
+ else
+ if echo __ARM_PCS_VFP | $CC_FOR_BUILD -E - 2>/dev/null \
+ | grep -q __ARM_PCS_VFP
+ then
+ echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"eabi
+ else
+ echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"eabihf
+ fi
+ fi
+ exit ;;
+ avr32*:Linux:*:*)
+ echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
+ exit ;;
+ cris:Linux:*:*)
+ echo "$UNAME_MACHINE"-axis-linux-"$LIBC"
+ exit ;;
+ crisv32:Linux:*:*)
+ echo "$UNAME_MACHINE"-axis-linux-"$LIBC"
+ exit ;;
+ e2k:Linux:*:*)
+ echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
+ exit ;;
+ frv:Linux:*:*)
+ echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
+ exit ;;
+ hexagon:Linux:*:*)
+ echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
+ exit ;;
+ i*86:Linux:*:*)
+ echo "$UNAME_MACHINE"-pc-linux-"$LIBC"
+ exit ;;
+ ia64:Linux:*:*)
+ echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
+ exit ;;
+ k1om:Linux:*:*)
+ echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
+ exit ;;
+ m32r*:Linux:*:*)
+ echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
+ exit ;;
+ m68*:Linux:*:*)
+ echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
+ exit ;;
+ mips:Linux:*:* | mips64:Linux:*:*)
+ set_cc_for_build
+ sed 's/^ //' << EOF > "$dummy.c"
+ #undef CPU
+ #undef ${UNAME_MACHINE}
+ #undef ${UNAME_MACHINE}el
+ #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
+ CPU=${UNAME_MACHINE}el
+ #else
+ #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
+ CPU=${UNAME_MACHINE}
+ #else
+ CPU=
+ #endif
+ #endif
+EOF
+ eval "`$CC_FOR_BUILD -E "$dummy.c" 2>/dev/null | grep '^CPU'`"
+ test "x$CPU" != x && { echo "$CPU-unknown-linux-$LIBC"; exit; }
+ ;;
+ mips64el:Linux:*:*)
+ echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
+ exit ;;
+ openrisc*:Linux:*:*)
+ echo or1k-unknown-linux-"$LIBC"
+ exit ;;
+ or32:Linux:*:* | or1k*:Linux:*:*)
+ echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
+ exit ;;
+ padre:Linux:*:*)
+ echo sparc-unknown-linux-"$LIBC"
+ exit ;;
+ parisc64:Linux:*:* | hppa64:Linux:*:*)
+ echo hppa64-unknown-linux-"$LIBC"
+ exit ;;
+ parisc:Linux:*:* | hppa:Linux:*:*)
+ # Look for CPU level
+ case `grep '^cpu[^a-z]*:' /proc/cpuinfo 2>/dev/null | cut -d' ' -f2` in
+ PA7*) echo hppa1.1-unknown-linux-"$LIBC" ;;
+ PA8*) echo hppa2.0-unknown-linux-"$LIBC" ;;
+ *) echo hppa-unknown-linux-"$LIBC" ;;
+ esac
+ exit ;;
+ ppc64:Linux:*:*)
+ echo powerpc64-unknown-linux-"$LIBC"
+ exit ;;
+ ppc:Linux:*:*)
+ echo powerpc-unknown-linux-"$LIBC"
+ exit ;;
+ ppc64le:Linux:*:*)
+ echo powerpc64le-unknown-linux-"$LIBC"
+ exit ;;
+ ppcle:Linux:*:*)
+ echo powerpcle-unknown-linux-"$LIBC"
+ exit ;;
+ riscv32:Linux:*:* | riscv64:Linux:*:*)
+ echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
+ exit ;;
+ s390:Linux:*:* | s390x:Linux:*:*)
+ echo "$UNAME_MACHINE"-ibm-linux-"$LIBC"
+ exit ;;
+ sh64*:Linux:*:*)
+ echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
+ exit ;;
+ sh*:Linux:*:*)
+ echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
+ exit ;;
+ sparc:Linux:*:* | sparc64:Linux:*:*)
+ echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
+ exit ;;
+ tile*:Linux:*:*)
+ echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
+ exit ;;
+ vax:Linux:*:*)
+ echo "$UNAME_MACHINE"-dec-linux-"$LIBC"
+ exit ;;
+ x86_64:Linux:*:*)
+ echo "$UNAME_MACHINE"-pc-linux-"$LIBC"
+ exit ;;
+ xtensa*:Linux:*:*)
+ echo "$UNAME_MACHINE"-unknown-linux-"$LIBC"
+ exit ;;
+ i*86:DYNIX/ptx:4*:*)
+ # ptx 4.0 does uname -s correctly, with DYNIX/ptx in there.
+ # earlier versions are messed up and put the nodename in both
+ # sysname and nodename.
+ echo i386-sequent-sysv4
+ exit ;;
+ i*86:UNIX_SV:4.2MP:2.*)
+ # Unixware is an offshoot of SVR4, but it has its own version
+ # number series starting with 2...
+ # I am not positive that other SVR4 systems won't match this,
+ # I just have to hope. -- rms.
+ # Use sysv4.2uw... so that sysv4* matches it.
+ echo "$UNAME_MACHINE"-pc-sysv4.2uw"$UNAME_VERSION"
+ exit ;;
+ i*86:OS/2:*:*)
+ # If we were able to find `uname', then EMX Unix compatibility
+ # is probably installed.
+ echo "$UNAME_MACHINE"-pc-os2-emx
+ exit ;;
+ i*86:XTS-300:*:STOP)
+ echo "$UNAME_MACHINE"-unknown-stop
+ exit ;;
+ i*86:atheos:*:*)
+ echo "$UNAME_MACHINE"-unknown-atheos
+ exit ;;
+ i*86:syllable:*:*)
+ echo "$UNAME_MACHINE"-pc-syllable
+ exit ;;
+ i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.[02]*:*)
+ echo i386-unknown-lynxos"$UNAME_RELEASE"
+ exit ;;
+ i*86:*DOS:*:*)
+ echo "$UNAME_MACHINE"-pc-msdosdjgpp
+ exit ;;
+ i*86:*:4.*:*)
+ UNAME_REL=`echo "$UNAME_RELEASE" | sed 's/\/MP$//'`
+ if grep Novell /usr/include/link.h >/dev/null 2>/dev/null; then
+ echo "$UNAME_MACHINE"-univel-sysv"$UNAME_REL"
+ else
+ echo "$UNAME_MACHINE"-pc-sysv"$UNAME_REL"
+ fi
+ exit ;;
+ i*86:*:5:[678]*)
+ # UnixWare 7.x, OpenUNIX and OpenServer 6.
+ case `/bin/uname -X | grep "^Machine"` in
+ *486*) UNAME_MACHINE=i486 ;;
+ *Pentium) UNAME_MACHINE=i586 ;;
+ *Pent*|*Celeron) UNAME_MACHINE=i686 ;;
+ esac
+ echo "$UNAME_MACHINE-unknown-sysv${UNAME_RELEASE}${UNAME_SYSTEM}{$UNAME_VERSION}"
+ exit ;;
+ i*86:*:3.2:*)
+ if test -f /usr/options/cb.name; then
+ UNAME_REL=`sed -n 's/.*Version //p' /dev/null >/dev/null ; then
+ UNAME_REL=`(/bin/uname -X|grep Release|sed -e 's/.*= //')`
+ (/bin/uname -X|grep i80486 >/dev/null) && UNAME_MACHINE=i486
+ (/bin/uname -X|grep '^Machine.*Pentium' >/dev/null) \
+ && UNAME_MACHINE=i586
+ (/bin/uname -X|grep '^Machine.*Pent *II' >/dev/null) \
+ && UNAME_MACHINE=i686
+ (/bin/uname -X|grep '^Machine.*Pentium Pro' >/dev/null) \
+ && UNAME_MACHINE=i686
+ echo "$UNAME_MACHINE"-pc-sco"$UNAME_REL"
+ else
+ echo "$UNAME_MACHINE"-pc-sysv32
+ fi
+ exit ;;
+ pc:*:*:*)
+ # Left here for compatibility:
+ # uname -m prints for DJGPP always 'pc', but it prints nothing about
+ # the processor, so we play safe by assuming i586.
+ # Note: whatever this is, it MUST be the same as what config.sub
+ # prints for the "djgpp" host, or else GDB configure will decide that
+ # this is a cross-build.
+ echo i586-pc-msdosdjgpp
+ exit ;;
+ Intel:Mach:3*:*)
+ echo i386-pc-mach3
+ exit ;;
+ paragon:*:*:*)
+ echo i860-intel-osf1
+ exit ;;
+ i860:*:4.*:*) # i860-SVR4
+ if grep Stardent /usr/include/sys/uadmin.h >/dev/null 2>&1 ; then
+ echo i860-stardent-sysv"$UNAME_RELEASE" # Stardent Vistra i860-SVR4
+ else # Add other i860-SVR4 vendors below as they are discovered.
+ echo i860-unknown-sysv"$UNAME_RELEASE" # Unknown i860-SVR4
+ fi
+ exit ;;
+ mini*:CTIX:SYS*5:*)
+ # "miniframe"
+ echo m68010-convergent-sysv
+ exit ;;
+ mc68k:UNIX:SYSTEM5:3.51m)
+ echo m68k-convergent-sysv
+ exit ;;
+ M680?0:D-NIX:5.3:*)
+ echo m68k-diab-dnix
+ exit ;;
+ M68*:*:R3V[5678]*:*)
+ test -r /sysV68 && { echo 'm68k-motorola-sysv'; exit; } ;;
+ 3[345]??:*:4.0:3.0 | 3[34]??A:*:4.0:3.0 | 3[34]??,*:*:4.0:3.0 | 3[34]??/*:*:4.0:3.0 | 4400:*:4.0:3.0 | 4850:*:4.0:3.0 | SKA40:*:4.0:3.0 | SDS2:*:4.0:3.0 | SHG2:*:4.0:3.0 | S7501*:*:4.0:3.0)
+ OS_REL=''
+ test -r /etc/.relid \
+ && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
+ /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
+ && { echo i486-ncr-sysv4.3"$OS_REL"; exit; }
+ /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
+ && { echo i586-ncr-sysv4.3"$OS_REL"; exit; } ;;
+ 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
+ /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
+ && { echo i486-ncr-sysv4; exit; } ;;
+ NCR*:*:4.2:* | MPRAS*:*:4.2:*)
+ OS_REL='.3'
+ test -r /etc/.relid \
+ && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
+ /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
+ && { echo i486-ncr-sysv4.3"$OS_REL"; exit; }
+ /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
+ && { echo i586-ncr-sysv4.3"$OS_REL"; exit; }
+ /bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \
+ && { echo i586-ncr-sysv4.3"$OS_REL"; exit; } ;;
+ m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*)
+ echo m68k-unknown-lynxos"$UNAME_RELEASE"
+ exit ;;
+ mc68030:UNIX_System_V:4.*:*)
+ echo m68k-atari-sysv4
+ exit ;;
+ TSUNAMI:LynxOS:2.*:*)
+ echo sparc-unknown-lynxos"$UNAME_RELEASE"
+ exit ;;
+ rs6000:LynxOS:2.*:*)
+ echo rs6000-unknown-lynxos"$UNAME_RELEASE"
+ exit ;;
+ PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*)
+ echo powerpc-unknown-lynxos"$UNAME_RELEASE"
+ exit ;;
+ SM[BE]S:UNIX_SV:*:*)
+ echo mips-dde-sysv"$UNAME_RELEASE"
+ exit ;;
+ RM*:ReliantUNIX-*:*:*)
+ echo mips-sni-sysv4
+ exit ;;
+ RM*:SINIX-*:*:*)
+ echo mips-sni-sysv4
+ exit ;;
+ *:SINIX-*:*:*)
+ if uname -p 2>/dev/null >/dev/null ; then
+ UNAME_MACHINE=`(uname -p) 2>/dev/null`
+ echo "$UNAME_MACHINE"-sni-sysv4
+ else
+ echo ns32k-sni-sysv
+ fi
+ exit ;;
+ PENTIUM:*:4.0*:*) # Unisys `ClearPath HMP IX 4000' SVR4/MP effort
+ # says
+ echo i586-unisys-sysv4
+ exit ;;
+ *:UNIX_System_V:4*:FTX*)
+ # From Gerald Hewes .
+ # How about differentiating between stratus architectures? -djm
+ echo hppa1.1-stratus-sysv4
+ exit ;;
+ *:*:*:FTX*)
+ # From seanf@swdc.stratus.com.
+ echo i860-stratus-sysv4
+ exit ;;
+ i*86:VOS:*:*)
+ # From Paul.Green@stratus.com.
+ echo "$UNAME_MACHINE"-stratus-vos
+ exit ;;
+ *:VOS:*:*)
+ # From Paul.Green@stratus.com.
+ echo hppa1.1-stratus-vos
+ exit ;;
+ mc68*:A/UX:*:*)
+ echo m68k-apple-aux"$UNAME_RELEASE"
+ exit ;;
+ news*:NEWS-OS:6*:*)
+ echo mips-sony-newsos6
+ exit ;;
+ R[34]000:*System_V*:*:* | R4000:UNIX_SYSV:*:* | R*000:UNIX_SV:*:*)
+ if [ -d /usr/nec ]; then
+ echo mips-nec-sysv"$UNAME_RELEASE"
+ else
+ echo mips-unknown-sysv"$UNAME_RELEASE"
+ fi
+ exit ;;
+ BeBox:BeOS:*:*) # BeOS running on hardware made by Be, PPC only.
+ echo powerpc-be-beos
+ exit ;;
+ BeMac:BeOS:*:*) # BeOS running on Mac or Mac clone, PPC only.
+ echo powerpc-apple-beos
+ exit ;;
+ BePC:BeOS:*:*) # BeOS running on Intel PC compatible.
+ echo i586-pc-beos
+ exit ;;
+ BePC:Haiku:*:*) # Haiku running on Intel PC compatible.
+ echo i586-pc-haiku
+ exit ;;
+ x86_64:Haiku:*:*)
+ echo x86_64-unknown-haiku
+ exit ;;
+ SX-4:SUPER-UX:*:*)
+ echo sx4-nec-superux"$UNAME_RELEASE"
+ exit ;;
+ SX-5:SUPER-UX:*:*)
+ echo sx5-nec-superux"$UNAME_RELEASE"
+ exit ;;
+ SX-6:SUPER-UX:*:*)
+ echo sx6-nec-superux"$UNAME_RELEASE"
+ exit ;;
+ SX-7:SUPER-UX:*:*)
+ echo sx7-nec-superux"$UNAME_RELEASE"
+ exit ;;
+ SX-8:SUPER-UX:*:*)
+ echo sx8-nec-superux"$UNAME_RELEASE"
+ exit ;;
+ SX-8R:SUPER-UX:*:*)
+ echo sx8r-nec-superux"$UNAME_RELEASE"
+ exit ;;
+ SX-ACE:SUPER-UX:*:*)
+ echo sxace-nec-superux"$UNAME_RELEASE"
+ exit ;;
+ Power*:Rhapsody:*:*)
+ echo powerpc-apple-rhapsody"$UNAME_RELEASE"
+ exit ;;
+ *:Rhapsody:*:*)
+ echo "$UNAME_MACHINE"-apple-rhapsody"$UNAME_RELEASE"
+ exit ;;
+ *:Darwin:*:*)
+ UNAME_PROCESSOR=`uname -p` || UNAME_PROCESSOR=unknown
+ set_cc_for_build
+ if test "$UNAME_PROCESSOR" = unknown ; then
+ UNAME_PROCESSOR=powerpc
+ fi
+ if test "`echo "$UNAME_RELEASE" | sed -e 's/\..*//'`" -le 10 ; then
+ if [ "$CC_FOR_BUILD" != no_compiler_found ]; then
+ if (echo '#ifdef __LP64__'; echo IS_64BIT_ARCH; echo '#endif') | \
+ (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \
+ grep IS_64BIT_ARCH >/dev/null
+ then
+ case $UNAME_PROCESSOR in
+ i386) UNAME_PROCESSOR=x86_64 ;;
+ powerpc) UNAME_PROCESSOR=powerpc64 ;;
+ esac
+ fi
+ # On 10.4-10.6 one might compile for PowerPC via gcc -arch ppc
+ if (echo '#ifdef __POWERPC__'; echo IS_PPC; echo '#endif') | \
+ (CCOPTS="" $CC_FOR_BUILD -E - 2>/dev/null) | \
+ grep IS_PPC >/dev/null
+ then
+ UNAME_PROCESSOR=powerpc
+ fi
+ fi
+ elif test "$UNAME_PROCESSOR" = i386 ; then
+ # Avoid executing cc on OS X 10.9, as it ships with a stub
+ # that puts up a graphical alert prompting to install
+ # developer tools. Any system running Mac OS X 10.7 or
+ # later (Darwin 11 and later) is required to have a 64-bit
+ # processor. This is not true of the ARM version of Darwin
+ # that Apple uses in portable devices.
+ UNAME_PROCESSOR=x86_64
+ fi
+ echo "$UNAME_PROCESSOR"-apple-darwin"$UNAME_RELEASE"
+ exit ;;
+ *:procnto*:*:* | *:QNX:[0123456789]*:*)
+ UNAME_PROCESSOR=`uname -p`
+ if test "$UNAME_PROCESSOR" = x86; then
+ UNAME_PROCESSOR=i386
+ UNAME_MACHINE=pc
+ fi
+ echo "$UNAME_PROCESSOR"-"$UNAME_MACHINE"-nto-qnx"$UNAME_RELEASE"
+ exit ;;
+ *:QNX:*:4*)
+ echo i386-pc-qnx
+ exit ;;
+ NEO-*:NONSTOP_KERNEL:*:*)
+ echo neo-tandem-nsk"$UNAME_RELEASE"
+ exit ;;
+ NSE-*:NONSTOP_KERNEL:*:*)
+ echo nse-tandem-nsk"$UNAME_RELEASE"
+ exit ;;
+ NSR-*:NONSTOP_KERNEL:*:*)
+ echo nsr-tandem-nsk"$UNAME_RELEASE"
+ exit ;;
+ NSV-*:NONSTOP_KERNEL:*:*)
+ echo nsv-tandem-nsk"$UNAME_RELEASE"
+ exit ;;
+ NSX-*:NONSTOP_KERNEL:*:*)
+ echo nsx-tandem-nsk"$UNAME_RELEASE"
+ exit ;;
+ *:NonStop-UX:*:*)
+ echo mips-compaq-nonstopux
+ exit ;;
+ BS2000:POSIX*:*:*)
+ echo bs2000-siemens-sysv
+ exit ;;
+ DS/*:UNIX_System_V:*:*)
+ echo "$UNAME_MACHINE"-"$UNAME_SYSTEM"-"$UNAME_RELEASE"
+ exit ;;
+ *:Plan9:*:*)
+ # "uname -m" is not consistent, so use $cputype instead. 386
+ # is converted to i386 for consistency with other x86
+ # operating systems.
+ # shellcheck disable=SC2154
+ if test "$cputype" = 386; then
+ UNAME_MACHINE=i386
+ else
+ UNAME_MACHINE="$cputype"
+ fi
+ echo "$UNAME_MACHINE"-unknown-plan9
+ exit ;;
+ *:TOPS-10:*:*)
+ echo pdp10-unknown-tops10
+ exit ;;
+ *:TENEX:*:*)
+ echo pdp10-unknown-tenex
+ exit ;;
+ KS10:TOPS-20:*:* | KL10:TOPS-20:*:* | TYPE4:TOPS-20:*:*)
+ echo pdp10-dec-tops20
+ exit ;;
+ XKL-1:TOPS-20:*:* | TYPE5:TOPS-20:*:*)
+ echo pdp10-xkl-tops20
+ exit ;;
+ *:TOPS-20:*:*)
+ echo pdp10-unknown-tops20
+ exit ;;
+ *:ITS:*:*)
+ echo pdp10-unknown-its
+ exit ;;
+ SEI:*:*:SEIUX)
+ echo mips-sei-seiux"$UNAME_RELEASE"
+ exit ;;
+ *:DragonFly:*:*)
+ echo "$UNAME_MACHINE"-unknown-dragonfly"`echo "$UNAME_RELEASE"|sed -e 's/[-(].*//'`"
+ exit ;;
+ *:*VMS:*:*)
+ UNAME_MACHINE=`(uname -p) 2>/dev/null`
+ case "$UNAME_MACHINE" in
+ A*) echo alpha-dec-vms ; exit ;;
+ I*) echo ia64-dec-vms ; exit ;;
+ V*) echo vax-dec-vms ; exit ;;
+ esac ;;
+ *:XENIX:*:SysV)
+ echo i386-pc-xenix
+ exit ;;
+ i*86:skyos:*:*)
+ echo "$UNAME_MACHINE"-pc-skyos"`echo "$UNAME_RELEASE" | sed -e 's/ .*$//'`"
+ exit ;;
+ i*86:rdos:*:*)
+ echo "$UNAME_MACHINE"-pc-rdos
+ exit ;;
+ i*86:AROS:*:*)
+ echo "$UNAME_MACHINE"-pc-aros
+ exit ;;
+ x86_64:VMkernel:*:*)
+ echo "$UNAME_MACHINE"-unknown-esx
+ exit ;;
+ amd64:Isilon\ OneFS:*:*)
+ echo x86_64-unknown-onefs
+ exit ;;
+esac
+
+echo "$0: unable to guess system type" >&2
+
+case "$UNAME_MACHINE:$UNAME_SYSTEM" in
+ mips:Linux | mips64:Linux)
+ # If we got here on MIPS GNU/Linux, output extra information.
+ cat >&2 <&2 </dev/null || echo unknown`
+uname -r = `(uname -r) 2>/dev/null || echo unknown`
+uname -s = `(uname -s) 2>/dev/null || echo unknown`
+uname -v = `(uname -v) 2>/dev/null || echo unknown`
+
+/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null`
+/bin/uname -X = `(/bin/uname -X) 2>/dev/null`
+
+hostinfo = `(hostinfo) 2>/dev/null`
+/bin/universe = `(/bin/universe) 2>/dev/null`
+/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null`
+/bin/arch = `(/bin/arch) 2>/dev/null`
+/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null`
+/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null`
+
+UNAME_MACHINE = "$UNAME_MACHINE"
+UNAME_RELEASE = "$UNAME_RELEASE"
+UNAME_SYSTEM = "$UNAME_SYSTEM"
+UNAME_VERSION = "$UNAME_VERSION"
+EOF
+
+exit 1
+
+# Local variables:
+# eval: (add-hook 'before-save-hook 'time-stamp)
+# time-stamp-start: "timestamp='"
+# time-stamp-format: "%:y-%02m-%02d"
+# time-stamp-end: "'"
+# End:
diff --git a/extern/glew/config/version b/extern/glew/config/version
new file mode 100644
index 0000000000..10f22c3dc3
--- /dev/null
+++ b/extern/glew/config/version
@@ -0,0 +1,7 @@
+GLEW_MAJOR = 2
+GLEW_MINOR = 2
+GLEW_MICRO = 0
+GLEW_VERSION = $(GLEW_MAJOR).$(GLEW_MINOR).$(GLEW_MICRO)
+GLEW_NAME = GLEW
+SO_MAJOR = $(GLEW_MAJOR).$(GLEW_MINOR)
+SO_VERSION = $(GLEW_VERSION)
diff --git a/extern/glew-1.5.8/doc/advanced.html b/extern/glew/doc/advanced.html
similarity index 65%
rename from extern/glew-1.5.8/doc/advanced.html
rename to extern/glew/doc/advanced.html
index b555856a14..edcef449e7 100644
--- a/extern/glew-1.5.8/doc/advanced.html
+++ b/extern/glew/doc/advanced.html
@@ -1,6 +1,7 @@
-
GLEW: The OpenGL Extension Wrangler Library
@@ -46,21 +46,26 @@ THE POSSIBILITY OF SUCH DAMAGE.
@@ -70,19 +75,14 @@ THE POSSIBILITY OF SUCH DAMAGE.
-Last Update: 01-31-11
+Last Update: 07-31-17
-
-
+
+
+
+
-
@@ -121,29 +121,22 @@ root directory is mounted in binary mode. The makefile in the