File: 0_setup_env.sh

package info (click to toggle)
meshlab 2025.07~dfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 25,136 kB
  • sloc: cpp: 224,482; ansic: 20,973; sh: 1,001; makefile: 31
file content (33 lines) | stat: -rw-r--r-- 668 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#!/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