Commit Graph

9 Commits

Author SHA1 Message Date
Nigel Stewart
43a9299230 Initial EGL core and extension support with Python egl.xml spec parser 2016-02-06 12:41:11 +10:00
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
Nigel Stewart
4fcd4688a5 [cmake] Move cmake build into build/cmake to avoid collision with established GNUmake build system. 2015-02-19 21:45:56 +10:00
stopiccot
40fc2a9823 Fixing gitattribute 2015-01-30 01:34:39 +03:00
Nigel Stewart
d32f4278e2 Tidy-up for .gitattributes and update_ext.sh 2014-10-24 21:03:11 +10:00
Frank Park
ff92992cc5 Fixed .gitattributes 2014-10-19 02:07:45 -04:00
Frank Park
e400e097ea Fixed .gitattributes 2014-10-19 02:04:50 -04:00
Frank Park
62f3c733f1 Ignored png and vs projects in gitattributes 2014-10-19 02:03:49 -04:00
Frank Park
a790eb8129 Fixed a bug with shell script and added .gitattributes
Update_ext.sh does not utilize the blacklist correctly with cygwin due
to the argument -name in find is not quoted. Argument *.txt has been
changed to "*.txt" to fix the issue.

Also, it is currently possible for windows users to pull the repo in
CRLF format which destroys the scripts and source files. .gitattributes
were added to prevent this issue.
2014-10-19 01:59:48 -04:00