Commit Graph

1491 Commits

Author SHA1 Message Date
Nigel Stewart
037635a192 Disable stripping in debug-mode builds 2021-10-05 08:29:14 +10:00
Nigel Stewart
9e6361b357 visualinfo: EGL not supported yet, error out more clearly
Also, remove GLEW_MX support from visualinfo
2021-10-05 08:28:49 +10:00
Nigel Stewart
247baa9e20 For SYSTEM linux-mingw32 and linux-mingw64 default GLEW_DEST more appropriately 2021-10-05 08:28:12 +10:00
Nigel Stewart
d7693eea09 Makefile: don't strip in install step
As discussed in Issue #310 stripping the binaries is
done by the link targets, not needed for the install step.
Along the lines of a Yocto batch by Ross Burton <ross.burton@intel.com>
2021-10-05 08:27:27 +10:00
Gyusun
ce3818d22f Generate Sources of master updated at Sun Aug 29 00:01:57 GMT 2021 2021-08-29 00:01:57 +00:00
Gyusun
b7931abd0c Merge https://github.com/nigels-com/glew.git into master HEAD at Sun Aug 29 00:01:37 GMT 2021 2021-08-29 00:01:37 +00:00
Nigel Stewart
715afa0ff5 Extend GLEW API to support glewContextInit - GL without implied GLX, WGL, EGL initialisation 2021-08-29 09:11:11 +10:00
Nigel Stewart
ea2076658a glewGetErrorString for GLEW_ERROR_NO_GLX_DISPLAY (added in 2016) 2021-08-29 09:10:04 +10:00
Gyusun
7c5c9d5f6b Generate Sources of master updated at Tue Aug 24 00:01:50 GMT 2021 2021-08-24 00:01:50 +00:00
Gyusun
b832da25bc Generate Sources of master updated at Sun Aug 22 12:29:55 GMT 2021 2021-08-22 12:29:55 +00:00
Gyusun
538b2e8d3f Merge https://github.com/nigels-com/glew.git into master HEAD at Sun Aug 22 12:29:34 GMT 2021 2021-08-22 12:29:34 +00:00
Ross Burton
767e031645 Fix build race in Makefile
The current rule for the binaries is:

glew.bin: glew.lib bin bin/$(GLEWINFO.BIN) bin/$(VISUALINFO.BIN)

In parallel builds, all of those targets happen at the same time. This
means that 'bin' can happen *after* 'bin/$(GLEWINFO.BIN)', which is a
problem as the 'bin' target's responsibility is to create the directory
that the other target writes into.

Solve this by not having a separate 'create directory' target which is
fundamentally racy, and simply mkdir in each target which writes into it.
2021-07-23 18:21:23 +10:00
Ross Burton
679a3b17fa Install to /usr/local by default when using Makefiles
Software should install to /usr/local by default, as /usr is for the
operating system managed libraries.

Closes #52.
2021-07-23 18:21:23 +10:00
Gyusun
883e35a3d4 Generate Sources of master updated at Thu May 13 00:02:02 GMT 2021 2021-05-13 00:02:02 +00:00
Gyusun
4d6020be39 Generate Sources of master updated at Tue Apr 27 00:01:56 GMT 2021 2021-04-27 00:01:56 +00:00
Gyusun
d452fb8c39 Generate Sources of master updated at Wed Apr 21 00:01:55 GMT 2021 2021-04-21 00:01:55 +00:00
Gyusun
01420c19a9 Generate Sources of master updated at Sat Apr 3 00:01:48 GMT 2021 2021-04-03 00:01:48 +00:00
Gyusun Yeom
a8ef112236
Merge pull request #45 from Perlmint/fix/mingw 2021-03-24 23:00:34 +09:00
Gyusun
8824bc1146 Merge https://github.com/nigels-com/glew.git into master HEAD at Mon Mar 22 00:01:25 GMT 2021 2021-03-22 00:01:25 +00:00
Daniel Bernar
80e061f85d Add ability to change output dirs
https://github.com/nigels-com/glew/issues/264
2021-03-21 12:41:32 +10:00
Julien Schueller
2b50f4acd2 CMake: Prefer GLVND if available 2021-03-21 12:41:04 +10:00
Julien Schueller
2b16160853 CMake: Add BUILD_SHARED_LIBS option 2021-03-21 12:41:04 +10:00
Julien Schueller
e34bb212f6 CMake: Add X11/EGL options 2021-03-21 12:41:04 +10:00
Gyusun Yeom
c7dc7efe4e
Merge pull request #43 from tobybell/master
Silence warning for policy CMP0042
2021-03-10 14:41:28 +09:00
Toby Bell
e2b4a36751 Silence warning for policy CMP0042
CMake policy CMP0042 affects whether @rpath is used in the install path for
dynamic libraries on macOS. It was introduced in CMake 3.0. If the policy is
not explicitly set, CMake uses OLD behavior and emits a warning.

