.build.sh 358 B

1234567891011121314151617181920
  1. #!/bin/sh
  2. set -ex
  3. mkdir -p build
  4. # Install libarchive for host
  5. apt-get update
  6. apt-get -y install libarchive-dev
  7. # Install libarchive for 3ds
  8. git clone https://github.com/Cruel/3ds_portlibs.git
  9. cd 3ds_portlibs
  10. make libarchive
  11. make install
  12. cd ../build
  13. cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_EMULATOR=ON -DBUILD_TESTS=ON ..
  14. make -j4
  15. ../bin/freeshop-tests