compile_external.sh 525 B

1234567891011121314151617181920212223
  1. #!/bin/bash
  2. git clone git@github.com:libigl/libigl.git
  3. cd libigl/
  4. make -C external/AntTweakBar/src -f Makefile.osx.igl
  5. make -C external/yimg
  6. make -C external/medit/libmesh
  7. make -C external/medit/ -f Makefile.igl medit
  8. cd external/tetgen
  9. make clean
  10. mkdir obj
  11. make -f Makefile.igl tetgen
  12. rm -f obj/*.o
  13. make -f Makefile.igl tetlib
  14. mkdir -p ../embree/build
  15. cd ../embree/build
  16. cmake .. -DCMAKE_C_COMPILER=/opt/local/bin/gcc -DCMAKE_CXX_COMPILER=/opt/local/bin/g++
  17. make
  18. cd ../../tinyxml2
  19. cmake .
  20. make
  21. cd ../../
  22. make -j12
  23. make -j12