build-dependencies-first.sh 411 B

123456789101112131415161718192021
  1. #!/bin/bash
  2. # Builds all dependencies which are no clean CMake projects, so using FetchContent is not possible.
  3. OPTIONS=""
  4. for var in "$@"
  5. do
  6. if [ $var == "release" ]; then
  7. OPTIONS+="release"
  8. fi
  9. if [ $var == "win-cross" ]; then
  10. OPTIONS+="win-cross"
  11. fi
  12. done
  13. thirdparty/qt.sh $OPTIONS
  14. if [ $OPTIONS == "release" ]; then
  15. thirdparty/openscenegraph.sh release
  16. thirdparty/lib3mf.sh release
  17. fi