build32.sh 210 B

1234567891011
  1. #!/bin/sh
  2. rm -rf build32
  3. mkdir build32
  4. cd build32
  5. case `uname -s` in
  6. Darwin) CXX="/usr/bin/c++ -m32" CC="/usr/bin/cc -m32" cmake .. ;;
  7. *) CXX="g++-5.0 -m32" CC="gcc-5.0 -m32" cmake .. ;;
  8. esac
  9. make
  10. cd ..