Commit Graph

1029 Commits

Author SHA1 Message Date
Nigel Stewart be55fd6b6b Merge pull request #148 from jasjuang/master
add sudo make uninstall for cmake build
2017-06-21 23:35:30 +10:00
jasjuang 0b5461935f add sudo make uninstall for cmake build 2017-06-20 16:06:47 -07:00
Nigel Stewart f678171b69 Fix for glxewInit - we need GLX 1.2 for calling glXGetCurrentDisplay 2017-04-27 20:43:33 +10:00
Nigel Stewart 8ae15ddd51 Merge pull request #143 from claudiofantacci/fix/cmakelists
Add VERSION and SOVERSION number to shared libraries
2017-04-25 17:52:20 +10:00
Claudio 298528cd87
Remove trailing space 2017-04-23 19:24:39 +02:00
Claudio e7bf0f70b3
Add VERSION and SOVERSION number to shared libraries
With this commit, when building or installing `glew`, VERSION and
SOVERSION symlinks to the `glew` shared library are created in the
library installation folder if the platform supports them and the linker
supports so-names.
VERSION and SOVERSION specify, respectively, the build version and API
version of the shared library.

As an example, under macOS, the following symlinks will be created:
libGLEW.2.0.0.dylib                      (the shared library)
libGLEW.2.0.dylib -> libGLEW.2.0.0.dylib (VERSION symlink)
libGLEW.dylib -> libGLEW.2.0.dylib       (SOVERSION symlink)

