Preservation pull mirror of a pinned PrivateServer-RS upstream dependency: https://github.com/Perlmint/glew-cmake.git
  • C 90.5%
  • HTML 2.6%
  • C++ 1.7%
  • Shell 1.5%
  • Perl 1.4%
  • Other 2.3%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-05-19 02:06:01 +00:00
.gitea/workflows gitea workflow refinements - use local mirrors 2026-05-18 20:09:25 +10:00
.github/workflows Fix nightly 2026-03-22 08:42:37 +09:00
auto Linting fixups - no functional change 2026-05-18 20:08:20 +10:00
build Merge https://github.com/nigels-com/glew.git into master HEAD at Tue May 19 02:05:51 GMT 2026 2026-05-19 02:05:51 +00:00
config config.guess update 2026-01-24 09:55:35 +10:00
doc Generate Sources of master updated at Sun Mar 22 01:10:48 GMT 2026 2026-03-22 01:10:48 +00:00
glew-cmake Fix nightly 2026-03-22 08:42:37 +09:00
include/GL Generate Sources of master updated at Mon May 18 02:06:47 GMT 2026 2026-05-18 02:06:47 +00:00
src Generate Sources of master updated at Tue May 19 02:06:01 GMT 2026 2026-05-19 02:06:01 +00:00
.gitattributes Initial EGL core and extension support with Python egl.xml spec parser 2016-02-06 12:41:11 +10:00
.gitignore Added to .gitignore auto-checkout out repos 2023-03-15 22:28:40 +10:00
.lgtm.yml Rename lgtm.yml to hide the file 2020-11-26 20:31:22 +10:00
cmake-testbuild.sh Updated comment in cmake-testbuild.sh 2023-07-16 09:29:54 +10:00
CMakeLists.txt Remove space after if to match formatting in rest of file 2026-01-21 18:28:43 +00:00
GeneratePkgConfig.cmake Fix generate pkg config 2020-12-29 22:55:52 +09:00
glew.pc.in glew.pc.in: make includedir configurable 2026-05-15 08:31:52 +10:00
LICENSE.txt Set eol-style to native for misc headers and text files 2009-10-07 15:36:15 +00:00
Makefile Linting fixups - no functional change 2026-05-18 20:08:20 +10:00
README.md cmake build integration with clang-tidy linter 2026-05-18 20:08:55 +10:00
README_glew.md Merge https://github.com/nigels-com/glew.git into master HEAD at Tue May 19 02:05:51 GMT 2026 2026-05-19 02:05:51 +00:00

GLEW-cmake - nightly pre-generated snapshot with old unofficial cmake support

GLEW is upstream of this project. But GLEW repository does not contain generated sources. Only releases include generated sources.

GLEW-cmake has generated sources based on the latest GLEW. Sources are generated nightly. If you need only the latest snapshot of GLEW, try the build system of GLEW. It is placed under the build directory. Official CMakeLists.txt is placed in build/cmake. Please check README_glew.md for using build system of GLEW.

Also, GLEW-cmake has unofficial cmake support - It is created when the official CMake support of GLEW does not exist. You can see some CMake script examples in glew-cmake directory. But, I strongly recommend using official CMakeLists of GLEW.

Usage

This project provide libglew_static and libglew_shared library targets and glewinfo and visualinfo executable targets.

libglew_static provides a static library, and libglew_shared provides a shared library. glew-cmake does not affected by BUILD_SHARED_LIBS.

You can disable each library target by setting glew-cmake_BUILD_SHARED or glew-cmake_BUILD_STATIC falsy value (ex. NO, FALSE).

If you need only libraries, Please set ONLY_LIBS to ON. Otherwise, cmake generates executable targets also.

You can get pkg-config fils by setting PKG_CONFIG_REPRESENTATIVE_TARGET to libglew_static or libglew_shared.

Simply specify dependency of your target with libglew_static or libglew_shared by target_link_libraries. It will set the additional include directory & the libraries to link to your target.

If you are not familiar with cmake, Some sub-directory-test.cmake, fetch-content.cmake in glew-cmake could be helpful.