Open Source Tomb Raider Engine
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

travis_install_linux.sh 883B

123456789101112131415161718192021222324
  1. #!/bin/bash
  2. sudo apt-get -qq -y install libsdl2-dev libsdl2-ttf-dev libalut-dev libpng12-dev cmake
  3. if [ "$CC" = "gcc" ]; then sudo apt-get install gcc-4.8; fi
  4. if [ "$CXX" = "g++" ]; then sudo apt-get install g++-4.8; fi
  5. if [ "$CXX" = "clang++" ]; then sudo apt-get -y install --allow-unauthenticated clang-3.5; fi
  6. wget 'http://downloads.sourceforge.net/project/ogl-math/glm-0.9.6.3/glm-0.9.6.3.zip'
  7. unzip glm-0.9.6.3.zip
  8. sudo cp -R glm/glm /usr/local/include/glm
  9. if [ "$CXX" = "clang++" ]; then
  10. export CXXFLAGS="-stdlib=libc++"
  11. svn co --quiet http://llvm.org/svn/llvm-project/libcxx/trunk libcxx
  12. cd libcxx/lib && bash buildit
  13. sudo cp ./libc++.so.1.0 /usr/lib/
  14. sudo mkdir /usr/include/c++/v1
  15. cd .. && sudo cp -r include/* /usr/include/c++/v1/
  16. cd /usr/lib && sudo ln -sf libc++.so.1.0 libc++.so
  17. sudo ln -sf libc++.so.1.0 libc++.so.1 && cd $cwd
  18. fi