Build GLFW as a shared lib on Travis

This commit is contained in:
Yuri Kunde Schlesner 2014-12-13 20:54:25 -02:00
parent 06f31e8b47
commit ea63b1a8c3

View File

@ -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