2014-04-25 22:02:13 +05:30
|
|
|
language: cpp
|
|
|
|
compiler:
|
|
|
|
- gcc
|
|
|
|
before_install:
|
2014-04-25 22:13:11 +05:30
|
|
|
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
|
2014-04-25 22:02:13 +05:30
|
|
|
- sudo apt-get -qq update
|
2014-05-01 08:21:36 +05:30
|
|
|
- sudo apt-get -qq install g++-4.8 xorg-dev libglu1-mesa-dev libglew-dev libxcursor-dev libglew-dev
|
2014-04-25 22:02:13 +05:30
|
|
|
- sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-4.8 90
|
|
|
|
- git clone https://github.com/glfw/glfw.git
|
2014-04-25 22:22:01 +05:30
|
|
|
- "mkdir glfw/build && cd glfw/build && cmake .. && make && sudo make install ; cd -"
|
2014-04-25 22:02:13 +05:30
|
|
|
script:
|
2014-04-25 22:22:01 +05:30
|
|
|
- mkdir build && cd build
|
|
|
|
- cmake ..
|
2014-05-01 08:21:36 +05:30
|
|
|
- make -j4
|