The OpenGL Extension Wrangler Library
Go to file
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
auto Fixup: glxewContextInit now needed for glewinfo purposes. 2015-06-18 20:45:29 +10:00
build cmake: install config-module 2015-06-22 14:06:50 +02:00
config Add clang Linux configuraiton. 2015-06-18 21:17:44 +10:00
doc Bump version to 1.12.0, updated documentation. 2015-01-24 22:45:29 +10:00
src Eliminate the internal use of CONST_CAST, to avoid gcc warnings with -Wcast-qual flag. 2014-07-14 17:53:21 +10:00
.gitattributes cmake: install config-module 2015-06-22 14:06:50 +02:00
.gitignore cmake: install config-module 2015-06-22 14:06:50 +02:00
cmake-testbuild.sh cmake: install config-module 2015-06-22 14:06:50 +02:00
glew.pc.in Sourceforge Bug 263 - Fixed include path for pkg-config 2015-01-24 17:03:51 +10:00
LICENSE.txt Set eol-style to native for misc headers and text files 2009-10-07 15:36:15 +00:00
Makefile First try AR, then try LIBTOOL... 2015-03-26 19:52:10 +10:00
README.txt Add web links to README.txt 2014-10-14 19:33:04 +10:00
TODO.txt updated todo list 2007-03-21 23:36:26 +00:00

GLEW - The OpenGL Extension Wrangler Library

       http://glew.sourceforge.net/
       https://github.com/nigels-com/glew

See doc/index.html for more information.

If you downloaded the tarball from the GLEW website, you just need to:

    Unix:

        make

        sudo -s

        make install

        make clean

    Windows:

        use the project file in build/vc12/

If you wish to build GLEW from scratch (update the extension data from
the net or add your own extension information), you need a Unix
environment (including wget, perl, and GNU make).  The extension data
is regenerated from the top level source directory with:

        make extensions

An alternative to generating the GLEW sources from scratch is to
download a pre-generated (unsupported) snapshot:

        https://sourceforge.net/projects/glew/files/glew/snapshots/