Commit Graph

913 Commits

Author SHA1 Message Date
Nigel Stewart
fd152a143b Merge pull request #54 from lanurmi/rc-line-split
Resolve Visual Studio 2012 resource compiler problem also in the other two .rc files.
2015-08-05 09:53:15 +10:00
Lauri Nurmi
816c19c321 For GLEW Bug 201 - Resolve Visual Studio 2012 resource compiler problem also in the other two .rc files.
The resource compiler in VS2012 and newer does not accept excessively long string literals on one line.
2015-08-04 08:58:06 +03:00
Nigel Stewart
ba410e12e2 glxewContextInit fixup - require GLX_ARB_create_context. 2015-07-24 12:16:39 +10:00
Nigel Stewart
d367215cde Windows glewinfo fixup - check for WGL_ARB_create_context 2015-07-24 11:52:16 +10:00
Nigel Stewart
4c009908e2 Windows glewinfo fixup - expose wglewContextInit and wglewIsSupported. 2015-07-24 11:37:01 +10:00
Nigel Stewart
4c40805809 Sourceforge Bug 277 - OpenGL 4.5 glGetnTexImage is missing 2015-07-17 10:53:18 +10:00
Tamas Kenez
67b12efec7 build: cmake-testbuild to work on OS X and with CMake < 3.0 2015-07-12 23:12:36 +02:00
Nigel Stewart
0cbd8f648f Merge pull request #48 from tamaskenez/cmake-config-module-2
cmake: install config-module
2015-06-24 08:24:02 +10:00
Tamas Kenez
d2e6823451 cmake: install config-module
Installs a config module if CMake verion >= 2.8.12.
The config-module creates the import library targets
built in the project (glew, glew_s, glewmx, glewmx_s)
but in accordance with the FindGLEW module shipped with
CMake, it also creates GLEW::GLEW and GLEW::GLEWMX.

GLEW::GLEW and GLEW::GLEWMX will be simply copies of
glew/glewmx or glew_s/glewmx_s. If both versions are
available they alias the shared versions.

The default behaviour can be changed either when installing
or when using the package:

- Set BUILD_SHARED_LIBS to OFF or ON when building and
  installing GLEW. This controls which libraries
  (shared or static) will be installed (and not which
  will be built).
- Set GLEW_USE_STATIC_LIBS to OFF or ON before calling
  `find_package(GLEW CONFIG REQUIRED)` to force
  the config-module to create GLEW::GLEW and GLEWMX
  as aliases to glew/glewmx or glew_s/glewmx_s

