linux..script.sh 277 B

123456789101112131415161718
  1. #!/usr/bin/env bash
  2. mkdir build
  3. cd build
  4. if [ $QT5 ]; then
  5. unset QTDIR QT_PLUGIN_PATH LD_LIBRARY_PATH
  6. source /opt/qt59/bin/qt59-env.sh
  7. fi
  8. cmake -DCMAKE_INSTALL_PREFIX=../target/ -DUSE_WERROR=ON $CMAKE_FLAGS ..
  9. make -j4
  10. make tests
  11. ./tests/tests
  12. make install
  13. make appimage