mirror of
https://github.com/lucaspalomodevelop/meshlab.git
synced 2026-03-13 08:09:39 +00:00
34 lines
668 B
Bash
34 lines
668 B
Bash
#!/bin/bash
|
|
# this is a script shell sets up a Windows environment where
|
|
# MeshLab can be compiled, deployed and packaged.
|
|
#
|
|
# Run this script if you never installed any of the MeshLab dependencies.
|
|
#
|
|
# Requires: choco
|
|
|
|
DONT_INSTALL_QT=false
|
|
|
|
#checking for parameters
|
|
for i in "$@"
|
|
do
|
|
case $i in
|
|
--dont_install_qt)
|
|
DONT_INSTALL_QT=true
|
|
shift # past argument=value
|
|
;;
|
|
*)
|
|
# unknown option
|
|
;;
|
|
esac
|
|
done
|
|
|
|
choco install cmake ninja ccache wget nsis
|
|
|
|
if [ "$DONT_INSTALL_QT" = false ] ; then
|
|
echo "=== installing qt packages..."
|
|
|
|
choco install qt5-default
|
|
else
|
|
echo "=== jumping installation of qt packages..."
|
|
fi
|