build-dependencies-first.sh 445 B

12345678910111213141516171819202122
  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. thirdparty/stl_reader.sh $OPTIONS
  15. if [ $OPTIONS == "release" ]; then
  16. thirdparty/openscenegraph.sh release
  17. thirdparty/lib3mf.sh release
  18. fi