Commit Graph

1518 Commits

Author SHA1 Message Date
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
Gyusun
a3d0ca0c7f Generate Sources of master updated at Fri Jan 8 00:02:10 GMT 2021 2021-01-08 00:02:11 +00:00
Gyusun Yeom
e009b0fdce Build test with github actions 2021-01-03 15:12:00 +09:00
Gyusun Yeom
a79115599b Modernize cmake 2021-01-03 15:11:28 +09:00
Gyusun Yeom
b7aa06157b Fix generate pkg config 2020-12-29 22:55:52 +09:00
Gyusun Yeom
397f383c53 Fix include directory properly for install 2020-12-29 21:05:28 +09:00
Gyusun Yeom
430a36d2b8 Export cmake config & use proper include directory for install
Close #30

Thanks Lanza<nathan@lanza.io>
2020-12-29 20:56:03 +09:00
Gyusun Yeom
9f3df6c128 Prevent output name collision 2020-12-29 20:56:03 +09:00
Gyusun
a553506b46 Generate Sources of master updated at Tue Dec 29 11:02:40 GMT 2020 2020-12-29 11:02:40 +00:00
Gyusun
04007493ce Merge https://github.com/nigels-com/glew.git into master HEAD at Tue Dec 29 11:02:17 GMT 2020 2020-12-29 11:02:17 +00:00
Gyusun Yeom
980ccfe56d Fix #29 Use proper output directory 2020-12-29 19:56:22 +09:00
Gyusun Yeom
3900ff84b4 Fix #32 Drop support too old cmake version 2020-12-29 19:52:36 +09:00
Gyusun Yeom
669ca8dda9 Fix #31 Handle cmake warning about CMP0072 2020-12-29 19:51:23 +09:00
Christian Rauch
3cdab58d4e fix typo 2020-12-13 23:24:55 +10:00
Nicolas Caramelli
75e3154422 The file include/GL/gl.h generated from OpenGL-Registry uses __gl_gl_h_ 2020-12-04 16:45:04 +10:00
Tim Gates
bfc724c6cc docs: fix simple typo, direcly -> directly
There is a small typo in auto/src/glew_head.c.

Should read `directly` rather than `direcly`.
2020-11-28 10:28:05 +10:00
Alexey Tereshenkov
0b97f2568d Rename lgtm.yml to hide the file 2020-11-26 20:31:22 +10:00
Alexey Tereshenkov
7764128044 Add lgtm.yml configuration file
Allow LGTM.com use the custom configuration to analyze C++ code of the project
2020-11-26 20:31:22 +10:00
Gyusun Yeom
e34677f42b
Merge pull request #28 from hgs3/master
Define GLEW_BUILD only for libglew_shared and not consumer targets.
2020-08-23 14:54:55 +09:00
Gyusun
2785d66dde Generate Sources of master updated at Sun Aug 16 00:01:27 GMT 2020 2020-08-16 00:01:27 +00:00
Gyusun
97419eafab Generate Sources of master updated at Sat Aug 15 00:01:32 GMT 2020 2020-08-15 00:01:32 +00:00
Gyusun
9f109bec6c Generate Sources of master updated at Fri Aug 14 00:01:24 GMT 2020 2020-08-14 00:01:24 +00:00
Gyusun
c87ee50fb5 Generate Sources of master updated at Thu Aug 13 00:04:21 GMT 2020 2020-08-13 00:04:21 +00:00
hgs3
a8b341554f
Mark GLEW_BUILD PRIVATE to not affect consumers using add_subdirectory. 2020-08-11 17:46:31 -05:00