mirror of
https://github.com/Perlmint/glew-cmake.git
synced 2024-11-27 09:01:57 +00:00
Merge https://github.com/nigels-com/glew.git into master HEAD at Mon Oct 5 17:44:17 GMT 2015
This commit is contained in:
commit
18197fd0ec
20
.travis.yml
20
.travis.yml
@ -1,8 +1,16 @@
|
|||||||
language: cpp
|
language: cpp
|
||||||
compiler:
|
#sudo: false
|
||||||
- clang
|
|
||||||
- gcc
|
|
||||||
install:
|
install:
|
||||||
- sudo apt-get -qq update
|
- sudo apt-get install git dos2unix
|
||||||
- sudo apt-get -qq install -y xorg-dev libglu1-mesa-dev cmake
|
script:
|
||||||
script: cmake . && make
|
- make -C auto clobber
|
||||||
|
- make extensions
|
||||||
|
- make
|
||||||
|
- make dist-src
|
||||||
|
addons:
|
||||||
|
artifacts:
|
||||||
|
bucket: glew
|
||||||
|
s3_region: "us-east-1"
|
||||||
|
paths:
|
||||||
|
- $(ls *.zip *.tgz | tr "\n" ":")
|
||||||
|
- $(find doc -type f | tr "\n" ":")
|
||||||
|
42
README.md
Normal file
42
README.md
Normal file
@ -0,0 +1,42 @@
|
|||||||
|
# GLEW - The OpenGL Extension Wrangler Library
|
||||||
|
|
||||||
|
![](http://glew.sourceforge.net/glew.png)
|
||||||
|
|
||||||
|
http://glew.sourceforge.net/
|
||||||
|
|
||||||
|
https://github.com/nigels-com/glew
|
||||||
|
|
||||||
|
[![Build Status](https://travis-ci.org/nigels-com/glew.svg?branch=master)](https://travis-ci.org/nigels-com/glew)
|
||||||
|
|
||||||
|
## Build
|
||||||
|
|
||||||
|
If you downloaded the tarball or zip archive from the GLEW website,
|
||||||
|
you just need to:
|
||||||
|
|
||||||
|
### Unix
|
||||||
|
|
||||||
|
$ make
|
||||||
|
$ sudo make install
|
||||||
|
$ make clean
|
||||||
|
|
||||||
|
### Windows
|
||||||
|
|
||||||
|
use the project file in build/vc12/
|
||||||
|
|
||||||
|
## Code Generation
|
||||||
|
|
||||||
|
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/
|
||||||
|
|
||||||
|
Travis-built snapshots are also available:
|
||||||
|
|
||||||
|
https://glew.s3.amazonaws.com/index.html
|
34
README.txt
34
README.txt
@ -1,34 +0,0 @@
|
|||||||
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/
|
|
Loading…
Reference in New Issue
Block a user