Fixes #141
2017-04-23 19:24:12 +02:00
Nigel Stewart 8ef3df14f3 Snapshot available for GLEW 2.0.1 RC1 2017-04-23 12:40:33 +10:00
Nigel Stewart ad15372255 Documentation refresh for upcoming GLEW 2.0.1 2017-04-23 12:17:16 +10:00
Nigel Stewart 60139a6cfb Initial draft of release notes for upcoming GLEW 2.0.1 2017-04-23 12:16:50 +10:00
Nigel Stewart a82b984534 Add support for GLEW_INCLUDE to allow including glew.h from a custom location 2017-04-23 11:51:09 +10:00
Nigel Stewart 925722f910 OSX cmake refinement - no Requires: glu in glew.pc 2017-04-23 11:23:12 +10:00
Nigel Stewart 2906c1c10f OSX makefile refinements - only require GLU in GLEW_APPLE_GLX=1 mode, use -std=c99 for X11/GLX 2017-04-23 11:14:01 +10:00
Nigel Stewart b34af4d1e3 Tidy-up for Mac makefile build configs 2017-04-23 10:55:00 +10:00
Nigel Stewart a9e50908a1 For cmake build, skip X11 check for Windows and Apple OSX 2017-04-23 09:34:57 +10:00
Nigel Stewart d77479401d For cmake build, opt into Mac OS X rpath mode, bump version to 2.8.12 2017-04-23 09:20:49 +10:00
Nigel Stewart db019a23a9 Merge pull request #127 from techtonik/patch-1
glewinfo output is a .txt file
2017-04-23 09:07:59 +10:00
Nigel Stewart 75440cab22 Merge pull request #137 from tokenrove/fix-perl-5.26-inc
Fix perl @INC for scripts which include make.pl
2017-04-23 09:07:43 +10:00
Julian Squires 7f510379f6
Fix perl @INC for scripts which include make.pl
In perl 5.26, and some earlier perls that have been proactively
patched (Debian's perl 5.24, for example), '.' was removed from @INC
for security reasons.  For details, see:
  http://blogs.perl.org/users/todd_rinaldo/2016/11/how-removing-from-inc-is-about-to-break-cpan.html
  https://www.masteringperl.org/2017/01/perl-v5-26-removes-from-inc-but-dont-think-youre-safe/
et cetera.

This breaks the generation scripts which source make.pl with
  do 'bin/make.pl'

Although this might be indicative that it's time to refactor these
scripts, I opted for the simplest possible fix for now: restoring '.'
to @INC in each script that depends on make.pl.
2017-03-26 15:44:59 -04:00
anatoly techtonik 6f96777a4a glewinfo output is a .txt file 2017-01-15 22:20:19 +03:00
Nigel Stewart 6ee72f2fce make build: Updated config.guess 2017-01-08 11:31:30 +10:00
Nigel Stewart 239fde0a43 Update copyright notice to 2017 2017-01-08 10:30:28 +10:00
Nigel Stewart ac4a740b38 Merge pull request #126 from aroig/gh/cmake-on-msys2
cmake: only install PDB files with msvc
2017-01-08 09:51:03 +10:00
Abdo Roig-Maranges cedd84f839 cmake: only install PDB files with msvc
Otherwise cmake windows builds with the mingw compiler are broken.
2016-12-27 20:48:09 +01:00
Nigel Stewart 5766d27018 Note that clang is needed for SYSTEM=darwin-universal (not supported for gcc) 2016-12-25 00:50:42 +10:00
Nigel Stewart f426fcee41 Tidy up use of unsued parameter attribute for Mac gcc builds 2016-12-25 00:49:20 +10:00
Nigel Stewart 51bd94fcca Add Mac gcc6 build configuration (gcc via brew) 2016-12-25 00:48:21 +10:00
Nigel Stewart 4b9ffe44ee Merge pull request #109 from captainvera/master
Added build note on README
2016-12-23 21:06:05 +10:00
Nigel Stewart 62ac9ddfa4 Merge pull request #117 from undisputed-seraphim/Windows_Build_Fixes
Resolve issue #99: Removed /RTC1 flag in glew…
2016-12-23 21:05:39 +10:00
Nigel Stewart db04f1d1ef Merge pull request #125 from rkanavath/master
CMake: call find_package only if build_utils is enabled
2016-12-23 21:04:10 +10:00
Nigel Stewart 71153f8b47 Merge pull request #121 from Lunarsong/patch-2
Corrected spelling of needed in README.md.
2016-12-23 21:03:57 +10:00
Rashad Kanavath c690766fc2 CMake: call find_package only if build_utils is enabled 2016-12-23 05:50:13 +01:00
Shanee 023999f68f Corrected spelling of needed in README.md.
"neded" -> "needed".
2016-12-13 10:41:06 -08:00
Tan Li Boon 6a38eb3fc5 Resolve issue #99:
- Used cmake regex to strip out the /RTC1 flag used by MSVC debug builds, which conflicts with the -nodefaultlib and -noentry flags.
2016-11-21 20:03:23 +08:00
Nigel Stewart a42be263ac README updates 2016-11-13 14:44:44 +10:00
Nigel Stewart b79702c6b7 Bump the copyright notice to 2016 2016-11-13 14:33:55 +10:00
Nigel Stewart 2c6ad763af glxewInit check for current X11 display rather than crashing 2016-11-13 12:08:32 +10:00
Nigel Stewart 7f92f9adf7 Update Mac OSX builds to use -std=c89 rather than -ansi 2016-11-13 11:57:00 +10:00
Nigel Stewart 013667e3e1 PHONY make targets: glew.lib glew.lib.shared glew.lib.static 2016-10-15 14:56:30 +10:00
Danilo Margarido fe95392c3e Added the glew.lib sub-targets to the target list 2016-10-15 14:11:12 +10:00
Danilo Margarido 3d9e4808d3 Finer control over glew.lib
Allows building both, shared-only or static-only.
2016-10-15 14:11:12 +10:00
Miguel Vera 5b70131340 Added build note on README
Updated to reflect the concerns on issue #13
2016-10-05 01:32:57 +01:00
Nigel Stewart cdc3aeacde Filter out GL_NONE enum from GL_EGL_KHR_context_flush_control 2016-10-01 10:20:57 +10:00
Nigel Stewart 67e980b532 Merge pull request #101 from dcower/master
Fix wglGetProcAddress-related crash on 64-bit Windows with NOGDI defined
2016-09-01 20:39:07 +10:00
Dillon Cower 2ca0184814 Move #undef NOGDI from wglew_head.h to glew_head.c 2016-08-27 22:59:50 -07:00
Dillon Cower 4a0d48fc7c Fix wglGetProcAddress-related crash on Windows with NOGDI defined 2016-08-27 16:52:16 -07:00
Nigel Stewart 7d72257b0f README.md updates for GLEW 2.0.0 release 2016-07-24 10:41:50 +10:00
Nigel Stewart 55b8951c96 Update documentation for GLEW 2.0.0 release 2016-07-24 10:39:11 +10:00
Nigel Stewart 7dfa567e1d Merge pull request #92 from loufis/master
Fixed an issue on macs
2016-07-11 19:03:01 +10:00
Loufis 47fb0e3d16 Fixed a bug on macs
- Fixed an issue that made compiling glew hang on macs
- Currently using Apple LLVM version 7.0.2 (clang-700.1.81)
- Added .DS_Store files to gitignore
2016-07-11 07:56:34 -07:00
Nigel Stewart 26d8275c61 Sourceforge Patch #67 Fix build failure on OS X < 10.7 2016-07-09 14:23:57 +10:00