Bladeren bron

glbinding in Readme and Travis scripts

Thomas Buck 9 jaren geleden
bovenliggende
commit
1deefb6aaf
3 gewijzigde bestanden met toevoegingen van 13 en 1 verwijderingen
  1. 5
    0
      README.md
  2. 7
    0
      cmake/travis_install_linux.sh
  3. 1
    1
      cmake/travis_install_mac.sh

+ 5
- 0
README.md Bestand weergeven

@@ -16,6 +16,7 @@ Visit the IRC Channel `#OpenRaider` on `chat.freenode.net` ([Webchat](http://web
16 16
 * [OpenGL](https://www.opengl.org) (3.3 Core Profile compatible)
17 17
 * [cmake](http://www.cmake.org) (>= 2.8.8)
18 18
 * [GLM](http://glm.g-truc.net) (>= 0.9.6)
19
+* [glbinding](https://github.com/hpicgs/glbinding)
19 20
 * [SDL2](http://www.libsdl.org) or [GLFW](http://www.glfw.org)
20 21
 * [OpenAL](http://www.openal.org) & [ALUT](https://github.com/vancegroup/freealut) (optional, needed for sound output)
21 22
 
@@ -23,6 +24,10 @@ Mac OS X with XCode and [MacPorts](http://www.macports.org) installed (or replac
23 24
 
24 25
     sudo port install cmake glm libsdl2
25 26
 
27
+Unfortunately, glbinding is not available as binary. But it can be built and installed from source easily. To create a distributable Bundle with glbinding in the default location, do this before running `make install`:
28
+
29
+    sudo install_name_tool -id /usr/local/lib/libglbinding.dylib /usr/local/lib/libglbinding.dylib
30
+
26 31
 ## Building
27 32
 
28 33
 The basic steps needed to build and run OpenRaider:

+ 7
- 0
cmake/travis_install_linux.sh Bestand weergeven

@@ -7,3 +7,10 @@ if [ "$CXX" = "g++" ]; then sudo apt-get install g++-4.8; fi
7 7
 
8 8
 if [ "$CXX" = "clang++" ]; then sudo apt-get install --allow-unauthenticated clang-3.5; fi
9 9
 
10
+git clone https://github.com/hpicgs/glbinding.git
11
+cd glbinding
12
+cmake .
13
+make -j4
14
+sudo make install
15
+cd ..
16
+

+ 1
- 1
cmake/travis_install_mac.sh Bestand weergeven

@@ -1,4 +1,4 @@
1 1
 #!/bin/bash
2 2
 
3
-brew install sdl2 sdl2_ttf freealut glm
3
+brew install sdl2 sdl2_ttf freealut glm glbinding
4 4
 

Laden…
Annuleren
Opslaan