Commit Graph

1157 Commits

Author SHA1 Message Date
Nigel Stewart
f1a40e2fea Direct linking of glGetString and glGetIntegerv is necessary for Windows/WGL 2016-04-02 13:27:32 +10:00
Marcel Metz
8042db9fa3 CMake: Use GNUInstallDirs to place the build artifacts properly
CMake 2.8.5 added the GNUInstallDirs module, which provides various
variables following the CMAKE_INSTALL_*DIR pattern to allow users a more
flexible installation setup and to provide sensible defaults while
respecting distribution specific install locations like lib64 for RPM
based linux distributions or debian multiarch tuples.
2016-04-02 10:57:37 +10:00
stopiccot
30df027756 CMake support for building OS X framework 2016-03-19 07:30:41 +03:00
Nigel Stewart
c4bade8726 Resolve some gcc compilation warnings 2016-02-19 22:30:48 +10:00
Nigel Stewart
f4d58a657a LDFLAGS.EXTRA += -nostdlib seems problematic for SYSTEM=linux-mingw32, linux-mingw64 2016-02-19 22:24:12 +10:00
Nigel Stewart
a9f5ec3e21 Put CFLAGS -fno-builtin and LDFLAGS -nostdlib seperate to CC and LD variables 2016-02-19 22:09:15 +10:00
Wes Tarro
6c68ad327f Remove standard library dependency from older VS project files as well. 2016-02-15 17:22:07 -05:00
Wes Tarro
2563b1c36a Finish removing MX support from build system 2016-02-15 16:00:49 -05:00
Wes Tarro
e6a74a7487 Add windows build updates to Makefile builds. 2016-02-15 15:29:06 -05:00
Wes Tarro
9548431bd0 Moved DLL entry-point for GCC into glew.c rather than a standalone file
included using CMake.
2016-02-15 15:15:33 -05:00
Wes Tarro
02fc17f511 Fix warnings and CMake issue. 2016-02-06 13:35:13 -05:00
Wes Tarro
32b2ea5266 Fixed building with GCC - needed different options and had to create a dummy
DLL entry to avoid crashes.
2016-02-06 13:13:04 -05:00
Wes Tarro
969faeafdf Merge branch 'master' of https://github.com/nigels-com/glew 2016-02-06 11:01:02 -05:00
Wes Tarro
31cee87b1c Finish taking C runtime out of GLEW on Windows and remove no longer supported MX configurations from Visual Studio projects. 2016-02-06 10:54:29 -05:00
Nigel Stewart
281e38de7d PYTHON make variable for using python2, optionally 2016-02-06 13:12:27 +10:00
Nigel Stewart
a7ea1dc3a3 Documentation refresh 2016-02-06 12:53:49 +10:00
Nigel Stewart
a288050b57 EGL glewinfo now working for both Nvidia and Mesa implementations 2016-02-06 12:41:20 +10:00
Nigel Stewart
23438663d6 For EGL purpose avoid using linked glGetString, load it via eglGetProcAddress instead. 2016-02-06 12:41:19 +10:00
Nigel Stewart
4d9010864e eglewInit takes EGLDisplay parameter, will do eglIntialize internally, for now 2016-02-06 12:41:18 +10:00
Nigel Stewart
15881f0421 EGL fixup for void parameter lists, additional defines 2016-02-06 12:41:17 +10:00
Nigel Stewart
a755351991 EGL fix: eglewInit and glewinfo need to manually load some EGL functions 2016-02-06 12:41:16 +10:00
Nigel Stewart
84b733d9bb EGL refinements and fixes 2016-02-06 12:41:15 +10:00
Nigel Stewart
20908a2182 Integrate the XML -> EGL specs step 2016-02-06 12:41:14 +10:00
Nigel Stewart
97bba61a10 Add GLEW_EGL builds to Travis 2016-02-06 12:41:13 +10:00
Nigel Stewart
c3ea366c9d Add SYSTEM=Linux-clang-egl config 2016-02-06 12:41:12 +10:00
Nigel Stewart
43a9299230 Initial EGL core and extension support with Python egl.xml spec parser 2016-02-06 12:41:11 +10:00
Nigel Stewart
5a6171078b GLEW EGL support touch-ups 2016-02-06 12:41:10 +10:00
Nigel Stewart
f4abb657b3 GLEW_EGL mode for loading functions via eglGetProcAddress 2016-02-06 12:41:09 +10:00
Nigel Stewart
4ee89ccb39 Build fix for GLEW_VAR_EXPORT, GLEW_FUN_EXPORT 2016-02-06 12:35:05 +10:00
Nigel Stewart
fe41bc3bdd Remove more #ifdef for GLEW_MX 2016-02-06 12:23:56 +10:00
Nigel Stewart
69b73ea446 Allow customisation of GLEW_GET_VAR, GLEW_GET_FUN 2016-02-06 12:19:47 +10:00
Nigel Stewart
c45763d790 Add make toolchains for msys, msys-win32 and msys-win64 2016-02-06 06:46:18 +10:00
Nigel Stewart
f65df11fa7 GNU make MSYS2 toolchain configuration added 2016-02-05 22:34:16 +10:00
Nigel Stewart
107c23d970 Update config.guess from upstream 2016-02-05 22:32:22 +10:00
Wes Tarro
5efdbaefc8 Makes GLEW truly independent of C runtime library on Windows to prevent
any issues with mixing compilers and library versions. The Visual Studio
Projects need some touching up to get all of the settings synced up for all
of the build variants.
2016-02-05 02:53:25 -05:00
Nigel Stewart
b3440c0979 Add SYSTEM=mingw-win32 configuration for 32-bit MinGW variant 2016-02-04 22:33:41 +10:00
Nigel Stewart
e82b76f719 README.md fixup 2016-01-31 14:55:39 +10:00
Nigel Stewart
0479706419 Fresh snapshot available for download - GLEW 2.0 release candidate 2016-01-31 14:54:29 +10:00
Nigel Stewart
6b8a2ab326 Add Travis-Cl logo to GLEW pages, clicks through to GLEW builds 2016-01-31 14:41:24 +10:00
Nigel Stewart
954b1d5947 Migrating more website information to README.md 2016-01-31 13:57:29 +10:00
Nigel Stewart
9ef6bfb7a6 Add gitter chat room link to README.md 2016-01-10 22:15:34 +10:00
Nigel Stewart
9297c604ca For cmake 3.4 - link X11 libs for glewinfo and visualinfo unless not available, or GLEW_OSMESA mode. 2016-01-08 23:25:46 +10:00
Nigel Stewart
5811916f32 Update .gitignore for cmake generated .rc files in build/ 2016-01-08 22:58:42 +10:00
Nigel Stewart
860af9f379 Fix regression with aliased extension detection, in second pass of make_list 2016-01-08 20:48:29 +10:00
Nigel Stewart
9617f35263 Fix regression in _glewExtensionCompare due to strcmp migration 2016-01-07 23:02:50 +10:00
Nigel Stewart
18ef5d021b Disable _glewSearchExtension for GLEW_OSMESA mode, it's not needed 2016-01-07 22:21:30 +10:00
Nigel Stewart
b5e16ca938 Disable stack protector for Linux builds, to avoid runtime dependency 2016-01-07 22:07:00 +10:00
Nigel Stewart
a2a4d937bf Eliminate strcmp dependency, introduced recently 2016-01-07 21:58:20 +10:00
Nigel Stewart
d96c978748 Eliminate malloc and free dependencies, recently introduced 2016-01-07 21:45:08 +10:00
Icy Defiance
b1c272b93a Replace int with ptrdiff_t to store the result of pointer subtraction 2016-01-06 19:39:48 -05:00