This commit explicitly sets NEW behavior in order to silence the warning and
adopt the preferred behavior by CMake. This uses @rpath instead of @loader_path
in install names.

Documentation for policy CMP0042:

https://cmake.org/cmake/help/latest/policy/CMP0042.html
2021-03-05 18:49:38 -08:00
Gyusun Yeom
547fc11b29
Run github actions on PR (#46) 2021-03-06 10:36:34 +09:00
Gyusun Yeom
f61e323584 Build test with mingw 2021-03-05 22:37:01 +09:00
Gyusun Yeom
78f10dd0e0 Fix shared library build for mingw 2021-03-05 22:37:01 +09:00
Gyusun Yeom
f1c0b06b1b
Merge pull request #42 from Perlmint/fix-for-old-cmake
Fix errors in cmake
2021-02-10 09:52:53 +09:00
Gyusun Yeom
af5eac1089 Test with old cmake, Windows & macOS 2021-02-09 21:35:31 +09:00
Gyusun Yeom
e983f5e0ee [Fix #38] [Fix #41] Fix install symbolic link 2021-02-09 21:31:26 +09:00
Gyusun Yeom
5cc3b4b8a8 [Fix #39] Fix CMP0048 issue 2021-02-09 21:31:25 +09:00
Gyusun Yeom
67ff18e2ee [Fix #40] Fix non-GLVND, non-namespaced package 2021-02-09 21:31:25 +09:00
Gyusun Yeom
0be1dc6b89
Merge pull request #37 from Perlmint/feature/install_symbolic_link 2021-02-06 22:11:39 +09:00
Gyusun Yeom
81b97ab31e Use POST_BUILD script 2021-02-06 16:04:38 +09:00
Gyusun Yeom
c4936e08b7 Install libGLEW symbolic links 2021-02-04 22:10:43 +09:00
Gyusun
7d525405e6 Generate Sources of master updated at Thu Jan 28 00:01:46 GMT 2021 2021-01-28 00:01:46 +00:00
Gyusun Yeom
10f2e41b97 Fix release - add config/version 2021-01-17 15:43:02 +09:00
Gyusun Yeom
b78f12e465 Add GeneratePkgConfig.cmake for tags 2021-01-16 22:22:16 +09:00
Gyusun
a1e2e3deab Generate Sources of master updated at Mon Jan 11 00:02:39 GMT 2021 2021-01-11 00:02:39 +00:00
Gyusun
f4165c28eb Merge https://github.com/nigels-com/glew.git into master HEAD at Mon Jan 11 00:02:16 GMT 2021 2021-01-11 00:02:16 +00:00
Xavier Bonaventura
fb0f210598 Use os.path.join to create paths
Paths should be created using os.path.join with this way is platform
independent.
2021-01-10 21:40:05 +10:00
Nigel Stewart
749aec8b9b Documentation refresh for GLEW 2.2.0, downloads from github 2021-01-10 12:23:57 +10:00
Danilo Spinella
95329dc4a6 GLEW_EGL: Fix EGL library check 2021-01-10 12:07:23 +10:00
Nigel Stewart
8c88a0858f EGLEW: Wayland wl_buffer declaration for WL_bind_wayland_display 2021-01-10 11:52:31 +10:00
Nigel Stewart
d68cb03149 EGLEW: Wayland wl_display and wl_resource declarations for WL_bind_wayland_display 2021-01-10 11:50:29 +10:00
Nigel Stewart
5b5685e39a README.md: Updates for GLEW 2.2.0 release, downloads via github 2021-01-10 11:42:18 +10:00
Nigel Stewart
0fa5d11024 Fixup: Install eglew.h too 2021-01-10 11:13:09 +10:00
Xavier Bonaventura
107ab7f6e9 Use list comprehension instead of extending the collection 2021-01-10 11:09:37 +10:00
Xavier Bonaventura
4e5fe20519 Use context manager instead of raw open
Raw open should be avoided to prevent that in case of an exception
the file is not closed.
This also has the advantage that if the user forgets to call close
the file is still closed.
2021-01-10 11:08:48 +10:00