Build GLFW as a shared lib on Travis

merge-requests/60/head
Yuri Kunde Schlesner 2014-12-13 20:54:25 +07:00
parent 06f31e8b47
commit ea63b1a8c3
1 changed files with 5 additions and 1 deletions

@ -11,7 +11,11 @@ if [ "$TRAVIS_OS_NAME" = linux -o -z "$TRAVIS_OS_NAME" ]; then
( (
git clone https://github.com/glfw/glfw.git --branch 3.0.4 --depth 1 git clone https://github.com/glfw/glfw.git --branch 3.0.4 --depth 1
mkdir glfw/build && cd glfw/build mkdir glfw/build && cd glfw/build
cmake .. && make -j2 && sudo make install cmake -DBUILD_SHARED_LIBS=ON \
-DGLFW_BUILD_EXAMPLES=OFF \
-DGLFW_BUILD_TESTS=OFF \
..
make -j4 && sudo make install
) )
sudo apt-get install lib32stdc++6 sudo apt-get install lib32stdc++6