Commit Graph

126 Commits

Author SHA1 Message Date
Rashad Kanavath
c690766fc2 CMake: call find_package only if build_utils is enabled 2016-12-23 05:50:13 +01:00
Tan Li Boon
6a38eb3fc5 Resolve issue #99:
- Used cmake regex to strip out the /RTC1 flag used by MSVC debug builds, which conflicts with the -nodefaultlib and -noentry flags.
2016-11-21 20:03:23 +08:00
omniavinco
faf403280c Merge https://github.com/nigels-com/glew.git into master HEAD at Sat May 21 17:44:35 GMT 2016 2016-05-22 02:44:35 +09:00
Nigel Stewart
180db268c0 cmake fixup for non-Windows 2016-05-21 08:07:56 +10:00
omniavinco
c63ddd98f4 Merge https://github.com/nigels-com/glew.git into master HEAD at Sun Apr 3 17:44:19 GMT 2016 2016-04-04 02:44:19 +09:00
Marcel Metz
f3831806e7 Install pdb file for Debug and RelWithDebInfo 2016-04-03 13:12:29 +02:00
omniavinco
ebeeabace8 Merge https://github.com/nigels-com/glew.git into master HEAD at Sat Apr 2 17:44:22 GMT 2016 2016-04-03 02:44:22 +09:00
Marcel Metz
24bcf04c19 CMake: Use GNUInstallDirs variables for MacOSX framework destination 2016-04-02 10:40:42 +02:00
Marcel Metz
6bd1a26375 CMake: Use GNUInstallDirs variables for pkg-config 2016-04-02 10:37:12 +02:00
Marcel Metz
8042db9fa3 CMake: Use GNUInstallDirs to place the build artifacts properly
CMake 2.8.5 added the GNUInstallDirs module, which provides various
variables following the CMAKE_INSTALL_*DIR pattern to allow users a more
flexible installation setup and to provide sensible defaults while
respecting distribution specific install locations like lib64 for RPM
based linux distributions or debian multiarch tuples.
2016-04-02 10:57:37 +10:00
stopiccot
30df027756 CMake support for building OS X framework 2016-03-19 07:30:41 +03:00
omniavinco
ae08241886 Merge https://github.com/nigels-com/glew.git into master HEAD at Fri Feb 19 17:44:14 GMT 2016 2016-02-20 02:44:14 +09:00
Wes Tarro
6c68ad327f Remove standard library dependency from older VS project files as well. 2016-02-15 17:22:07 -05:00
Wes Tarro
2563b1c36a Finish removing MX support from build system 2016-02-15 16:00:49 -05:00
Wes Tarro
9548431bd0 Moved DLL entry-point for GCC into glew.c rather than a standalone file
included using CMake.
2016-02-15 15:15:33 -05:00
Wes Tarro
02fc17f511 Fix warnings and CMake issue. 2016-02-06 13:35:13 -05:00
Wes Tarro
32b2ea5266 Fixed building with GCC - needed different options and had to create a dummy
DLL entry to avoid crashes.
2016-02-06 13:13:04 -05:00
Wes Tarro
31cee87b1c Finish taking C runtime out of GLEW on Windows and remove no longer supported MX configurations from Visual Studio projects. 2016-02-06 10:54:29 -05:00
Wes Tarro
5efdbaefc8 Makes GLEW truly independent of C runtime library on Windows to prevent
any issues with mixing compilers and library versions. The Visual Studio
Projects need some touching up to get all of the settings synced up for all
of the build variants.
2016-02-05 02:53:25 -05:00
omniavinco
0af1837330 Merge https://github.com/nigels-com/glew.git into master HEAD at Fri Jan 8 17:44:20 GMT 2016 2016-01-09 02:44:20 +09:00
Nigel Stewart
9297c604ca For cmake 3.4 - link X11 libs for glewinfo and visualinfo unless not available, or GLEW_OSMESA mode. 2016-01-08 23:25:46 +10:00
omniavinco
8732077f11 Generate Sources of origin/master updated at Sun Dec 6 17:44:38 GMT 2015 2015-12-07 02:44:38 +09:00
omniavinco
9ec6e6c1cd Merge https://github.com/nigels-com/glew.git into master HEAD at Sun Dec 6 17:44:18 GMT 2015 2015-12-07 02:44:18 +09:00
Nigel Stewart
9e66fc86a3 More cmake migrate for removal of MX 2015-12-06 12:49:28 +10:00
Nigel Stewart
a4aa9b2717 Remove MX support due to the complexity of supporting both MX and Core contexts 2015-12-06 12:49:24 +10:00
omniavinco
80726c2df7 Merge https://github.com/nigels-com/glew.git into master HEAD at Tue Nov 17 17:44:14 GMT 2015 2015-11-18 02:44:14 +09:00
Tamas Kenez
66c5229ec2 cmake: allow calling find_package(GLEW) multiple times 2015-11-17 21:27:49 +10:00
omniavinco
bd5d498437 Merge https://github.com/nigels-com/glew.git into master HEAD at Sat Oct 10 17:44:18 GMT 2015 2015-10-11 02:44:18 +09:00
Gyusun Yeom
c5c60068f7 Add ".rc" files to each libraries and executables for Windows build 2015-10-10 11:40:47 +10:00
Nigel Stewart
fd49b2baff Touch-ups for GLEW_OSMESA build support 2015-10-10 11:33:40 +10:00
Nigel Stewart
4718d42dde Regal-mode support for cmake build 2015-10-10 11:22:12 +10:00
omniavinco
d8f945586c Generate Sources of origin/master updated at Mon Aug 10 17:44:57 GMT 2015 2015-08-11 02:44:57 +09:00
omniavinco
1a6229a0bb Generate Sources of origin/master updated at Wed Aug 5 17:44:40 GMT 2015 2015-08-06 02:44:40 +09:00
omniavinco
32051fc50c Merge https://github.com/nigels-com/glew.git into master HEAD at Wed Aug 5 17:44:18 GMT 2015 2015-08-06 02:44:18 +09:00
Nigel Stewart
5ae027a8cd Merge pull request #53 from tamaskenez/master
build: cmake-testbuild to work on OS X and with CMake < 3.0
2015-08-05 10:26:52 +10:00
Nigel Stewart
4b75493364 VC12 - Use .rc files for glewinfo and visualinfo 2015-08-05 10:02:19 +10:00
Tamas Kenez
67b12efec7 build: cmake-testbuild to work on OS X and with CMake < 3.0 2015-07-12 23:12:36 +02:00
Mathieu-Andre Chiasson
26f3c9889d Updated generated source and headers with latest OpenGL registry. 2015-07-11 17:21:37 -04:00
omniavinco
62f1f24c73 Merge https://github.com/nigels-com/glew.git into master HEAD at Wed Jun 24 17:44:11 GMT 2015 2015-06-25 02:44:11 +09: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
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
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
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
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
stopiccot
40fc2a9823 Fixing gitattribute 2015-01-30 01:34:39 +03:00
Gyusun
1dbf20b5b4 Add Generated .rc files 2014-08-17 01:47:15 +09:00
Dāvis
4e9fad1364 Add Visual Studio 2013 project files 2014-07-12 15:18:41 +10:00
Nigel Stewart
9898ca210d Regularize paths in VC10 projects with back slash.
Other tidy-up for Visual Studio quality of life.
2013-07-21 00:52:50 -05:00
Nigel Stewart
e0242aa735 Revamp VC10 projects based on patch from Matias Ghioldi
https://sourceforge.net/p/glew/patches/37/
2013-07-20 22:04:33 -05:00
Nigel Stewart
cad03beb35 For Windows VC builds, share the .rc files moved into build directory. 2012-07-17 22:06:18 -05:00
Nigel Stewart
65ff20ef58 Improvements for VC10 32-bit build. 2012-05-11 19:01:24 -05:00
Nigel Stewart
d75069af96 Initial VC10 projects, imported from VC6. 2012-05-09 17:32:34 -05:00
nigels
45a3e3981a Set DLL base address to 0x62AA0000, rather than defaulting to 0x10000000
git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@569 783a27ee-832a-0410-bc00-9f386506c6dd
2009-12-31 03:35:09 +00:00
ikits
60489035f0 disable crt security complaints
git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@532 783a27ee-832a-0410-bc00-9f386506c6dd
2008-10-27 00:33:54 +00:00
ikits
343ce85251 force CRLF
git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@496 783a27ee-832a-0410-bc00-9f386506c6dd
2007-03-19 02:44:34 +00:00
ikits
1b4338e07a added resource files for win32 versioning
git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@377 783a27ee-832a-0410-bc00-9f386506c6dd
2005-01-30 01:48:06 +00:00
ikits
9146962580 Single file now compiles with VC71. Kept multi-file split for future use.
git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@332 783a27ee-832a-0410-bc00-9f386506c6dd
2005-01-03 07:09:05 +00:00
ikits
661431ee70 Single file now compiles with VC71. Kept multi-file split for future use.
git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@331 783a27ee-832a-0410-bc00-9f386506c6dd
2005-01-03 07:05:38 +00:00
ikits
6e35a3c7a5 fixed problems with mx builds; update project files
git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@320 783a27ee-832a-0410-bc00-9f386506c6dd
2004-12-29 07:24:49 +00:00
ikits
3ca7f1ed7c added MX build targets
git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@317 783a27ee-832a-0410-bc00-9f386506c6dd
2004-12-12 07:45:54 +00:00
ikits
d38f111515 retired wglinfo
git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@291 783a27ee-832a-0410-bc00-9f386506c6dd
2004-09-06 19:51:51 +00:00
ikits
e2884682db retired wglinfo
git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@290 783a27ee-832a-0410-bc00-9f386506c6dd
2004-09-06 19:41:50 +00:00
ikits
031afdf03b removed GLUT dependency
git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@135 783a27ee-832a-0410-bc00-9f386506c6dd
2003-09-26 13:49:28 +00:00
ikits
57143cfa38 *** empty log message ***
git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@105 783a27ee-832a-0410-bc00-9f386506c6dd
2003-07-15 15:40:15 +00:00
mem
2b9775d8d3 Merge Milan's 1.1.x
git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@80 783a27ee-832a-0410-bc00-9f386506c6dd
2003-07-06 15:01:13 +00:00
ikits
cef4389a43 *** empty log message ***
git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@59 783a27ee-832a-0410-bc00-9f386506c6dd
2003-05-02 08:35:19 +00:00
ikits
3d53234c63 *** empty log message ***
git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@51 783a27ee-832a-0410-bc00-9f386506c6dd
2003-05-01 19:35:38 +00:00
ikits
7651ef95c3 *** empty log message ***
git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@50 783a27ee-832a-0410-bc00-9f386506c6dd
2003-05-01 19:26:03 +00:00
ikits
63328225ce *** empty log message ***
git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@49 783a27ee-832a-0410-bc00-9f386506c6dd
2003-05-01 18:55:31 +00:00
ikits
0f7e6ed3a8 *** empty log message ***
git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@47 783a27ee-832a-0410-bc00-9f386506c6dd
2003-05-01 18:42:37 +00:00