diff --git a/.gitignore b/.gitignore
index 0b496ad..1630ed4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -5,7 +5,9 @@
/build/*.rc
/build/*/*.sdf
/build/*/*.suo
+/build/*/*.db
/build/*/*.vcxproj.user
+/build/*/.vs/
/build/*/tmp/
/build/cmake/CMakeFiles/
/build/cmake/CMakeCache.txt
diff --git a/.travis.yml.conan b/.travis.yml.conan
new file mode 100644
index 0000000..fe56521
--- /dev/null
+++ b/.travis.yml.conan
@@ -0,0 +1,53 @@
+
+env:
+ global:
+ - CONAN_USERNAME="nigels-com"
+ - CONAN_REFERENCE="glew/master"
+ - CONAN_CHANNEL="testing"
+
+linux: &linux
+ os: linux
+ sudo: required
+ language: python
+ python: "2.7"
+ services:
+ - docker
+osx: &osx
+ os: osx
+ language: generic
+matrix:
+ include:
+
+ - <<: *linux
+ env: CONAN_GCC_VERSIONS=4.9 CONAN_DOCKER_IMAGE=lasote/conangcc49
+ - <<: *linux
+ env: CONAN_GCC_VERSIONS=5.4 CONAN_DOCKER_IMAGE=lasote/conangcc54
+ - <<: *linux
+ env: CONAN_GCC_VERSIONS=6.3 CONAN_DOCKER_IMAGE=lasote/conangcc63
+ - <<: *linux
+ env: CONAN_CLANG_VERSIONS=3.9 CONAN_DOCKER_IMAGE=lasote/conanclang39
+ - <<: *linux
+ env: CONAN_CLANG_VERSIONS=4.0 CONAN_DOCKER_IMAGE=lasote/conanclang40
+ - <<: *osx
+ osx_image: xcode7.3
+ env: CONAN_APPLE_CLANG_VERSIONS=7.3
+ - <<: *osx
+ osx_image: xcode8.2
+ env: CONAN_APPLE_CLANG_VERSIONS=8.0
+ - <<: *osx
+ osx_image: xcode8.3
+ env: CONAN_APPLE_CLANG_VERSIONS=8.1
+
+install:
+ - chmod +x ./build/conan/.travis/install.sh
+ - ./build/conan/.travis/install.sh
+script:
+ # Building master
+ - cp -rf ./build/conan/* .
+ - cp -rf ./build/conan/.travis .
+ - chmod +x .travis/run.sh
+ - .travis/run.sh
+
+ # Building released version
+ #- chmod +x ./build/conan/.travis/run.sh
+ #- cd ./build/conan && .travis/run.sh
diff --git a/README.md b/README.md
index 3a6c344..d3b8de8 100644
--- a/README.md
+++ b/README.md
@@ -1,5 +1,7 @@
# GLEW - The OpenGL Extension Wrangler Library
+The OpenGL Extension Wrangler Library (GLEW) is a cross-platform open-source C/C++ extension loading library. GLEW provides efficient run-time mechanisms for determining which OpenGL extensions are supported on the target platform. OpenGL core and extension functionality is exposed in a single header file. GLEW has been tested on a variety of operating systems, including Windows, Linux, Mac OS X, FreeBSD, Irix, and Solaris.
+

http://glew.sourceforge.net/
@@ -12,22 +14,19 @@ https://github.com/nigels-com/glew
## Downloads
-Current release is [2.0.0](https://sourceforge.net/projects/glew/files/glew/2.0.0/).
+Current release is [2.1.0](https://sourceforge.net/projects/glew/files/glew/2.1.0/).
[(Change Log)](http://glew.sourceforge.net/log.html)
Sources available as
-[ZIP](https://sourceforge.net/projects/glew/files/glew/2.0.0/glew-2.0.0.zip/download) or
-[TGZ](https://sourceforge.net/projects/glew/files/glew/2.0.0/glew-2.0.0.tgz/download).
+[ZIP](https://sourceforge.net/projects/glew/files/glew/2.1.0/glew-2.1.0.zip/download) or
+[TGZ](https://sourceforge.net/projects/glew/files/glew/2.1.0/glew-2.1.0.tgz/download).
-Windows binaries for [32-bit and 64-bit](https://sourceforge.net/projects/glew/files/glew/2.0.0/glew-2.0.0-win32.zip/download).
+Windows binaries for [32-bit and 64-bit](https://sourceforge.net/projects/glew/files/glew/2.1.0/glew-2.1.0-win32.zip/download).
### Recent snapshots
Snapshots may contain new features, bug-fixes or new OpenGL extensions ahead of tested, official releases.
-[glew-20160708.tgz](http://sourceforge.net/projects/glew/files/glew/snapshots/glew-20160708.tgz/download)
-*GLEW 2.0.0 RC: Core context, EGL support, no MX*
-
## Build
It is highly recommended to build from a tgz or zip release snapshot.
@@ -93,9 +92,9 @@ RedHat/CentOS/Fedora: `$ sudo yum install libXmu-devel libXi-devel libGL-devel c
#### Visual Studio
-Use the provided Visual Studio project file in build/vc12/
+Use the provided Visual Studio project file in build/vc15/
-Projects for vc6 and vc10 are also provided
+Projects for vc6, vc10, vc12 and vc14 are also provided
#### MSYS/Mingw
@@ -125,8 +124,8 @@ Alternative toolchain: `SYSTEM=msys, SYSTEM=msys-win32, SYSTEM=msys-win64`
## glewinfo
`glewinfo` is a command-line tool useful for inspecting the capabilities of an
-OpenGL implementation and GLEW support for that. Please include the output of
-`glewinfo` with bug reports, as appropriate.
+OpenGL implementation and GLEW support for that. Please include `glewinfo.txt`
+with bug reports, as appropriate.
---------------------------
GLEW Extension Info
diff --git a/auto/bin/filter_gl_ext.sh b/auto/bin/filter_gl_ext.sh
index baca194..88eebb1 100755
--- a/auto/bin/filter_gl_ext.sh
+++ b/auto/bin/filter_gl_ext.sh
@@ -516,6 +516,49 @@ EOT
grep -v "RasterSamplesEXT" $1/GL_NV_framebuffer_mixed_samples > tmp
mv tmp $1/GL_NV_framebuffer_mixed_samples
+# Filter out glNamedBufferStorageEXT from GL_ARB_buffer_storage
+
+ grep -v "glNamedBufferStorageEXT" $1/GL_ARB_buffer_storage > tmp
+ mv tmp $1/GL_ARB_buffer_storage
+
+# Filter out glFramebufferTextureEXT from GL_EXT_geometry_point_size
+# and GL_EXT_geometry_shader
+
+ grep -v "glFramebufferTextureEXT" $1/GL_EXT_geometry_point_size > tmp
+ mv tmp $1/GL_EXT_geometry_point_size
+
+ grep -v "glFramebufferTextureEXT" $1/GL_EXT_geometry_shader > tmp
+ mv tmp $1/GL_EXT_geometry_shader
+
+# Filter out glBindFragDataLocationEXT from GL_EXT_blend_func_extended
+
+ grep -v "glBindFragDataLocationEXT" $1/GL_EXT_blend_func_extended > tmp
+ mv tmp $1/GL_EXT_blend_func_extended
+
+# Filter out glDrawArraysInstancedEXT and glDrawElementsInstancedEXT from GL_EXT_blend_func_extended
+
+ grep -v "glDrawArraysInstancedEXT" $1/GL_EXT_instanced_arrays > tmp
+ mv tmp $1/GL_EXT_instanced_arrays
+
+ grep -v "glDrawElementsInstancedEXT" $1/GL_EXT_instanced_arrays > tmp
+ mv tmp $1/GL_EXT_instanced_arrays
+
+# Filter out glRenderbufferStorageMultisampleEXT from GL_EXT_multisampled_render_to_texture
+
+ grep -v "glRenderbufferStorageMultisampleEXT" $1/GL_EXT_multisampled_render_to_texture > tmp
+ mv tmp $1/GL_EXT_multisampled_render_to_texture
+
+# Filter out glTexturePageCommitmentEXT from GL_ARB_sparse_texture
+
+ grep -v "glTexturePageCommitmentEXT" $1/GL_ARB_sparse_texture > tmp
+ mv tmp $1/GL_ARB_sparse_texture
+
+# Filter out TextureStorage* from GL_ARB_texture_storage
+
+ grep -v "TextureStorage" $1/GL_ARB_texture_storage > tmp
+ mv tmp $1/GL_ARB_texture_storage
+
+
# Append GLVULKANPROCNV to GL_NV_draw_vulkan_image
# Probably ought to be explicitly mentioned in the spec language
diff --git a/auto/bin/make_def_fun.pl b/auto/bin/make_def_fun.pl
index 2ed8b4e..49f7e7e 100755
--- a/auto/bin/make_def_fun.pl
+++ b/auto/bin/make_def_fun.pl
@@ -10,6 +10,7 @@
use strict;
use warnings;
+use lib '.';
do 'bin/make.pl';
# function pointer declaration
diff --git a/auto/bin/make_def_var.pl b/auto/bin/make_def_var.pl
index 7c8bc5f..b1868e8 100755
--- a/auto/bin/make_def_var.pl
+++ b/auto/bin/make_def_var.pl
@@ -10,6 +10,7 @@
use strict;
use warnings;
+use lib '.';
do 'bin/make.pl';
my @extlist = ();
diff --git a/auto/bin/make_enable_index.pl b/auto/bin/make_enable_index.pl
index 226612d..b5f7261 100755
--- a/auto/bin/make_enable_index.pl
+++ b/auto/bin/make_enable_index.pl
@@ -10,6 +10,7 @@
use strict;
use warnings;
+use lib '.';
do 'bin/make.pl';
##
diff --git a/auto/bin/make_header.pl b/auto/bin/make_header.pl
index 5c7f94a..3a73efb 100755
--- a/auto/bin/make_header.pl
+++ b/auto/bin/make_header.pl
@@ -10,6 +10,7 @@
use strict;
use warnings;
+use lib '.';
do 'bin/make.pl';
# token
diff --git a/auto/bin/make_html.pl b/auto/bin/make_html.pl
index 486e7fd..59305bd 100755
--- a/auto/bin/make_html.pl
+++ b/auto/bin/make_html.pl
@@ -10,6 +10,7 @@
use strict;
use warnings;
+use lib '.';
do 'bin/make.pl';
#---------------------------------------------------------------------------------------
diff --git a/auto/bin/make_index.pl b/auto/bin/make_index.pl
index bfaf300..1d2b5d4 100755
--- a/auto/bin/make_index.pl
+++ b/auto/bin/make_index.pl
@@ -10,6 +10,7 @@
use strict;
use warnings;
+use lib '.';
do 'bin/make.pl';
##
diff --git a/auto/bin/make_info.pl b/auto/bin/make_info.pl
index 78295fc..78e8f82 100755
--- a/auto/bin/make_info.pl
+++ b/auto/bin/make_info.pl
@@ -10,6 +10,7 @@
use strict;
use warnings;
+use lib '.';
do 'bin/make.pl';
#---------------------------------------------------------------------------------------
diff --git a/auto/bin/make_info_list.pl b/auto/bin/make_info_list.pl
index 5bc65fa..e27d36a 100755
--- a/auto/bin/make_info_list.pl
+++ b/auto/bin/make_info_list.pl
@@ -10,6 +10,7 @@
use strict;
use warnings;
+use lib '.';
do 'bin/make.pl';
#---------------------------------------------------------------------------------------
diff --git a/auto/bin/make_init.pl b/auto/bin/make_init.pl
index 343a1ad..7f7d3aa 100755
--- a/auto/bin/make_init.pl
+++ b/auto/bin/make_init.pl
@@ -10,6 +10,7 @@
use strict;
use warnings;
+use lib '.';
do 'bin/make.pl';
#-------------------------------------------------------------------------------
diff --git a/auto/bin/make_initd.pl b/auto/bin/make_initd.pl
index 35c3b5d..0521726 100755
--- a/auto/bin/make_initd.pl
+++ b/auto/bin/make_initd.pl
@@ -10,6 +10,7 @@
use strict;
use warnings;
+use lib '.';
do 'bin/make.pl';
## Output declarations for the _glewInit_[extension] functions defined
diff --git a/auto/bin/make_list.pl b/auto/bin/make_list.pl
index ef1d81e..a5e8ec7 100755
--- a/auto/bin/make_list.pl
+++ b/auto/bin/make_list.pl
@@ -10,6 +10,7 @@
use strict;
use warnings;
+use lib '.';
do 'bin/make.pl';
#---------------------------------------------------------------------------------------
diff --git a/auto/bin/make_list2.pl b/auto/bin/make_list2.pl
index 572fdc9..26d3d3d 100755
--- a/auto/bin/make_list2.pl
+++ b/auto/bin/make_list2.pl
@@ -10,6 +10,7 @@
use strict;
use warnings;
+use lib '.';
do 'bin/make.pl';
#---------------------------------------------------------------------------------------
diff --git a/auto/bin/make_str.pl b/auto/bin/make_str.pl
index 6673a80..8859585 100755
--- a/auto/bin/make_str.pl
+++ b/auto/bin/make_str.pl
@@ -10,6 +10,7 @@
use strict;
use warnings;
+use lib '.';
do 'bin/make.pl';
my @extlist = ();
diff --git a/auto/bin/make_struct_fun.pl b/auto/bin/make_struct_fun.pl
index 3eedafe..661c302 100755
--- a/auto/bin/make_struct_fun.pl
+++ b/auto/bin/make_struct_fun.pl
@@ -10,6 +10,7 @@
use strict;
use warnings;
+use lib '.';
do 'bin/make.pl';
# function pointer declaration
diff --git a/auto/bin/make_struct_var.pl b/auto/bin/make_struct_var.pl
index c88b559..802ae49 100755
--- a/auto/bin/make_struct_var.pl
+++ b/auto/bin/make_struct_var.pl
@@ -10,6 +10,7 @@
use strict;
use warnings;
+use lib '.';
do 'bin/make.pl';
my @extlist = ();
diff --git a/auto/core/gl/GL_EXT_external_buffer b/auto/core/gl/GL_EXT_external_buffer
new file mode 100644
index 0000000..25a3ca6
--- /dev/null
+++ b/auto/core/gl/GL_EXT_external_buffer
@@ -0,0 +1,7 @@
+GL_EXT_external_buffer
+http://www.opengl.org/registry/specs/EXT/external_buffer.txt
+GL_EXT_external_buffer
+
+ void glBufferStorageExternalEXT (GLenum target, GLintptr offset, GLsizeiptr size, GLeglClientBufferEXT clientBuffer, GLbitfield flags)
+ void glNamedBufferStorageExternalEXT (GLuint buffer, GLintptr offset, GLsizeiptr size, GLeglClientBufferEXT clientBuffer, GLbitfield flags)
+ typedef void* GLeglClientBufferEXT
\ No newline at end of file
diff --git a/auto/core/gl/GL_EXT_memory_object b/auto/core/gl/GL_EXT_memory_object
new file mode 100644
index 0000000..1f4531d
--- /dev/null
+++ b/auto/core/gl/GL_EXT_memory_object
@@ -0,0 +1,41 @@
+GL_EXT_memory_object
+http://www.opengl.org/registry/specs/EXT/external_objects.txt
+GL_EXT_memory_object
+
+ GL_UUID_SIZE_EXT 16
+ GL_TEXTURE_TILING_EXT 0x9580
+ GL_DEDICATED_MEMORY_OBJECT_EXT 0x9581
+ GL_NUM_TILING_TYPES_EXT 0x9582
+ GL_TILING_TYPES_EXT 0x9583
+ GL_OPTIMAL_TILING_EXT 0x9584
+ GL_LINEAR_TILING_EXT 0x9585
+ GL_LAYOUT_GENERAL_EXT 0x958D
+ GL_LAYOUT_COLOR_ATTACHMENT_EXT 0x958E
+ GL_LAYOUT_DEPTH_STENCIL_ATTACHMENT_EXT 0x958F
+ GL_LAYOUT_DEPTH_STENCIL_READ_ONLY_EXT 0x9590
+ GL_LAYOUT_SHADER_READ_ONLY_EXT 0x9591
+ GL_LAYOUT_TRANSFER_SRC_EXT 0x9592
+ GL_LAYOUT_TRANSFER_DST_EXT 0x9593
+ GL_NUM_DEVICE_UUIDS_EXT 0x9596
+ GL_DEVICE_UUID_EXT 0x9597
+ GL_DRIVER_UUID_EXT 0x9598
+ GL_PROTECTED_MEMORY_OBJECT_EXT 0x959B
+ void glBufferStorageMemEXT (GLenum target, GLsizeiptr size, GLuint memory, GLuint64 offset)
+ void glCreateMemoryObjectsEXT (GLsizei n, GLuint* memoryObjects)
+ void glDeleteMemoryObjectsEXT (GLsizei n, const GLuint* memoryObjects)
+ void glGetMemoryObjectParameterivEXT (GLuint memoryObject, GLenum pname, GLint* params)
+ void glGetUnsignedBytei_vEXT (GLenum target, GLuint index, GLubyte* data)
+ void glGetUnsignedBytevEXT (GLenum pname, GLubyte* data)
+ GLboolean glIsMemoryObjectEXT (GLuint memoryObject)
+ void glMemoryObjectParameterivEXT (GLuint memoryObject, GLenum pname, const GLint* params)
+ void glNamedBufferStorageMemEXT (GLuint buffer, GLsizeiptr size, GLuint memory, GLuint64 offset)
+ void glTexStorageMem1DEXT (GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLuint memory, GLuint64 offset)
+ void glTexStorageMem2DEXT (GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLuint memory, GLuint64 offset)
+ void glTexStorageMem2DMultisampleEXT (GLenum target, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset)
+ void glTexStorageMem3DEXT (GLenum target, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset)
+ void glTexStorageMem3DMultisampleEXT (GLenum target, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset)
+ void glTextureStorageMem1DEXT (GLuint texture, GLsizei levels, GLenum internalFormat, GLsizei width, GLuint memory, GLuint64 offset)
+ void glTextureStorageMem2DEXT (GLuint texture, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLuint memory, GLuint64 offset)
+ void glTextureStorageMem2DMultisampleEXT (GLuint texture, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset)
+ void glTextureStorageMem3DEXT (GLuint texture, GLsizei levels, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLuint memory, GLuint64 offset)
+ void glTextureStorageMem3DMultisampleEXT (GLuint texture, GLsizei samples, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations, GLuint memory, GLuint64 offset)
diff --git a/auto/core/gl/GL_EXT_memory_object_fd b/auto/core/gl/GL_EXT_memory_object_fd
new file mode 100644
index 0000000..38536c0
--- /dev/null
+++ b/auto/core/gl/GL_EXT_memory_object_fd
@@ -0,0 +1,6 @@
+GL_EXT_memory_object_fd
+http://www.opengl.org/registry/specs/EXT/external_objects_fd.txt
+GL_EXT_memory_object_fd
+
+ GL_HANDLE_TYPE_OPAQUE_FD_EXT 0x9586
+ void glImportMemoryFdEXT (GLuint memory, GLuint64 size, GLenum handleType, GLint fd)
diff --git a/auto/core/gl/GL_EXT_memory_object_win32 b/auto/core/gl/GL_EXT_memory_object_win32
new file mode 100644
index 0000000..6d36a69
--- /dev/null
+++ b/auto/core/gl/GL_EXT_memory_object_win32
@@ -0,0 +1,17 @@
+GL_EXT_memory_object_win32
+http://www.opengl.org/registry/specs/EXT/external_objects_win32.txt
+GL_EXT_memory_object_win32
+
+ GL_LUID_SIZE_EXT 8
+ GL_HANDLE_TYPE_OPAQUE_WIN32_EXT 0x9587
+ GL_HANDLE_TYPE_OPAQUE_WIN32_KMT_EXT 0x9588
+ GL_HANDLE_TYPE_D3D12_TILEPOOL_EXT 0x9589
+ GL_HANDLE_TYPE_D3D12_RESOURCE_EXT 0x958A
+ GL_HANDLE_TYPE_D3D11_IMAGE_EXT 0x958B
+ GL_HANDLE_TYPE_D3D11_IMAGE_KMT_EXT 0x958C
+ GL_HANDLE_TYPE_D3D12_FENCE_EXT 0x9594
+ GL_D3D12_FENCE_VALUE_EXT 0x9595
+ GL_DEVICE_LUID_EXT 0x9599
+ GL_DEVICE_NODE_MASK_EXT 0x959A
+ void glImportMemoryWin32HandleEXT (GLuint memory, GLuint64 size, GLenum handleType, void *handle)
+ void glImportMemoryWin32NameEXT (GLuint memory, GLuint64 size, GLenum handleType, const void *name)
diff --git a/auto/core/gl/GL_EXT_semaphore b/auto/core/gl/GL_EXT_semaphore
new file mode 100644
index 0000000..2e774d1
--- /dev/null
+++ b/auto/core/gl/GL_EXT_semaphore
@@ -0,0 +1,11 @@
+GL_EXT_semaphore
+http://www.opengl.org/registry/specs/EXT/external_objects.txt
+GL_EXT_semaphore
+
+ void glDeleteSemaphoresEXT (GLsizei n, const GLuint* semaphores)
+ void glGenSemaphoresEXT (GLsizei n, GLuint* semaphores)
+ void glGetSemaphoreParameterui64vEXT (GLuint semaphore, GLenum pname, GLuint64* params)
+ GLboolean glIsSemaphoreEXT (GLuint semaphore)
+ void glSemaphoreParameterui64vEXT (GLuint semaphore, GLenum pname, const GLuint64* params)
+ void glSignalSemaphoreEXT (GLuint semaphore, GLuint numBufferBarriers, const GLuint* buffers, GLuint numTextureBarriers, const GLuint *textures, const GLenum *dstLayouts)
+ void glWaitSemaphoreEXT (GLuint semaphore, GLuint numBufferBarriers, const GLuint* buffers, GLuint numTextureBarriers, const GLuint *textures, const GLenum *srcLayouts)
diff --git a/auto/core/gl/GL_EXT_semaphore_fd b/auto/core/gl/GL_EXT_semaphore_fd
new file mode 100644
index 0000000..e3b2985
--- /dev/null
+++ b/auto/core/gl/GL_EXT_semaphore_fd
@@ -0,0 +1,5 @@
+GL_EXT_semaphore_fd
+http://www.opengl.org/registry/specs/EXT/external_objects_fd.txt
+GL_EXT_semaphore_fd
+
+ void glImportSemaphoreFdEXT (GLuint semaphore, GLenum handleType, GLint fd)
diff --git a/auto/core/gl/GL_EXT_semaphore_win32 b/auto/core/gl/GL_EXT_semaphore_win32
new file mode 100644
index 0000000..4854f58
--- /dev/null
+++ b/auto/core/gl/GL_EXT_semaphore_win32
@@ -0,0 +1,6 @@
+GL_EXT_semaphore_win32
+http://www.opengl.org/registry/specs/EXT/external_objects_win32.txt
+GL_EXT_semaphore_win32
+
+ void glImportSemaphoreWin32HandleEXT (GLuint semaphore, GLenum handleType, void *handle)
+ void glImportSemaphoreWin32NameEXT (GLuint semaphore, GLenum handleType, const void *name)
diff --git a/auto/core/gl/GL_VERSION_4_6 b/auto/core/gl/GL_VERSION_4_6
new file mode 100644
index 0000000..2efe918
--- /dev/null
+++ b/auto/core/gl/GL_VERSION_4_6
@@ -0,0 +1,29 @@
+GL_VERSION_4_6
+https://www.opengl.org/registry/doc/glspec46.compatibility.pdf
+
+
+ GL_PARAMETER_BUFFER 0x80EE
+ GL_PARAMETER_BUFFER_BINDING 0x80EF
+ GL_VERTICES_SUBMITTED 0x82EE
+ GL_PRIMITIVES_SUBMITTED 0x82EF
+ GL_VERTEX_SHADER_INVOCATIONS 0x82F0
+ GL_TESS_CONTROL_SHADER_PATCHES 0x82F1
+ GL_TESS_EVALUATION_SHADER_INVOCATIONS 0x82F2
+ GL_GEOMETRY_SHADER_PRIMITIVES_EMITTED 0x82F3
+ GL_FRAGMENT_SHADER_INVOCATIONS 0x82F4
+ GL_COMPUTE_SHADER_INVOCATIONS 0x82F5
+ GL_CLIPPING_INPUT_PRIMITIVES 0x82F6
+ GL_CLIPPING_OUTPUT_PRIMITIVES 0x82F7
+ GL_TRANSFORM_FEEDBACK_OVERFLOW 0x82EC
+ GL_TRANSFORM_FEEDBACK_STREAM_OVERFLOW 0x82ED
+ GL_POLYGON_OFFSET_CLAMP 0x8E1B
+ GL_TEXTURE_MAX_ANISOTROPY 0x84FE
+ GL_MAX_TEXTURE_MAX_ANISOTROPY 0x84FF
+ GL_SHADER_BINARY_FORMAT_SPIR_V 0x9551
+ GL_SPIR_V_BINARY 0x9552
+ GL_CONTEXT_FLAG_NO_ERROR_BIT 0x00000008
+ GL_SPIR_V_EXTENSIONS 0x9553
+ GL_NUM_SPIR_V_EXTENSIONS 0x9554
+ void glMultiDrawArraysIndirectCount (GLenum mode, const GLvoid *indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride)
+ void glMultiDrawElementsIndirectCount (GLenum mode, GLenum type, const GLvoid *indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride)
+ void glSpecializeShader (GLuint shader, const GLchar *pEntryPoint, GLuint numSpecializationConstants, const GLuint *pConstantIndex, const GLuint *pConstantValue)
diff --git a/auto/doc/index.html b/auto/doc/index.html
index 94ec2da..13f4c98 100644
--- a/auto/doc/index.html
+++ b/auto/doc/index.html
@@ -13,7 +13,7 @@ Mac OS X, FreeBSD, Irix, and Solaris.
GLEW is distributed
as source and precompiled binaries.
The latest release is
-2.2.0 [07-24-16]:
+2.1.0 [07-31-17]:
@@ -27,8 +27,8 @@ The latest release is
Source
-ZIP |
-TGZ
+ZIP |
+TGZ
@@ -36,7 +36,7 @@ The latest release is
Binaries
-Windows 32-bit and 64-bit
+Windows 32-bit and 64-bit
@@ -55,7 +55,7 @@ An up-to-date copy is also available using git
Supported Extensions
-The latest release contains support for OpenGL 4.5, compatibility and forward-compatible contexts and the following extensions:
+The latest release contains support for OpenGL 4.6, compatibility and forward-compatible contexts and the following extensions:
OpenGL extensions
@@ -65,6 +65,7 @@ The latest release contains support for OpenGL 4.5, compatibility and forward-co
News
+[07-31-17] GLEW 2.1.0 adds support for OpenGL 4.6, new extensions and minor bug fixes
[07-24-16] GLEW 2.0.0 adds support for forward-compatible contexts, adds new extensions, OSMesa and EGL support, MX discontinued and minor bug fixes
[08-10-15] GLEW 1.13.0 adds support for new extensions, fixes minor bugs
[26-01-15] GLEW 1.12.0 fixes minor bugs and adds new extensions
diff --git a/auto/doc/log.html b/auto/doc/log.html
index 8b6313e..e659338 100644
--- a/auto/doc/log.html
+++ b/auto/doc/log.html
@@ -2,7 +2,70 @@
-2.2.0 [07-24-16]
+2.1.0 [07-31-17]
+
+ Enhancements:
+
+ OpenGL 4.6 support added
+ Improved Mac OSX build support
+ Improved cmake build support
+
+
+
+
+ Bug fixes:
+
+ Resovled crash when glXGetCurrentDisplay() is NULL
+ CMake: only install PDB files with MSVC
+ wglGetProcAddress crash with NOGDI defined
+ Mac: using -Os rather than -O2
+
+
+
+
+ New extensions:
+
+ GL_AMD_gpu_shader_half_float
+ GL_AMD_shader_ballot
+ GL_ARB_gl_spirv
+ GL_EGL_KHR_context_flush_control
+ GL_INTEL_conservative_rasterization
+ GL_MESA_shader_integer_functions
+ GL_NVX_blend_equation_advanced_multi_draw_buffers
+ GL_NV_gpu_multicast
+ EGL_ARM_implicit_external_sync
+ EGL_EXT_gl_colorspace_bt2020_linear
+ EGL_EXT_gl_colorspace_bt2020_pq
+ EGL_EXT_gl_colorspace_scrgb_linear
+ EGL_EXT_image_dma_buf_import_modifiers
+ EGL_EXT_pixel_format_float
+ EGL_EXT_surface_SMPTE2086_metadata
+ EGL_KHR_context_flush_control
+ EGL_KHR_no_config_context
+ EGL_KHR_stream_attrib
+ EGL_MESA_platform_surfaceless
+ EGL_NV_stream_cross_display
+ EGL_NV_stream_cross_object
+ EGL_NV_stream_cross_partition
+ EGL_NV_stream_cross_process
+ EGL_NV_stream_cross_system
+ EGL_NV_stream_fifo_next
+ EGL_NV_stream_fifo_synchronous
+ EGL_NV_stream_frame_limits
+ EGL_NV_stream_remote
+ EGL_NV_stream_reset
+ EGL_NV_stream_socket
+ EGL_NV_stream_socket_inet
+ EGL_NV_stream_socket_unix
+ WGL_EXT_colorspace
+
+
+
+
+
+
+
+2.0.0 [07-24-16]
Enhancements:
diff --git a/auto/src/glew_head.c b/auto/src/glew_head.c
index b8c6854..d153cde 100644
--- a/auto/src/glew_head.c
+++ b/auto/src/glew_head.c
@@ -1,4 +1,8 @@
+#ifndef GLEW_INCLUDE
#include
+#else
+#include GLEW_INCLUDE
+#endif
#if defined(GLEW_OSMESA)
# define GLAPI extern
diff --git a/auto/src/glew_init_gl.c b/auto/src/glew_init_gl.c
index c153720..b28013f 100644
--- a/auto/src/glew_init_gl.c
+++ b/auto/src/glew_init_gl.c
@@ -109,7 +109,8 @@ static GLenum GLEWAPIENTRY glewContextInit ()
}
else
{
- GLEW_VERSION_4_5 = ( major > 4 ) || ( major == 4 && minor >= 5 ) ? GL_TRUE : GL_FALSE;
+ GLEW_VERSION_4_6 = ( major > 4 ) || ( major == 4 && minor >= 6 ) ? GL_TRUE : GL_FALSE;
+ GLEW_VERSION_4_5 = GLEW_VERSION_4_6 == GL_TRUE || ( major == 4 && minor >= 5 ) ? GL_TRUE : GL_FALSE;
GLEW_VERSION_4_4 = GLEW_VERSION_4_5 == GL_TRUE || ( major == 4 && minor >= 4 ) ? GL_TRUE : GL_FALSE;
GLEW_VERSION_4_3 = GLEW_VERSION_4_4 == GL_TRUE || ( major == 4 && minor >= 3 ) ? GL_TRUE : GL_FALSE;
GLEW_VERSION_4_2 = GLEW_VERSION_4_3 == GL_TRUE || ( major == 4 && minor >= 2 ) ? GL_TRUE : GL_FALSE;
diff --git a/auto/src/glew_init_glx.c b/auto/src/glew_init_glx.c
index 8c4596e..8397827 100644
--- a/auto/src/glew_init_glx.c
+++ b/auto/src/glew_init_glx.c
@@ -18,11 +18,11 @@ GLenum glxewInit ()
int major, minor;
const GLubyte* extStart;
const GLubyte* extEnd;
+ /* initialize core GLX 1.2 */
+ if (_glewInit_GLX_VERSION_1_2()) return GLEW_ERROR_GLX_VERSION_11_ONLY;
/* check for a display */
display = glXGetCurrentDisplay();
if (display == NULL) return GLEW_ERROR_NO_GLX_DISPLAY;
- /* initialize core GLX 1.2 */
- if (_glewInit_GLX_VERSION_1_2()) return GLEW_ERROR_GLX_VERSION_11_ONLY;
/* initialize flags */
GLXEW_VERSION_1_0 = GL_TRUE;
GLXEW_VERSION_1_1 = GL_TRUE;
diff --git a/auto/src/glewinfo_tail.c b/auto/src/glewinfo_tail.c
index f8b292a..4d45538 100644
--- a/auto/src/glewinfo_tail.c
+++ b/auto/src/glewinfo_tail.c
@@ -434,7 +434,7 @@ GLboolean glewCreateContext (struct createParams *params)
#if MAC_OS_X_VERSION_MIN_REQUIRED >= 1070
if (params->profile & GL_CONTEXT_CORE_PROFILE_BIT)
{
- if (params->major==3 && params->minor>=2)
+ if ((params->major==3 && params->minor>=2) || params->major>3)
{
contextAttrs[i++] = kCGLPFAOpenGLProfile; /* OSX 10.7 Lion onwards */
contextAttrs[i++] = (CGLPixelFormatAttribute) kCGLOGLPVersion_3_2_Core; /* 3.2 Core Context */
diff --git a/auto/src/header.html b/auto/src/header.html
index fb5d3ee..2505b91 100644
--- a/auto/src/header.html
+++ b/auto/src/header.html
@@ -46,7 +46,7 @@ THE POSSIBILITY OF SUCH DAMAGE.
-Latest Release: 2.2.0
+Latest Release: 2.1.0
@@ -75,7 +75,7 @@ THE POSSIBILITY OF SUCH DAMAGE.
-Last Update: 07-24-16
+Last Update: 07-31-17
diff --git a/build/cmake/CMakeLists.txt b/build/cmake/CMakeLists.txt
index f192009..d724e10 100644
--- a/build/cmake/CMakeLists.txt
+++ b/build/cmake/CMakeLists.txt
@@ -2,14 +2,15 @@ if ( NOT DEFINED CMAKE_BUILD_TYPE )
set( CMAKE_BUILD_TYPE Release CACHE STRING "Build type" )
endif ()
-project (glew)
+project (glew C)
-cmake_minimum_required (VERSION 2.8.7)
+cmake_minimum_required (VERSION 2.8.12)
include(GNUInstallDirs)
if (COMMAND cmake_policy)
cmake_policy (SET CMP0003 NEW)
+ cmake_policy (SET CMP0042 NEW)
endif()
set(CMAKE_DEBUG_POSTFIX d)
@@ -36,6 +37,14 @@ 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 when builing visualinfo and glewinfo,
+# but not for Windows or Apple OSX platforms
+if (BUILD_UTILS AND NOT WIN32 AND NOT APPLE)
+ find_package (X11)
+endif()
+
if (WIN32)
set (GLEW_LIB_NAME glew32)
else ()
@@ -43,11 +52,6 @@ else ()
set (DLL_PREFIX lib)
endif ()
-find_package (OpenGL REQUIRED)
-#X11 is only required when builing utils/
-if(BUILD_UTILS)
- find_package (X11)
-endif()
set (GLEW_LIBRARIES ${OPENGL_LIBRARIES})
add_definitions (-DGLEW_NO_GLU)
@@ -89,7 +93,9 @@ if (WIN32)
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}")
+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)
@@ -188,9 +194,15 @@ 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 ${GLEW_DIR}/glew.pc @ONLY)
-install(FILES ${GLEW_DIR}/glew.pc
+install(FILES ${GLEW_DIR}/glew.pc
DESTINATION ${CMAKE_INSTALL_LIBDIR}/pkgconfig
)
@@ -216,3 +228,14 @@ if(MAYBE_EXPORT)
${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/build/cmake/cmake_uninstall.cmake.in b/build/cmake/cmake_uninstall.cmake.in
new file mode 100644
index 0000000..2517e99
--- /dev/null
+++ b/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/build/conan/.gitignore b/build/conan/.gitignore
new file mode 100644
index 0000000..445b22a
--- /dev/null
+++ b/build/conan/.gitignore
@@ -0,0 +1,18 @@
+#Backup files
+*\~
+*swp
+
+#OSX
+Thumbs.db
+.DS_Store
+
+#Emacs buffers
+\#*\#
+\.#*
+
+#Conan
+test_package/build
+conanfile.pyc
+conaninfo.txt
+conanbuildinfo.cmake
+conanbuildinfo.txt
diff --git a/build/conan/.travis/install.sh b/build/conan/.travis/install.sh
new file mode 100644
index 0000000..9e406f3
--- /dev/null
+++ b/build/conan/.travis/install.sh
@@ -0,0 +1,24 @@
+#!/bin/bash
+
+set -e
+set -x
+
+if [[ "$(uname -s)" == 'Darwin' ]]; then
+ brew update || brew update
+ brew outdated pyenv || brew upgrade pyenv
+ brew install pyenv-virtualenv
+ brew install cmake || true
+
+ if which pyenv > /dev/null; then
+ eval "$(pyenv init -)"
+ fi
+
+ pyenv install 2.7.10
+ pyenv virtualenv 2.7.10 conan
+ pyenv rehash
+ pyenv activate conan
+
+fi
+
+pip install conan_package_tools
+conan user
diff --git a/build/conan/.travis/run.sh b/build/conan/.travis/run.sh
new file mode 100755
index 0000000..0a3488e
--- /dev/null
+++ b/build/conan/.travis/run.sh
@@ -0,0 +1,13 @@
+#!/bin/bash
+
+set -e
+set -x
+
+if [[ "$(uname -s)" == 'Darwin' ]]; then
+ if which pyenv > /dev/null; then
+ eval "$(pyenv init -)"
+ fi
+ pyenv activate conan
+fi
+
+python build.py
diff --git a/build/conan/FindGLEW.cmake b/build/conan/FindGLEW.cmake
new file mode 100644
index 0000000..4c10b30
--- /dev/null
+++ b/build/conan/FindGLEW.cmake
@@ -0,0 +1,18 @@
+find_path(
+ GLEW_INCLUDE_DIR
+ NAMES
+ GL
+ PATHS
+ include)
+
+find_library(
+ GLEW_LIBRARY
+ NAMES
+ GLEW GLEWd glew32 glew32s glew32d glew32sd
+ PATHS
+ lib)
+
+include(FindPackageHandleStandardArgs)
+
+find_package_handle_standard_args(GLEW REQUIRED_VARS GLEW_LIBRARY GLEW_INCLUDE_DIR)
+
diff --git a/build/conan/build.py b/build/conan/build.py
new file mode 100644
index 0000000..43b1b55
--- /dev/null
+++ b/build/conan/build.py
@@ -0,0 +1,12 @@
+from conan.packager import ConanMultiPackager
+import os, platform
+
+if __name__ == "__main__":
+ builder = ConanMultiPackager(args="--build missing")
+ builder.add_common_builds()
+ filtered_builds = []
+ for settings, options, env_vars, build_requires in builder.builds:
+ if not (settings["arch"] == "x86"):
+ filtered_builds.append([settings, options, env_vars, build_requires])
+ builder.builds = filtered_builds
+ builder.run()
diff --git a/build/conan/conanfile.py b/build/conan/conanfile.py
new file mode 100644
index 0000000..0bde210
--- /dev/null
+++ b/build/conan/conanfile.py
@@ -0,0 +1,150 @@
+import os
+from conans import ConanFile, CMake
+from conans.tools import os_info, SystemPackageTool, ConanException, replace_in_file
+from conans import tools, VisualStudioBuildEnvironment
+from conans.tools import build_sln_command, vcvars_command, download, unzip
+
+class GlewConan(ConanFile):
+ name = "glew"
+ version = "master"
+ source_directory = "%s-%s" % (name, version) if version != "master" else "."
+ description = "The GLEW library"
+ generators = "cmake", "txt"
+ settings = "os", "arch", "build_type", "compiler"
+ options = {"shared": [True, False]}
+ default_options = "shared=False"
+ url="http://github.com/nigels-com/glew"
+ license="https://github.com/nigels-com/glew#copyright-and-licensing"
+ if version == "master":
+ if os.path.isfile("Makefile"):
+ exports_sources = "*"
+ else:
+ exports_sources = os.sep.join(["..", "..", "*"])
+ else:
+ exports = "FindGLEW.cmake"
+
+ def system_requirements(self):
+ if os_info.is_linux:
+ if os_info.with_apt:
+ installer = SystemPackageTool()
+ if self.version == "master":
+ installer.install("build-essential")
+ installer.install("libxmu-dev")
+ installer.install("libxi-dev")
+ installer.install("libgl-dev")
+ installer.install("libosmesa-dev")
+ if self.settings.arch == "x86" and tools.detected_architecture() == "x86_64":
+ installer.install("libglu1-mesa-dev:i386")
+ else:
+ installer.install("libglu1-mesa-dev")
+ elif os_info.with_yum:
+ installer = SystemPackageTool()
+ if self.version == "master":
+ installer.install("libXmu-devel")
+ installer.install("libXi-devel")
+ installer.install("libGL-devel")
+ if self.settings.arch == "x86" and tools.detected_architecture() == "x86_64":
+ installer.install("mesa-libGLU-devel.i686")
+ else:
+ installer.install("mesa-libGLU-devel")
+ else:
+ self.output.warn("Could not determine Linux package manager, skipping system requirements installation.")
+
+ def configure(self):
+ del self.settings.compiler.libcxx
+
+ def source(self):
+ if self.version != "master":
+ zip_name = "%s.tgz" % self.source_directory
+ download("https://sourceforge.net/projects/glew/files/glew/%s/%s/download" % (self.version, zip_name), zip_name)
+ unzip(zip_name)
+ os.unlink(zip_name)
+
+ def build(self):
+ if self.settings.os == "Windows" and self.version == "master":
+ raise ConanException("Trunk builds are not supported on Windows (cannot build directly from master git repository).")
+
+ if self.settings.compiler == "Visual Studio":
+ env = VisualStudioBuildEnvironment(self)
+ with tools.environment_append(env.vars):
+ version = min(12, int(self.settings.compiler.version.value))
+ version = 10 if version == 11 else version
+ cd_build = "cd %s\\%s\\build\\vc%s" % (self.build_folder, self.source_directory, version)
+ build_command = build_sln_command(self.settings, "glew.sln")
+ vcvars = vcvars_command(self.settings)
+ self.run("%s && %s && %s" % (vcvars, cd_build, build_command.replace("x86", "Win32")))
+ else:
+ if self.version == "master":
+ self.run("make extensions")
+
+ replace_in_file("%s/build/cmake/CMakeLists.txt" % self.source_directory, "include(GNUInstallDirs)",
+"""
+include(${CMAKE_BINARY_DIR}/conanbuildinfo.cmake)
+conan_basic_setup()
+include(GNUInstallDirs)
+""")
+ cmake = CMake(self)
+ cmake.configure(source_dir="%s/build/cmake" % self.source_directory, defs={"BUILD_UTILS": "OFF"})
+ cmake.build()
+
+ def package(self):
+ find_glew_dir = "%s/build/conan" % self.build_folder if self.version == "master" else "."
+ self.copy("FindGLEW.cmake", ".", find_glew_dir, keep_path=False)
+ self.copy("include/*", ".", "%s" % self.source_directory, keep_path=True)
+ self.copy("%s/license*" % self.source_directory, dst="licenses", ignore_case=True, keep_path=False)
+
+ if self.settings.os == "Windows":
+ if self.settings.compiler == "Visual Studio":
+ self.copy(pattern="*.pdb", dst="bin", keep_path=False)
+ if self.options.shared:
+ self.copy(pattern="*32.lib", dst="lib", keep_path=False)
+ self.copy(pattern="*32d.lib", dst="lib", keep_path=False)
+ self.copy(pattern="*.dll", dst="bin", keep_path=False)
+ else:
+ self.copy(pattern="*32s.lib", dst="lib", keep_path=False)
+ self.copy(pattern="*32sd.lib", dst="lib", keep_path=False)
+ else:
+ if self.options.shared:
+ self.copy(pattern="*32.dll.a", dst="lib", keep_path=False)
+ self.copy(pattern="*32d.dll.a", dst="lib", keep_path=False)
+ self.copy(pattern="*.dll", dst="bin", keep_path=False)
+ else:
+ self.copy(pattern="*32.a", dst="lib", keep_path=False)
+ self.copy(pattern="*32d.a", dst="lib", keep_path=False)
+ elif self.settings.os == "Macos":
+ if self.options.shared:
+ self.copy(pattern="*.dylib", dst="lib", keep_path=False)
+ else:
+ self.copy(pattern="*.a", dst="lib", keep_path=False)
+ else:
+ if self.options.shared:
+ self.copy(pattern="*.so", dst="lib", keep_path=False)
+ else:
+ self.copy(pattern="*.a", dst="lib", keep_path=False)
+
+ def package_info(self):
+ if self.settings.os == "Windows":
+ self.cpp_info.libs = ['glew32']
+
+ if not self.options.shared:
+ self.cpp_info.defines.append("GLEW_STATIC")
+
+ if self.settings.compiler == "Visual Studio":
+ if not self.options.shared:
+ self.cpp_info.libs[0] += "s"
+ self.cpp_info.libs.append("OpenGL32.lib")
+ if self.settings.compiler.runtime != "MT":
+ self.cpp_info.exelinkflags.append('-NODEFAULTLIB:LIBCMTD')
+ self.cpp_info.exelinkflags.append('-NODEFAULTLIB:LIBCMT')
+ else:
+ self.cpp_info.libs.append("opengl32")
+
+ else:
+ self.cpp_info.libs = ['GLEW']
+ if self.settings.os == "Macos":
+ self.cpp_info.exelinkflags.append("-framework OpenGL")
+ elif not self.options.shared:
+ self.cpp_info.libs.append("GL")
+
+ if self.settings.build_type == "Debug":
+ self.cpp_info.libs[0] += "d"
diff --git a/build/conan/test_package/CMakeLists.txt b/build/conan/test_package/CMakeLists.txt
new file mode 100644
index 0000000..351a778
--- /dev/null
+++ b/build/conan/test_package/CMakeLists.txt
@@ -0,0 +1,9 @@
+project(GlewTest)
+cmake_minimum_required(VERSION 3.0.0)
+include(${CMAKE_BINARY_DIR}/conanbuildinfo.cmake)
+conan_basic_setup()
+
+add_executable(testGlew main.c)
+target_compile_definitions(testGlew PUBLIC "${CONAN_DEFINES}")
+target_link_libraries(testGlew PUBLIC "${CONAN_LIBS}")
+set_target_properties(testGlew PROPERTIES LINK_FLAGS "${CONAN_EXE_LINKER_FLAGS}")
diff --git a/build/conan/test_package/conanfile.py b/build/conan/test_package/conanfile.py
new file mode 100644
index 0000000..0239099
--- /dev/null
+++ b/build/conan/test_package/conanfile.py
@@ -0,0 +1,21 @@
+from conans import ConanFile, CMake
+import os
+
+class TestGlew(ConanFile):
+ settings = "os", "compiler", "build_type", "arch"
+ generators = "cmake"
+
+ def build(self):
+ cmake = CMake(self)
+ cmake.configure()
+ cmake.build()
+
+ def test(self):
+ self.run(os.sep.join([".","bin", "testGlew"]))
+
+ def imports(self):
+ if self.settings.os == "Windows":
+ self.copy(pattern="*.dll", dst="bin", src="bin")
+ self.copy(pattern="*.pdb", dst="bin", src="bin")
+ if self.settings.os == "Macos":
+ self.copy(pattern="*.dylib", dst="bin", src="lib")
diff --git a/build/conan/test_package/main.c b/build/conan/test_package/main.c
new file mode 100644
index 0000000..5e250f7
--- /dev/null
+++ b/build/conan/test_package/main.c
@@ -0,0 +1,6 @@
+#include "GL/glew.h"
+
+int main (){
+ glewGetString(GLEW_VERSION);
+ return 0;
+}
diff --git a/build/vc14/common.props b/build/vc14/common.props
new file mode 100644
index 0000000..8d53675
--- /dev/null
+++ b/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/build/vc14/glew.sln b/build/vc14/glew.sln
new file mode 100644
index 0000000..5ac822d
--- /dev/null
+++ b/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/build/vc14/glew_shared.vcxproj b/build/vc14/glew_shared.vcxproj
new file mode 100644
index 0000000..6015ff3
--- /dev/null
+++ b/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/build/vc14/glew_static.vcxproj b/build/vc14/glew_static.vcxproj
new file mode 100644
index 0000000..87be4c2
--- /dev/null
+++ b/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/build/vc14/glewinfo.vcxproj b/build/vc14/glewinfo.vcxproj
new file mode 100644
index 0000000..ec051d9
--- /dev/null
+++ b/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/build/vc14/visualinfo.vcxproj b/build/vc14/visualinfo.vcxproj
new file mode 100644
index 0000000..80b8d9d
--- /dev/null
+++ b/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/build/vc15/common.props b/build/vc15/common.props
new file mode 100644
index 0000000..8d53675
--- /dev/null
+++ b/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/build/vc15/glew.sln b/build/vc15/glew.sln
new file mode 100644
index 0000000..fddec56
--- /dev/null
+++ b/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/build/vc15/glew_shared.vcxproj b/build/vc15/glew_shared.vcxproj
new file mode 100644
index 0000000..5f0a843
--- /dev/null
+++ b/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;%(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/build/vc15/glew_static.vcxproj b/build/vc15/glew_static.vcxproj
new file mode 100644
index 0000000..787fa4a
--- /dev/null
+++ b/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/build/vc15/glewinfo.vcxproj b/build/vc15/glewinfo.vcxproj
new file mode 100644
index 0000000..3ccae20
--- /dev/null
+++ b/build/vc15/glewinfo.vcxproj
@@ -0,0 +1,259 @@
+
+
+
+
+ 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;%(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/build/vc15/visualinfo.vcxproj b/build/vc15/visualinfo.vcxproj
new file mode 100644
index 0000000..0b61d30
--- /dev/null
+++ b/build/vc15/visualinfo.vcxproj
@@ -0,0 +1,258 @@
+
+
+
+
+ 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;%(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/config/Makefile.darwin b/config/Makefile.darwin
index 945e062..8030f05 100644
--- a/config/Makefile.darwin
+++ b/config/Makefile.darwin
@@ -2,21 +2,23 @@ GLEW_DEST = /usr/local
NAME = $(GLEW_NAME)
CC = cc
LD = cc
-CFLAGS.EXTRA = -dynamic -fno-common
-CFLAGS.EXTRA += -std=c89 -pedantic
-#CFLAGS.EXTRA += -no-cpp-precomp
+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
-CFLAGS.EXTRA += -fPIC
BIN.SUFFIX =
LIB.SONAME = lib$(NAME).$(SO_MAJOR).dylib
LIB.DEVLNK = lib$(NAME).dylib
diff --git a/config/Makefile.darwin-gcc6 b/config/Makefile.darwin-gcc6
index 3a04101..ecb61b3 100644
--- a/config/Makefile.darwin-gcc6
+++ b/config/Makefile.darwin-gcc6
@@ -4,24 +4,25 @@ GLEW_DEST = /usr/local
NAME = $(GLEW_NAME)
CC = gcc-6
LD = gcc-6
-CFLAGS.EXTRA = -dynamic -fno-common
-CFLAGS.EXTRA += -std=c89
+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
-#CFLAGS.EXTRA += -no-cpp-precomp
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
-CFLAGS.EXTRA += -fPIC
BIN.SUFFIX =
LIB.SONAME = lib$(NAME).$(SO_MAJOR).dylib
LIB.DEVLNK = lib$(NAME).dylib
diff --git a/config/Makefile.darwin-ppc b/config/Makefile.darwin-ppc
index d511585..7a41736 100644
--- a/config/Makefile.darwin-ppc
+++ b/config/Makefile.darwin-ppc
@@ -1,23 +1,27 @@
-# Note: PPC is no longer actively maintained for GLEW, but this configuration
+# 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 -dynamic -fno-common
-#CFLAGS.EXTRA += -no-cpp-precomp
+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
-CFLAGS.EXTRA += -fPIC
BIN.SUFFIX =
LIB.SONAME = lib$(NAME).$(SO_MAJOR).dylib
LIB.DEVLNK = lib$(NAME).dylib
diff --git a/config/Makefile.darwin-universal b/config/Makefile.darwin-universal
index 7bc4c4c..f2412e3 100644
--- a/config/Makefile.darwin-universal
+++ b/config/Makefile.darwin-universal
@@ -9,20 +9,22 @@ AR =
LIBTOOL = libtool -static -o
STRIP =
CFLAGS.EXTRA = -dynamic -fno-common
-CFLAGS.EXTRA += -std=c89 -pedantic
-#CFLAGS.EXTRA += -no-cpp-precomp
+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
-CFLAGS.EXTRA += -fPIC
BIN.SUFFIX =
LIB.SONAME = lib$(NAME).$(SO_MAJOR).dylib
LIB.DEVLNK = lib$(NAME).dylib
diff --git a/config/Makefile.darwin-x86_64 b/config/Makefile.darwin-x86_64
index 1833438..dbed967 100644
--- a/config/Makefile.darwin-x86_64
+++ b/config/Makefile.darwin-x86_64
@@ -2,21 +2,24 @@ GLEW_DEST = /usr/local
NAME = $(GLEW_NAME)
CC = cc
LD = cc
-CFLAGS.EXTRA = -arch x86_64 -dynamic -fno-common
-CFLAGS.EXTRA += -std=c89 -pedantic
-#CFLAGS.EXTRA += -no-cpp-precomp
+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
-CFLAGS.EXTRA += -fPIC
BIN.SUFFIX =
LIB.SONAME = lib$(NAME).$(SO_MAJOR).dylib
LIB.DEVLNK = lib$(NAME).dylib
diff --git a/config/version b/config/version
index cdf3520..66d3d74 100644
--- a/config/version
+++ b/config/version
@@ -1,5 +1,5 @@
GLEW_MAJOR = 2
-GLEW_MINOR = 0
+GLEW_MINOR = 1
GLEW_MICRO = 0
GLEW_VERSION = $(GLEW_MAJOR).$(GLEW_MINOR).$(GLEW_MICRO)
GLEW_NAME = GLEW
diff --git a/doc/advanced.html b/doc/advanced.html
index b4c98bb..8e617b6 100644
--- a/doc/advanced.html
+++ b/doc/advanced.html
@@ -46,7 +46,7 @@ THE POSSIBILITY OF SUCH DAMAGE.
-Latest Release: 2.2.0
+Latest Release: 2.1.0
@@ -75,7 +75,7 @@ THE POSSIBILITY OF SUCH DAMAGE.
-Last Update: 07-24-16
+Last Update: 07-31-17
diff --git a/doc/basic.html b/doc/basic.html
index 4acb9b6..bc3497b 100644
--- a/doc/basic.html
+++ b/doc/basic.html
@@ -46,7 +46,7 @@ THE POSSIBILITY OF SUCH DAMAGE.
-Latest Release: 2.2.0
+Latest Release: 2.1.0
@@ -75,7 +75,7 @@ THE POSSIBILITY OF SUCH DAMAGE.
-Last Update: 07-24-16
+Last Update: 07-31-17
diff --git a/doc/build.html b/doc/build.html
index 1bf90a2..8dd5580 100644
--- a/doc/build.html
+++ b/doc/build.html
@@ -46,7 +46,7 @@ THE POSSIBILITY OF SUCH DAMAGE.
-Latest Release: 2.2.0
+Latest Release: 2.1.0
@@ -75,7 +75,7 @@ THE POSSIBILITY OF SUCH DAMAGE.
-Last Update: 07-24-16
+Last Update: 07-31-17
diff --git a/doc/credits.html b/doc/credits.html
index dd7e25d..ecf88b1 100644
--- a/doc/credits.html
+++ b/doc/credits.html
@@ -46,7 +46,7 @@ THE POSSIBILITY OF SUCH DAMAGE.
-Latest Release: 2.2.0
+Latest Release: 2.1.0
@@ -75,7 +75,7 @@ THE POSSIBILITY OF SUCH DAMAGE.
-Last Update: 07-24-16
+Last Update: 07-31-17
diff --git a/doc/glew.html b/doc/glew.html
index e4e3e61..ed6bb3a 100644
--- a/doc/glew.html
+++ b/doc/glew.html
@@ -46,7 +46,7 @@ THE POSSIBILITY OF SUCH DAMAGE.
-Latest Release: 2.2.0
+Latest Release: 2.1.0
@@ -75,7 +75,7 @@ THE POSSIBILITY OF SUCH DAMAGE.
-Last Update: 07-24-16
+Last Update: 07-31-17
@@ -99,627 +99,821 @@ THE POSSIBILITY OF SUCH DAMAGE.
Supported OpenGL Extensions