The script ./cmake-testbuild.sh is added to test the
CMake build and config-module. See instructions there.
2015-06-22 14:06:50 +02:00
Nigel Stewart
a4a87f9466 Add clang Linux configuraiton. 2015-06-18 21:17:44 +10:00
Nigel Stewart
d932bc3eca Fixup: glxewContextInit now needed for glewinfo purposes. 2015-06-18 20:45:29 +10:00
Nigel Stewart
fda28dbfb0 [CoreSupport] Tab indentation for perl scripts 2015-06-13 19:44:35 +10:00
Nigel Stewart
fc84055808 Merge pull request #43 from nigels-com/glewinfo-core
glewinfo command-line support for GL context version, profile and flags
2015-06-13 10:57:38 +10:00
Nigel Stewart
0c19148d6a glew_utils is no longer used, removing. 2015-06-13 10:36:07 +10:00
Nigel Stewart
0e88d39f4a Leave extraneous #ifdef blocks 2015-06-13 10:18:41 +10:00
Nigel Stewart
49eafff105 Use -ansi -pedantic compilation flags for Linux build. 2015-06-13 10:00:42 +10:00
Nigel Stewart
044b9ff14c Add -ansi -pedantic compilation flags for Mac build, as extra diagnostic information. 2015-06-13 10:00:18 +10:00
Nigel Stewart
9580ab4226 [CoreSupport] Whitespace fixup for make_def_var.pl 2015-06-13 09:59:38 +10:00
Nigel Stewart
e943e3c91c Merge pull request #45 from tamaskenez/cmake-install-headers
cmake: install header files
2015-06-10 19:06:56 +10:00
Tamas Kenez
9b5d29be72 fix previous commit 2015-06-10 10:30:26 +02:00
Tamas Kenez
29a0ac0f47 cmake: install named headers instead of directory 2015-06-10 10:27:28 +02:00
Tamas Kenez
e618ce2efb cmake: install header files 2015-06-09 14:59:57 +02:00
Nigel Stewart
211bf29181 [CoreSupport] glewinfo profiles/flags refinement - commandline profile and flags as strings. 2015-05-29 20:45:19 +10:00
Nigel Stewart
0720521034 [CoreSupport] glewinfo profiles/flags documentation breadcrumbs. 2015-05-29 20:29:08 +10:00
Nigel Stewart
60b0fc5c05 [CoreSupport] Mac OS X support for glewinfo GL version/profiles/flags. 2015-05-29 20:18:22 +10:00
Matthias Bentrup
2d0899283f Extend glewinfo to request specific GL versions/profiles/flags. 2015-05-29 20:18:16 +10:00
Nigel Stewart
7c046e2307 For github pull request #33 - GLEW version in glew.h
Allow for tools to extract the GLEW version from glew.h directly.
No functional change for C API.
See: https://github.com/nigels-com/glew/pull/33/files
2015-03-29 11:43:56 +10:00
Nigel Stewart
06430b007b First try AR, then try LIBTOOL... 2015-03-26 19:52:10 +10:00
Nigel Stewart
1fed499560 Merge pull request #35 from BastiaanOlij/master
Changing over makefiles so LDFLAGS.STATIC is used. Also added makefile.d...
2015-03-26 19:34:41 +10:00
BastiaanOlij
aee8b6ff69 Renamed ARFLAGS.STATIC to simply ARFLAGS 2015-03-26 13:24:03 +11:00
BastiaanOlij
69cbc3532f Changed approach to be slightly more resilient to regression issues 2015-03-23 21:16:49 +11:00
Nigel Stewart
573eeabd8e [Mac] Migrate glewinfo on Mac from AGL to CGL, with the possibility of running in (core) OpenGL 3.2 mode. 2015-03-20 20:23:04 +10:00
Nigel Stewart
cc6695b60c Merge pull request #34 from xantares/master
fix cmake build
2015-03-20 20:15:07 +10:00
BastiaanOlij
0c9ab41431 Changing over makefiles so LDFLAGS.STATIC is used. Also added makefile.darwin-universal for creating a universal static library that can be used properly. 2015-03-15 18:55:29 +11:00
xantares
b565769b01 fix compile definitions for glewmx too 2015-02-26 11:10:12 +00:00
xantares
516c9adf41 set right export definitions for shared/static libs 2015-02-26 11:00:25 +00:00
xantares
9a8e815da8 [cmake] get version from config/version 2015-02-26 10:54:39 +00:00
Nigel Stewart
4fcd4688a5 [cmake] Move cmake build into build/cmake to avoid collision with established GNUmake build system. 2015-02-19 21:45:56 +10:00
Nigel Stewart
40513e0bb4 Merge github pull request #28
https://github.com/nigels-com/glew/pull/28
2015-02-19 21:11:24 +10:00
xantares
ed4fe8ebc4 set project name to glew 2015-02-09 16:06:11 +01:00
xantares
a5f0612349 build static & shared 2015-02-06 09:33:39 +01:00
Nigel Stewart
6722500d95 Merge pull request #27 from stopiccot/fixing_gitattributes
Fixing gitattribute
2015-02-06 13:41:43 +10:00
xantares
b1822129a0 Update CMakeLists.txt
X11 are part of OPENGL_LIBRARIES
2015-02-04 21:45:12 +01:00
xantares
e6cd59d9b5 rewrite cmake infrastructure 2015-02-04 21:27:12 +01:00
stopiccot
40fc2a9823 Fixing gitattribute 2015-01-30 01:34:39 +03:00
Nigel Stewart
9fedd9e053 Bump version to 1.12.0, updated documentation. 2015-01-24 22:45:29 +10:00
Nigel Stewart
138a0b42f4 Update config.guess from http://git.savannah.gnu.org/cgit/config.git/plain/config.guess 2015-01-24 17:38:29 +10:00
Nigel Stewart
b52fa4654d Bump copyright year to 2015 2015-01-24 17:21:59 +10:00
Nigel Stewart
c3e6ce6b61 Sourceforge Bug 253 - CFLAGS for Solaris need PIC specified 2015-01-24 17:08:19 +10:00
Nigel Stewart
e37f6728fe Sourceforge Bug 263 - Fixed include path for pkg-config 2015-01-24 17:03:51 +10:00