# CMake
- wget http://www.cmake.org/files/v3.0/cmake-3.0.1.tar.gz -O - | tar xz
- - (cd cmake-3.0.1 && cmake . && make -j 4 && sudo make install)
+ - (cd cmake-3.0.1 && cmake . && make -j5 && sudo make install)
# SDL dependencies
- wget http://libsdl.org/release/SDL2-2.0.3.tar.gz -O - | tar xz
- (cd SDL2-2.0.3 && ./configure --prefix=/usr && make -j5 && sudo make install)
- wget http://www.libsdl.org/projects/SDL_image/release/SDL2_image-2.0.0.tar.gz -O - | tar xz
- - (cd SDL2_image-2.0.0 && ./configure --prefix=/usr && make -j 4 && sudo make install)
+ - (cd SDL2_image-2.0.0 && ./configure --prefix=/usr && make -j5 && sudo make install)
script:
# First a debug build:
- mkdir build-debug
- cd build-debug
- cmake .. -DCMAKE_BUILD_TYPE=Debug -DCHECK_ASSETS=off
-- make VERBOSE=1 -j 4
+- make VERBOSE=1 -j5
# Then a release build:
- cd ..
- mkdir build-release
- cd build-release
- cmake .. -DCMAKE_BUILD_TYPE=Release -DCHECK_ASSETS=off
-- make VERBOSE=1 -j 4
+- make VERBOSE=1 -j5
notifications:
email: