Build_Mode.sh 372 B

123456789101112131415
  1. #!/bin/bash
  2. clear
  3. #cd ../build
  4. cd ../../build
  5. echo " === Project Build Settings ==="
  6. echo " Choose Build Mode? [Release / Debug]"
  7. read buildmode
  8. echo " Build Emulator? [ON / OFF]"
  9. read emulator
  10. echo " Build Tests? [ON / OFF]"
  11. read tests
  12. echo " =============================="
  13. cmake -DCMAKE_BUILD_TYPE=$buildmode -DBUILD_EMULATOR=$emulator -DBUILD_TESTS=$tests
  14. make -j4