Commit Graph

1245 Commits

Author SHA1 Message Date
Nigel Stewart
0cbd8f648f Merge pull request #48 from tamaskenez/cmake-config-module-2
cmake: install config-module
2015-06-24 08:24:02 +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
omniavinco
97cb936058 Generate Sources of origin/master updated at Thu Jun 18 17:44:24 GMT 2015 2015-06-19 02:44:24 +09:00
omniavinco
4832dfd170 Merge https://github.com/nigels-com/glew.git into master HEAD at Thu Jun 18 17:44:11 GMT 2015 2015-06-19 02:44:11 +09:00
Nigel Stewart
a4a87f9466 Add clang Linux configuraiton. 2015-06-18 21:17:44 +10:00
Nigel Stewart
d932bc3eca Fixup: glxewContextInit now needed for glewinfo purposes. 2015-06-18 20:45:29 +10:00
omniavinco
3a183ac231 Generate Sources of origin/master updated at Sat Jun 13 17:44:26 GMT 2015 2015-06-14 02:44:26 +09:00
omniavinco
f5be4658cb Merge https://github.com/nigels-com/glew.git into master HEAD at Sat Jun 13 17:44:11 GMT 2015 2015-06-14 02:44:12 +09:00
Nigel Stewart
fda28dbfb0 [CoreSupport] Tab indentation for perl scripts 2015-06-13 19:44:35 +10:00
Nigel Stewart
fc84055808 Merge pull request #43 from nigels-com/glewinfo-core
glewinfo command-line support for GL context version, profile and flags
2015-06-13 10:57:38 +10:00
Nigel Stewart
0c19148d6a glew_utils is no longer used, removing. 2015-06-13 10:36:07 +10:00
Nigel Stewart
0e88d39f4a Leave extraneous #ifdef blocks 2015-06-13 10:18:41 +10:00
Nigel Stewart
49eafff105 Use -ansi -pedantic compilation flags for Linux build. 2015-06-13 10:00:42 +10:00
Nigel Stewart
044b9ff14c Add -ansi -pedantic compilation flags for Mac build, as extra diagnostic information. 2015-06-13 10:00:18 +10:00
Nigel Stewart
9580ab4226 [CoreSupport] Whitespace fixup for make_def_var.pl 2015-06-13 09:59:38 +10:00
omniavinco
88132fdb08 Merge https://github.com/nigels-com/glew.git into master HEAD at Wed Jun 10 17:44:11 GMT 2015 2015-06-11 02:44:11 +09:00
Nigel Stewart
e943e3c91c Merge pull request #45 from tamaskenez/cmake-install-headers
cmake: install header files
2015-06-10 19:06:56 +10:00
Tamas Kenez
9b5d29be72 fix previous commit 2015-06-10 10:30:26 +02:00
Tamas Kenez
29a0ac0f47 cmake: install named headers instead of directory 2015-06-10 10:27:28 +02:00
Tamas Kenez
e618ce2efb cmake: install header files 2015-06-09 14:59:57 +02:00
Nigel Stewart
211bf29181 [CoreSupport] glewinfo profiles/flags refinement - commandline profile and flags as strings. 2015-05-29 20:45:19 +10:00
Nigel Stewart
0720521034 [CoreSupport] glewinfo profiles/flags documentation breadcrumbs. 2015-05-29 20:29:08 +10:00
Nigel Stewart
60b0fc5c05 [CoreSupport] Mac OS X support for glewinfo GL version/profiles/flags. 2015-05-29 20:18:22 +10:00
Matthias Bentrup
2d0899283f Extend glewinfo to request specific GL versions/profiles/flags. 2015-05-29 20:18:16 +10:00
omniavinco
2afabc5e36 Generate Sources of origin/master updated at Sun May 10 17:44:25 GMT 2015 2015-05-11 02:44:25 +09:00
Gyusun Yeom
cfcfbb5e6b Merge pull request #9 from andystanton/feature/add-travis-ci
Add Travis CI support
2015-04-27 17:00:03 +09:00
Andy Stanton
dc27f8e2fe Add travis.yml.
Add gcc and clang. Override script to prevent "make test" running
2015-04-27 08:33:15 +01:00
omniavinco
8019ddef45 Merge https://github.com/nigels-com/glew.git into master HEAD at Mon Mar 30 17:44:15 GMT 2015 2015-03-31 02:44:16 +09:00
Nigel Stewart
7c046e2307 For github pull request #33 - GLEW version in glew.h
Allow for tools to extract the GLEW version from glew.h directly.
No functional change for C API.
See: https://github.com/nigels-com/glew/pull/33/files
2015-03-29 11:43:56 +10:00
omniavinco
77a8c11b80 Merge https://github.com/nigels-com/glew.git into master HEAD at Thu Mar 26 17:44:12 GMT 2015 2015-03-27 02:44:12 +09:00
Nigel Stewart
06430b007b First try AR, then try LIBTOOL... 2015-03-26 19:52:10 +10:00
Nigel Stewart
1fed499560 Merge pull request #35 from BastiaanOlij/master
Changing over makefiles so LDFLAGS.STATIC is used. Also added makefile.d...
2015-03-26 19:34:41 +10:00
BastiaanOlij
aee8b6ff69 Renamed ARFLAGS.STATIC to simply ARFLAGS 2015-03-26 13:24:03 +11:00
BastiaanOlij
69cbc3532f Changed approach to be slightly more resilient to regression issues 2015-03-23 21:16:49 +11:00
omniavinco
69e31e274f Merge https://github.com/nigels-com/glew.git into master HEAD at Fri Mar 20 17:44:12 GMT 2015 2015-03-21 02:44:12 +09:00
Nigel Stewart
573eeabd8e [Mac] Migrate glewinfo on Mac from AGL to CGL, with the possibility of running in (core) OpenGL 3.2 mode. 2015-03-20 20:23:04 +10:00
Nigel Stewart
cc6695b60c Merge pull request #34 from xantares/master
fix cmake build
2015-03-20 20:15:07 +10:00
BastiaanOlij
0c9ab41431 Changing over makefiles so LDFLAGS.STATIC is used. Also added makefile.darwin-universal for creating a universal static library that can be used properly. 2015-03-15 18:55:29 +11:00
omniavinco
1c7e8c529b Generate Sources of origin/master updated at Sat Feb 28 00:32:40 GMT 2015 2015-02-28 09:32:40 +09:00
omniavinco
0beff1381f Merge https://github.com/nigels-com/glew.git into master HEAD at Sat Feb 28 00:32:24 GMT 2015 2015-02-28 09:32:24 +09:00
xantares
b565769b01 fix compile definitions for glewmx too 2015-02-26 11:10:12 +00:00
xantares
516c9adf41 set right export definitions for shared/static libs 2015-02-26 11:00:25 +00:00
xantares
9a8e815da8 [cmake] get version from config/version 2015-02-26 10:54:39 +00: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
Nigel Stewart
40513e0bb4 Merge github pull request #28
https://github.com/nigels-com/glew/pull/28
2015-02-19 21:11:24 +10:00
xantares
ed4fe8ebc4 set project name to glew 2015-02-09 16:06:11 +01:00
xantares
a5f0612349 build static & shared 2015-02-06 09:33:39 +01:00
Nigel Stewart
6722500d95 Merge pull request #27 from stopiccot/fixing_gitattributes
Fixing gitattribute
2015-02-06 13:41:43 +10:00
xantares
b1822129a0 Update CMakeLists.txt
X11 are part of OPENGL_LIBRARIES
2015-02-04 21:45:12 +01:00
xantares
e6cd59d9b5 rewrite cmake infrastructure 2015-02-04 21:27:12 +01:00