BuildLinux.sh 749 B

123456789101112131415161718192021
  1. #!/bin/bash
  2. # ~/bin/build-polycode
  3. mkdir -p Dependencies/Build/Debug Dependencies/Build/Release Build/Debug Build/Release Standalone/Build
  4. cd Dependencies/Build/Debug
  5. cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Debug ../..
  6. make
  7. cd ../Release
  8. cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release ../..
  9. make
  10. cd ../../../Build/Debug
  11. cmake -G "Unix Makefiles" -DPOLYCODE_BUILD_BINDINGS=ON -DPOLYCODE_BUILD_PLAYER=ON -DCMAKE_BUILD_TYPE=Debug -DPYTHON_EXECUTABLE=/usr/bin/python2 ../..
  12. make
  13. make install
  14. cd ../Release
  15. cmake -G "Unix Makefiles" -DPOLYCODE_BUILD_BINDINGS=ON -DPOLYCODE_BUILD_PLAYER=ON -DCMAKE_BUILD_TYPE=Release -DPYTHON_EXECUTABLE=/usr/bin/python2 ../..
  16. make
  17. make install
  18. cd ../../Standalone/Build
  19. cmake -G "Unix Makefiles"
  20. make install